------- Comment #6 from roberto dot gordo at gmail dot com 2007-03-14 09:27 ------- I think I've found something. According to the ISO C standard, a decimal constant without suffixes should ALWAYS be signed int (or signed long long if it does not fit), but never be unsigned! An octal or hexadecimal constant without suffixes may be unsigned when it does not fit on a signed. I was not aware of this, sorry (and according to your comments, I think neither you were, because the explanations that you gave to my bug report were not true).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31166