gcc/testsuite/gcc.c-torture/compile/pr51069.c
raw| 1 | |
| 2 | int a, b, c, d, e, f, bar (void); |
| 3 | |
| 4 | void |
| 5 | foo (int x) |
| 6 | { |
| 7 | for (;;) |
| 8 | { |
| 9 | if (!x) |
| 10 | { |
| 11 | for (d = 6; d >= 0; d--) |
| 12 | { |
| 13 | while (!b) |
| 14 | ; |
| 15 | if (e) |
| 16 | return foo (x); |
| 17 | if (f) |
| 18 | { |
| 19 | a = 0; |
| 20 | continue; |
| 21 | } |
| 22 | for (; c; c--) |
| 23 | ; |
| 24 | } |
| 25 | } |
| 26 | if (bar ()) |
| 27 | break; |
| 28 | e = 0; |
| 29 | if (x) |
| 30 | for (;;) |
| 31 | ; |
| 32 | } |
| 33 | } |
| 34 | |
| 35 |