[Bug c++/33999] g++ optimizer(-O2) generates wrong code in 32bit mode on x86_64
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Nov 5 22:25:00 GMT 2007
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-11-05 22:25 -------
This is one of the most obvious violations of C/C++ aliasing rules.
You are accessing a _GUID as an int. Either use -fno-strict-aliasing, an union
or memcpy to get around the aliasing violation
*** This bug has been marked as a duplicate of 21920 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33999
More information about the Gcc-bugs
mailing list