This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Optimizer bug in gcc-2.95.2 C++


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]