| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2 -fdump-tree-vrp1 -fno-tree-fre -fdisable-tree-evrp -fno-thread-jumps" } */ |
| 3 |
|
| 4 |
/* This is from PR14052. */ |
| 5 |
|
| 6 |
int f2(int x) { return x == 1 || x == 3 || x == 1; } |
| 7 |
|
| 8 |
/* { dg-final { scan-tree-dump "Folding predicate.*== 1 to 0" "vrp1" } } */ |