[Bug c/30724] Wrong code from -O2 taking ptr=(struct *)&int_proc_parm on x86_64

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 7 06:52:00 GMT 2007



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-02-07 06:51 -------
If you use -fno-strict-aliasing and it works, that should tell you something
right there really.

Anyways you are violating C/C++ aliasing rules, see PR 21920.

*** 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=30724



More information about the Gcc-bugs mailing list