------- Comment #4 from joseph at codesourcery dot com 2008-06-01 12:22 ------- Subject: Re: -0x80000000 (INT_MIN) erroneously treated as unsigned
On Sun, 1 Jun 2008, gcczilla at achurch dot org wrote: > Fair enough, but GCC's documentation explicitly says (gcc.info section 4.5): It also explicitly explains, in the section "Incompatibilities", that -2147483648 is positive, and why. (In C99 mode, 2147483648 becomes of type long long, but 0x80000000 is still unsigned.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36402