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]

[Bug c/45831] 0 = 10 (with -O0, 0 = 0 with -O1, but 10 = 10 expected)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45831

--- Comment #11 from Andreas Schwab <schwab@linux-m68k.org> 2010-09-30 11:33:54 UTC ---
-1 works for any integer type, ~0 only works for unsigned (int|short|char).


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