------- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-08 18:23 ------- You are violating C/C++ aliasing rules. You are accessing a long as an unsigned int which is not allowed by C/C++ and is undefined. It is allowed to access an int as a unsigned int and a long as an unsigned long but not long as an int or an int as a long.
*** This bug has been marked as a duplicate of 21920 *** -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32677