This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/42907] -fstrict-aliasing breaks valid code
- From: "fejj at novell dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jan 2010 22:13:10 -0000
- Subject: [Bug c/42907] -fstrict-aliasing breaks valid code
- References: <bug-42907-18727@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from fejj at novell dot com 2010-01-30 22:13 -------
> You told it to use C type-based aliasing rules to optimize. And exactly this
> is what it is doing.
Richard, no, I didn't. All I asked was -O2 and -O2 never used to enable
strict-aliasing (in fact, I never even asked for -O2 - that's just what distros
typically build with).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42907