This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]