http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52661
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> 2012-03-22 05:58:48 UTC --- -9223372036854775808LL is two tokens - and 9223372036854775808LL which means the warning is correct. If you want -9223372036854775808LL without a warning use: -9223372036854775801LL -1 or better yet just use LONG_LONG_MIN .