[comp.unix.xenix] infinite spill

root@mjbtn.UUCP (Mark J. Bailey) (08/01/88)

I know that this has been discussed here before, and I am guilty of 'n'ing
over it with vnews way back when.  Well, it finally happened to me.

I was trying to compile Mush 6.3 on my SCO Xenix 2.2.2 (386) system the
other day, and I ran into:

hdrs.c(452) : Compiler error (internal):infinite spill

I was hoping that those of you who remember the postings a month or
so ago on this very subject might be able to tell how to get around
it.  First off, what is it?  And second, can I set a compile option
to correct it.  I checked out line 452 in hdrs.c and it was just in
the middle of a while loop.  Nothing special.

Any help would be greatly appreciated!

Thanks in advance,

Mark.

-- 
Mark J. Bailey                                    "Y'all com bak naw, ya hear!"
USMAIL: 511 Memorial Blvd., Murfreesboro, TN 37130 ___________________________
VOICE:  +1 615 893 4450 / +1 615 896 4153          |         JobSoft
UUCP:   ...!{ames,mit-eddie}!killer!mjbtn!root     | Design & Development Co.
FIDO:   Mark Bailey at Net/Node 1:116/12           |  Murfreesboro, TN  USA

root@mjbtn.UUCP (Mark J. Bailey) (08/01/88)

I forgot to add that email responses to my posting on inifinite spill
would be fine.

Thanks.

Mark.

-- 
Mark J. Bailey                                    "Y'all com bak naw, ya hear!"
USMAIL: 511 Memorial Blvd., Murfreesboro, TN 37130 ___________________________
VOICE:  +1 615 893 4450 / +1 615 896 4153          |         JobSoft
UUCP:   ...!{ames,mit-eddie}!killer!mjbtn!root     | Design & Development Co.
FIDO:   Mark Bailey at Net/Node 1:116/12           |  Murfreesboro, TN  USA

john@jetson.UUCP (John Owens) (08/01/88)

For some reason, the expression on that line is too complex for the
386 compiler....  I just split it up by trial and error until I found
one that worked (and wasn't ridiculous).  Here's the diff to hdrs.c

450a451
> 		    register int temp;
452c453,454
< 		    if (strlen(p2) + isauthor*4 < pad) {
---
> 		    temp = strlen(p2);
> 		    if (temp + isauthor*4 < pad) {

-- 
John Owens		john@jetson.UPMA.MD.US
SMART HOUSE		uunet!jetson!john		(old uucp)
+1 301 249 6000		john%jetson.uucp@uunet.uu.net	(old internet)