Warn pointer to signed integer cast for ilp32
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / vrp36.c
blobde300d7276b6dc577a9ef2f5f345a225e71af0fd
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp1" } */
4 int foo(int i)
6 if (i < 0 || i >= 5)
7 return i == 1;
8 return 1;
11 /* { dg-final { scan-tree-dump-not "i_.* == 1" "vrp1" } } */
12 /* { dg-final { cleanup-tree-dump "vrp1" } } */