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]

Re: middle-end/6694: Warning that largest negative int -2147483648 in comparison is unsigned


Synopsis: Warning that largest negative int -2147483648 in comparison is unsigned

State-Changed-From-To: open->closed
State-Changed-By: sirl
State-Changed-When: Fri May 17 07:13:28 2002
State-Changed-Why:
    Not a bug. There are no negative constants in C.
    The constant overflows 'int' (thus the warning) and then the negation is applied as an operation.
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6694


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