modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/20011229-2.c (about) 1 /* Test whether jump threading doesn't ICE if redirecting the jump to exit 2 block. */ 3 4 extern int bar (); 5 extern void baz (); 6 7 void foo () 8 { 9 int x; 10 11 do 12 { 13 if ((x = bar ()) == 1) 14 baz (); 15 } 16 while (x == 1); 17 }