http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46443
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-11-11 23:53:31 UTC --- You are violating C/C++ aliasing rules; You are accessing a double as a long which causes undefined behavior. memcpy does not cause this violation since it is defined to use the character type to do the copy. *** This bug has been marked as a duplicate of bug 21920 ***