1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-cddce" } */
8 for (i
= 1, j
= 0; i
!= 0; i
+=2)
24 /* We should eliminate the inner condition, but the loop must be preserved
25 as it is infinite. Therefore there should be just one phi node (for i): */
26 /* { dg-final { scan-tree-dump-times "PHI " 1 "cddce"} } */
28 /* And one if (for the exit condition of the loop): */
29 /* { dg-final { scan-tree-dump-times "if " 1 "cddce"} } */
31 /* { dg-final { cleanup-tree-dump "cddce" } } */