------- Comment #1 from ebotcazou at gcc dot gnu dot org 2008-05-31 19:50 ------- > GCC seems to treat the 32-bit integer constant -0x80000000 (INT_MIN) as an > unsigned value, when it should be signed.
Incorrect. -0x80000000 is not an integer constant, it's the negation of the integer constant 0x80000000, which is unsigned (C99 6.4.4.1). -- ebotcazou at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu dot | |org Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36402