repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr21086.c
blob
547d1c8d78b9a4ff32dc05d67e5c876a822da9cc
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-vrp" } */
3
4
int
5
foo
(
int
*
p
)
6
{
7
int
a
= *
p
;
8
int
b
=
p
!=
0
;
9
10
*
p
=
b
;
11
12
if
(
b
)
13
return
a
;
14
else
15
return
0
;
16
}
17
18
/* { dg-final { scan-tree-dump-times "Folding predicate " 2 "vrp" } } */
19
/* { dg-final { cleanup-tree-dump "vrp" } } */