http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49820
Andreas Schwab <sch...@linux-m68k.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #1 from Andreas Schwab <sch...@linux-m68k.org> 2011-07-23 07:20:20 UTC --- Integer overflow is undefined. You have to check before the fact, or compile with -fwrapv.