blob: 78db6a79bb5f635dd3bb2810e534c058c4316eb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-vrp1-nouid" } */
int f (int x, int y)
{
if (x > -1024 && x < 0 && y > -1024 && y < 0)
{
x = x ^ y;
if (x < 0 || x > 1023)
return 1234;
}
return x;
}
/* { dg-final { scan-tree-dump-not "1234" "vrp1" } } */
|