[comp.unix.xenix] infinite spill bites again!

root@libove.UUCP (The Super User) (06/13/88)

Well, the infamous SCO Xenix 2.1.4g development system INFINITE SPILL
bug has bitten again...

I got the posting of gnuchess version 2, with its unbelieavbly (and
rather stupidly I think) huge gnuchess.c module... and after correcting
(er, ah, simplifying) a few expressions on the first 1500 lines or so,
the compiler chugs its way through to 1654 where is gets another
infinite spill error on the statement:

atk1 = atak[c1];

atk1 is a (short *). atak[] must be an array of (short *) I expect...

The point is, I can't simplify that expression any further! Is there 
anything else I can do at all, other than upgrade? Maybe does someone
have a split up gnuchess.c that can compile (period) and do so in 
under twenty minutes a run? (Big source modules really make the SCO
compiler grind slowly...)

Oh well, please pardon the slightly inflammatory tone, and thanks.

-- 
Jay Libove (Jay.Libove@andrew.cmu.edu  or  pitt!darth!libove!libove)

hugly@diox (C Hugly) (07/05/88)

I also encountered this problem when compiling little smalltalk.
After having removed all the "register declarations" witch saved me hours of
expression simplifying, i got an infinite spill on such a simple expression.
Many trys (some of them very stupid) later i had the divine intuition that
the bug occured just two lines after the real cause, whatever those two lines
could be. The faulty line whas one using a macro, i turned the macro into a 
function and never got infinite spills again.

by the way: my smalltalk compiled but still dont work...i always get a
"index out of range in basicAtPut" when parsing script.ini.

Does somebody know about this ?

J-C

PS: and will somebody tell me what the hell is a spill !
    some kind of compiler affection?