1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-evrp-details" } */
3
foo(int i)4 int foo(int i)
5 {
6 if (i < 0 || i >= 5)
7 return i == 1;
8 return 1;
9 }
10
11 /* { dg-final { scan-tree-dump "Removing dead stmt \[^\r\n\]* = i_.* == 1" "evrp" } } */
12