Optimizer bug in gcc-2.95.2 C++

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sat Mar 4 11:08:00 GMT 2000


> in the program attached below, the static array f is initialized at
> runtime, probably because the initializer t[0] cannot be resolved as
> constant. With optimisation, e. g. -O1, the array will be initialized with
> wrong values. Without optiomisation, the initailisation is correct.

Thanks for your bug report. I've put it into GNATS.

Regards,
Martin


More information about the Gcc-bugs mailing list