modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/pr59014.c (about) 1 /* PR tree-optimization/59014 */ 2 3 int a = 2, b, c, d; 4 5 int 6 foo () 7 { 8 for (;; c++) 9 if ((b > 0) | (a & 1)) 10 ; 11 else 12 { 13 d = a; 14 return 0; 15 } 16 } 17 18 int 19 main () 20 { 21 foo (); 22 if (d != 2) 23 __builtin_abort (); 24 return 0; 25 }