http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55883
Mikael Pettersson <mikpe at it dot uu.se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikpe at it dot uu.se --- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> 2013-01-05 20:06:29 UTC --- Fails all the way back to gcc-3.4.6, older releases don't have -fwrapv. Fixed for 4.8 by r193591 == PR55236 fix: http://gcc.gnu.org/ml/gcc-cvs/2012-11/msg00538.html http://gcc.gnu.org/ml/gcc-patches/2012-11/msg00707.html The test cases are very very similar so I'd say this is a duplicate of PR55236. Applying r193591 to 4.7 and 4.6 fixes this test case there too.