This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: other/7826: Decimal constant -2147483648 cause a warning "decimal constant is so large that it is unsigned"
- From: nathan at gcc dot gnu dot org
- To: carlo at alinoe dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 4 Sep 2002 12:37:46 -0000
- Subject: Re: other/7826: Decimal constant -2147483648 cause a warning "decimal constant is so large that it is unsigned"
- Reply-to: nathan at gcc dot gnu dot org, carlo at alinoe dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: Decimal constant -2147483648 cause a warning "decimal constant is so large that it is unsigned"
State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Wed Sep 4 05:37:45 2002
State-Changed-Why:
not a bug. -2147483648 is an expression consisting of unary
minus applied to an integer literal. on 32 bit systems, that
literal will have the type *unsigned* and value 2147483648
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7826