Warn pointer to signed integer cast for ilp32
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / vrp52.c
blob52ceea6bef59232cfc3dfdb1a83a68d77b9d6bfc
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp1 -fno-tree-ccp" } */
4 int
5 foo (unsigned int i, unsigned int j)
7 i &= 15;
8 j &= 15;
9 i += 1024;
10 j += 2048;
11 i |= j;
12 return i >= 1024 + 2048;
15 /* { dg-final { scan-tree-dump-times "return 1;" 1 "vrp1" } } */
16 /* { dg-final { cleanup-tree-dump "vrp1" } } */