[Bug c/52661] negative maxint for long long gives warning

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 22 18:49:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52661

--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-22 18:47:04 UTC ---
(In reply to comment #9)
> I will refer you to this since you don't believe me.
> http://msdn.microsoft.com/en-us/library/2ayc1sk0.aspx

I understand that but you are understanding what I wrote.  There are two token
parsed separately.  - and 9223372036854775808LL are considered two different
tokens.  They are parsed separately which means the negative sign is not part
of the number.



More information about the Gcc-bugs mailing list