Remove outermost loop parameter.
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.dg / tree-ssa / vrp46.c
bloba67e839ded5386e76a0f229c3738dc572b8ee6d4
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp1" } */
4 void
5 func_18 ( int t )
7 unsigned l_889;
8 int l_895 = 1;
9 for (0; 1; ++l_889)
11 int t1 = 0;
12 if (func_81 (1))
14 int rhs = l_895;
15 if (rhs == 0)
16 rhs = 1;
17 if (1 & (t % rhs))
18 t1 = 1;
20 func_98 (t1);
21 l_895 = 0;
25 /* There should be a single if left. */
27 /* { dg-final { scan-tree-dump-times "if" 1 "vrp1" } } */
28 /* { dg-final { cleanup-tree-dump "vrp1" } } */