Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / vrp26.c
blob021d2de3d2e9dbd1975ced2ad825494ce73f9f89
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp1" } */
4 int
5 foo(int a)
7 int z = a | 1;
8 return z != 0;
11 /* VRP should optimize this to a trivial "return 1". */
12 /* { dg-final { scan-tree-dump-times "return 1" 1 "vrp1" } } */