gcc/testsuite/gcc.dg/torture/pr66349.c
raw| 1 | /* { dg-do compile } */ |
| 2 | |
| 3 | unsigned int a; |
| 4 | int b, c, d, e, f; |
| 5 | |
| 6 | void |
| 7 | fn1 () |
| 8 | { |
| 9 | for (; b; b++) |
| 10 | { |
| 11 | for (e = 0; e < 1; e++) |
| 12 | ; |
| 13 | int i = -1, j = 1; |
| 14 | if (f) |
| 15 | { |
| 16 | for (; a < 1; a++) |
| 17 | ; |
| 18 | i++; |
| 19 | j = 0; |
| 20 | } |
| 21 | for (; d; d++) |
| 22 | { |
| 23 | if (j) |
| 24 | for (;; c++) |
| 25 | ; |
| 26 | if (i) |
| 27 | continue; |
| 28 | return; |
| 29 | } |
| 30 | } |
| 31 | } |