Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
vrp26.c
blob: 021d2de3d2e9dbd1975ced2ad825494ce73f9f89 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-vrp1" } */
int
foo
(
int
a
)
{
int
z
=
a
|
1
;
return
z
!=
0
;
}
/* VRP should optimize this to a trivial "return 1". */
/* { dg-final { scan-tree-dump-times "return 1" 1 "vrp1" } } */