gcc/testsuite/gcc.dg/torture/pr87176.c
raw| 1 | /* { dg-do run } */ |
| 2 | |
| 3 | int a, b, c; |
| 4 | |
| 5 | int main () |
| 6 | { |
| 7 | int d = a = 0; |
| 8 | while (1) |
| 9 | { |
| 10 | a = a ^ 6; |
| 11 | if (!a) |
| 12 | break; |
| 13 | if (d) |
| 14 | goto L; |
| 15 | d = a; |
| 16 | for (b = 0; b < 2; b++) |
| 17 | { |
| 18 | const int *f[3] = { &c }; |
| 19 | const int **g[] = { &f[2] }; |
| 20 | int h = ~d; |
| 21 | if (d) |
| 22 | L: |
| 23 | if (h > 1) |
| 24 | continue; |
| 25 | } |
| 26 | } |
| 27 | return 0; |
| 28 | } |