http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60578
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- J and n are both uninitialized so there is undefined code and the result is different between x86 and amd64 due to different register being selected and it just happens the amd64 one register was set to zero. So invalid set j and n.