1 /* PR tree-optimization/52073 */ 2 3 int a, b, c, d, e, f; 4 5 void foo(int x)6 foo (int x) 7 { 8 e = 1; 9 for (;;) 10 { 11 int g = c; 12 if (x) 13 { 14 if (e) 15 continue; 16 while (a) 17 --f; 18 } 19 else 20 for (b = 5; b; b--) 21 { 22 d = g; 23 g = 0 == d; 24 } 25 if (!g) 26 x = 0; 27 } 28 } 29