This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13162] -O2 miscompiles const volatile dependent code
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Nov 2003 21:52:15 -0000
- Subject: [Bug c/13162] -O2 miscompiles const volatile dependent code
- References: <20031122214723.13162.zwane@arm.linux.org.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From falk at debian dot org 2003-11-22 21:52 -------
This code violates C's aliasing rules and has therefore undefined behaviour.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13162