http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47817
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-02-19 20:56:45 UTC --- I think you have some violation of the C/C++ aliasing rules where you access an "unsigned int" via an "unsigned long long" which in turn causes undefined behavior.