compiler error..
david nugent
david at csource.oz.au
Sun Feb 25 09:48:30 AEST 1990
In article <945 at chinacat.Lonestar.ORG> dated 22 Feb, Chip Rosenthal writes:
> > Compiler error (internal): Infinite spill
> >What causes this, and is it fixed?
>
> My understanding is that it is due to a problem in the register usage
> scheme in the Microsoft compiler, and is activated by complex
> expressions.
I get this with complex expressions involving indexed arrays. Now I usually
evaluate the index in a separate statement using a temporary variable and
let the optimiser do its bit to improve it (which it usually does).
For example:
j = whatever->arradr[(whatever->idx++)*4];
Gets translated to
i = (whatever->idx++) * 4;
j = whatever->arradr[i];
david
--
UUCP: ...!munnari!csource!david <Fido/ACSNET Gate>
Internet: david at csource.oz.au
FidoNet: 3:632/348
More information about the Comp.unix.xenix
mailing list