gcc/testsuite/gcc.c-torture/compile/pr112303.c
raw| 1 | /* PR tree-optimization/112303 */ |
| 2 | |
| 3 | int a, b, d, e, f, **g, h; |
| 4 | char c; |
| 5 | |
| 6 | int * |
| 7 | foo (void) |
| 8 | { |
| 9 | for (int i = 0; i < 3; i++) |
| 10 | { |
| 11 | for (h = 0; h < 2; h++) |
| 12 | ; |
| 13 | if (!b) |
| 14 | break; |
| 15 | } |
| 16 | while (f) |
| 17 | while (e) |
| 18 | { |
| 19 | c = 0; |
| 20 | while (d) |
| 21 | while (a) |
| 22 | *g = foo (); |
| 23 | } |
| 24 | return 0; |
| 25 | } |