------- Comment #3 from rguenth at gcc dot gnu dot org 2010-04-19 09:49 ------- The function seems to be MetamorphicTestFunc and the issue is that GCC thinks that
D.3914_916 = D.3912_898 * 14400; D.3915_917 = D.3914_916 % 200; is zero because 14400 % 200 == 0. As signed overflow is undefined this is a valid assumption. -fwrapv fixes it, we do seem to overflow. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43794