OSDN Git Service

PR tree-optimization/52073
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / pr52073.c
1 /* PR tree-optimization/52073 */
2
3 int a, b, c, d, e, f;
4
5 void
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 }