repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
vrp26.c
blob
021d2de3d2e9dbd1975ced2ad825494ce73f9f89
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-vrp1" } */
3
4
int
5
foo
(
int
a
)
6
{
7
int
z
=
a
|
1
;
8
return
z
!=
0
;
9
}
10
11
/* VRP should optimize this to a trivial "return 1". */
12
/* { dg-final { scan-tree-dump-times "return 1" 1 "vrp1" } } */
13
14
15
16