[Bug c++/20729] Bitwise operations work wrong with -O2 or -O3 optimization

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Apr 2 12:45:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-02 12:45 -------
You are violating the C aliasing rules.
Either use an union or use -fno-strict-aliasing.

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


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



More information about the Gcc-bugs mailing list