http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53946
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-07-12 23:46:07 UTC --- In fact for x86_64, intmax_t is defined as long rather than long long. Use stdint.h instead of defining your own intmax_t.