in file CodeGenExprs.c, line 167
and the error pointed to the end of the file, ARM target, ARM code, optimisations 3-4
and this line is making it:
for(i=(dir>0)?0:(linesize);(dir>0)?i<(linesize):i>=0;i+=dir)
if I change it to this: for(i=(dir>0)?0:(linesize);(dir>0)?i<(linesize):i>=2;i+=dir)
the error is gone :)
Maybe should split this loop in 2, this way looks nasty and is maiking strange errors :)
Which version of the CW ARM compiler are you using? I'm fairly sure this is an error that is fixed in 9.3, but I can't be sure without a bug report and reproduction case.
BTW, there's not much advantage in using optimization level 3 and 4 for PNOs. Going to opt 2 will get you most of the benefits, while avoiding some optimizations that can really increase code size.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
