This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33374] GCC 4.1.2 produce wrong assembler code with -O2 option enabled.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Sep 2007 08:34:06 -0000
- Subject: [Bug target/33374] GCC 4.1.2 produce wrong assembler code with -O2 option enabled.
- References: <bug-33374-15076@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-09-10 08:34 -------
>From the look at the source, it looks like you are violating C/C++ aliasing
rules. Try with -fno-strict-aliasing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33374