[fpc-devel]Bunch'o questions for the new year
Jonas Maebe
jonas at zeus.ugent.be
Wed Jan 7 10:13:41 CET 2004
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
More information about the fpc-devel
mailing list