[Bug c/43982] Bad generated code with integer/float pointer cast assignment and with optimization.

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue May 4 15:53:00 GMT 2010



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-05-04 15:53 -------
You are violating C aliasing rules.  Use -fno-strict-aliasing or use
memcpy and/or unions.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43982



More information about the Gcc-bugs mailing list