gcc/testsuite/gcc.dg/torture/pr113707-1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | |
| 3 | int printf(const char *, ...); |
| 4 | struct a { |
| 5 | int b; |
| 6 | } n; |
| 7 | int a, c, d, e, f = 1, g, h, j = 1, k, l, m, o; |
| 8 | int main() { |
| 9 | struct a p; |
| 10 | int i; |
| 11 | p.b = 1; |
| 12 | if (!j) |
| 13 | goto q; |
| 14 | p.b = i = 0; |
| 15 | for (; i < 1; i++) |
| 16 | if (k) |
| 17 | while (m) |
| 18 | r: |
| 19 | q: |
| 20 | if (p.b) |
| 21 | g = 1; |
| 22 | while (1) { |
| 23 | i = 0; |
| 24 | for (; i < 5; i++) |
| 25 | ; |
| 26 | if (l) { |
| 27 | while (h) |
| 28 | ; |
| 29 | if (o) { |
| 30 | d = 0; |
| 31 | for (; d < 8; d++) |
| 32 | ; |
| 33 | } |
| 34 | } |
| 35 | for (; e; e--) |
| 36 | while (a) |
| 37 | p = n; |
| 38 | if (c) |
| 39 | goto r; |
| 40 | printf("0"); |
| 41 | if (f) |
| 42 | break; |
| 43 | } |
| 44 | return 0; |
| 45 | } |