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
/
pr21458.c
blob
0222e7a697b042b8424c4d008eb855a7a3c4f2f5
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-vrp" } */
3
4
extern
void
g
(
void
);
5
extern
void
bar
(
int
);
6
7
int
8
foo
(
int
a
)
9
{
10
int
i
;
11
12
for
(
i
=
1
;
i
<
100
;
i
++)
13
{
14
if
(
i
)
15
g
();
16
}
17
}
18
19
/* { dg-final { scan-tree-dump-times "Folding predicate.*to 1" 1 "vrp" } } */
20
/* { dg-final { cleanup-tree-dump "vrp" } } */