http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46899 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-12-12 01:55:56 UTC --- (In reply to comment #1) > There is no integer overflow in the code provided at all. Even if there was, the standard says the behavior is undefined which means anything can happen.