gcc/testsuite/gcc.dg/pr89594.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O -ftree-loop-if-convert -ftree-loop-vectorize -fno-tree-ch" } */ |
| 3 | |
| 4 | int h3; |
| 5 | |
| 6 | void |
| 7 | in (void) |
| 8 | { |
| 9 | long int zr; |
| 10 | int ee = 0; |
| 11 | |
| 12 | for (zr = 0; zr < 1; zr = h3) |
| 13 | { |
| 14 | ee = !!h3 ? zr : 0; |
| 15 | |
| 16 | h3 = 0; |
| 17 | while (h3 < 0) |
| 18 | h3 = 0; |
| 19 | } |
| 20 | |
| 21 | h3 = 0; |
| 22 | while (h3 < 1) |
| 23 | h3 = !!ee ? (!!h3 + 1) : 0; |
| 24 | } |