This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/52661] negative maxint for long long gives warning
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Mar 2012 18:47:04 +0000
- Subject: [Bug c/52661] negative maxint for long long gives warning
- Auto-submitted: auto-generated
- References: <bug-52661-4@http.gcc.gnu.org/bugzilla/>
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.