libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / vrp46.c
blob6d3f75209d1319962adac91bfc8abe20f5107d65
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp1" } */
4 int func_81 (int);
5 int func_98 (int);
7 void
8 func_18 ( int t )
10 unsigned l_889;
11 int l_895 = 1;
12 for (0; 1; ++l_889)
14 int t1 = 0;
15 func_98 (0);
16 func_98 (0);
17 if (func_81 (1))
19 int rhs = l_895;
20 if (rhs == 0)
21 rhs = 1;
22 if (1 & (t % rhs))
23 t1 = 1;
25 func_98 (t1);
26 l_895 = 0;
30 /* There should be no if left. */
32 /* { dg-final { scan-tree-dump-times "if" 0 "vrp1" } } */