[Bug c/18156] Wrong code in gcc-3.3.5 and gcc-3.4.2 (4.0 not checked)
ebotcazou at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Oct 26 11:16:00 GMT 2004
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-10-26 11:16 -------
Wrong code indeed, but on your side: your C code violates the aliasing rules of
the ISO C language. Either fix it or pass -fno-strict-aliasing to the compiler.
See the entry of -fstrict-aliasing in the manual for more detailed info.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18156
More information about the Gcc-bugs
mailing list