This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/23077] Invalid code with O2 flag (bad alias analysis?)
- 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: 26 Jul 2005 14:37:00 -0000
- Subject: [Bug c/23077] Invalid code with O2 flag (bad alias analysis?)
- References: <20050726143505.23077.nicos@maunakeatech.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-26 14:36 -------
No this is not bad alias analysis, You are invoking undefined code by violating aliasing rules in C/C++.
This is a dup of bug 21920.
*** This bug has been marked as a duplicate of 21920 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23077