gcc/testsuite/gcc.dg/graphite/pr84552.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -floop-nest-optimize -fno-tree-copy-prop -fno-tree-fre -fno-tree-loop-ivcanon" } */ |
| 3 | |
| 4 | int cx; |
| 5 | |
| 6 | int |
| 7 | e6 (int pj, int xe) |
| 8 | { |
| 9 | for (cx = 0; cx < 2; ++cx) |
| 10 | while (xe < 1) |
| 11 | { |
| 12 | for (cx = 0; cx < 2; ++cx) |
| 13 | pj *= 2; |
| 14 | |
| 15 | if (cx != 0) |
| 16 | goto o3; |
| 17 | |
| 18 | ++xe; |
| 19 | } |
| 20 | |
| 21 | o3: |
| 22 | return pj; |
| 23 | } |