------- Comment #1 from rguenth at gcc dot gnu dot org 2007-10-15 13:24 ------- Another one:
int foo(int i) { return ((int)((unsigned)(i + 1) * 4)) / 4; } extern void abort(void); int main() { if (foo(0x3fffffff) == 0) abort (); return 0; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33779