This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Optimizer bug in gcc-2.95.2 C++
- To: springl at bfw-online dot de
- Subject: Re: Optimizer bug in gcc-2.95.2 C++
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Sat, 4 Mar 2000 20:03:10 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <Pine.LNX.4.05.10003031128430.19277-100000@lar.bfw.de>
> 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