testsuite: arm: Use effective-target for nomve_fp_1 test
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr20657.c
blobe67823150dab50a1e971f5fc329f096fa064d260
1 /* PR tree-optimization/20657
2 VRP did not pick up a conditional equivalence from the first "if"
3 statement, which was needed to eliminate the second "if" statement. */
5 /* { dg-do compile } */
6 /* { dg-options "-O2 -fno-tree-dominator-opts -fno-tree-fre -fdump-tree-evrp" } */
8 int
9 foo (int a)
11 if (a == 0)
12 if (a == 0)
13 return 1;
14 return 0;
17 /* { dg-final { scan-tree-dump-times "if" 1 "evrp"} } */