This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/45320] Strict-aliasing misdetection
- From: "strikosn at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Aug 2010 09:50:58 -0000
- Subject: [Bug c/45320] Strict-aliasing misdetection
- References: <bug-45320-19571@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from strikosn at gmail dot com 2010-08-19 09:50 -------
Ok, I reviewed all cases and it seems that gcc always does the right thing. The
only problem left is that strict-aliasing warning Levels 2 and 3, of which
Level 3 is enabled by default, do not detect this particular case of
strict-aliasing, even though Level 1 detects it correctly.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45320