http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60747
Andreas Schwab <sch...@linux-m68k.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #5 from Andreas Schwab <sch...@linux-m68k.org> --- If you don't want undefined behaviour on overflow you need to use unsigned types.