1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp1" } */
11 int test1 (struct foo1
*x
)
20 int test2 (struct foo2
*x
)
29 int test3 (struct foo1
*x
)
33 else if (x
->i
== 1) /* This test is already folded to false by fold. */
38 int test4 (struct foo2
*x
)
47 /* { dg-final { scan-tree-dump-times "Folding" 3 "vrp1" } } */
48 /* { dg-final { cleanup-tree-dump "vrp1" } } */