On 7 jan 2004, at 08:11, Eric Grange wrote:


New question: is -O2 supposed to perform uncertain optimizations as well?

No.


I've got a bit of code (OpenGL teapot) that behaves correctly when compiled with -O1,
and is somewhat visually garbled with -O2. I tried to simplify the case a bit, but that would
make the issue go away.

That's usually the case with optimizer bugs, as they highly depend on the context.


The code in question is made of several imbricated loops massaging
values in 3 dimensionnal arrays.
Is it a known issue of the beta or would it be worth it trying harder to simplify for a test case?

It would be very nice to have a test case, yes.


Thanks,


Jonas



_______________________________________________ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to