gcc/
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / vrp61.c
blob33eb44bb1f56346cd0f846ca8ece3e1525d6d826
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp1-nouid" } */
4 int f (int x, int y)
6 if (x > -1024 && x < 0 && y > -1024 && y < 0)
8 x = x ^ y;
9 if (x < 0 || x > 1023)
10 return 1234;
12 return x;
15 /* { dg-final { scan-tree-dump-not "1234" "vrp1" } } */
16 /* { dg-final { cleanup-tree-dump "vrp1" } } */