This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: g++-4.0.3: program output is different when compiled with -O3 (did not happen with gcc-3.4.5)
- From: John Love-Jensen <eljay at adobe dot com>
- To: Erik <freeciv at home dot se>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Tue, 16 May 2006 07:20:16 -0500
- Subject: Re: g++-4.0.3: program output is different when compiled with -O3 (did not happen with gcc-3.4.5)
Hi Erik,
> The fast code works, but not with gcc-4.0, -O3 and strict aliasing.
The fast code is not compliant to the C or C++ standards.
Sincerely,
--Eljay