modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/loop-4b.c (about) 1 int 2 f() 3 { 4 int j = 1; 5 long i; 6 i = 0x60000000L; 7 do 8 { 9 j <<= 1; 10 i += 0x10000000L; 11 } while (i < -0x60000000L); 12 return j; 13 } 14 15 int 16 main () 17 { 18 if (f () != 2) 19 abort (); 20 exit (0); 21 }