gcc/testsuite/gcc.c-torture/compile/pr59417.c
raw| 1 | /* PR tree-optimization/59417 */ |
| 2 | |
| 3 | int a, b, d; |
| 4 | short c; |
| 5 | |
| 6 | void |
| 7 | f (void) |
| 8 | { |
| 9 | if (b) |
| 10 | { |
| 11 | int *e; |
| 12 | |
| 13 | if (d) |
| 14 | { |
| 15 | for (; b; a++) |
| 16 | lbl1: |
| 17 | d = 0; |
| 18 | |
| 19 | for (; d <= 1; d++) |
| 20 | { |
| 21 | int **q = &e; |
| 22 | for (**q = 0; **q <= 0; **q++) |
| 23 | d = 0; |
| 24 | } |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | else |
| 29 | { |
| 30 | int t; |
| 31 | for (c = 0; c < 77; c++) |
| 32 | for (c = 0; c < 46; c++); |
| 33 | for (; t <= 0; t++) |
| 34 | lbl2: |
| 35 | ; |
| 36 | goto lbl1; |
| 37 | } |
| 38 | goto lbl2; |
| 39 | } |