------- Comment #1 from pinskia at gcc dot gnu dot org  2007-01-23 05:08 -------
This is a very obvious case of violating C/C++ aliasing rules.

You are accessing a double as an int which is undefined by the C/C++ aliasing
rules.  either use -fno-strict-aliasing, memcpy or an union (which is only
unspecified behavior in C while GCC defines it).

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

Reply via email to