This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/39255] bitfield alias generates incorrect assembly
- 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: 20 Feb 2009 23:47:51 -0000
- Subject: [Bug c/39255] bitfield alias generates incorrect assembly
- References: <bug-39255-10397@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2009-02-20 23:47 -------
-O2 enables strict aliasing (type based aliasing). You need to use
-fno-strict-aliasing to disable that.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39255