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
* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
predict-11.c
blob
b2ac8cc6f460c8c8892b69aa4d34ed663bace3ec
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-profile_estimate" } */
3
int
*
a
,
n
,
m
;
4
void
test
(
void
);
5
void
6
t
(
void
)
7
{
8
int
i
,
j
;
9
for
(
i
=
0
;
i
<
n
;
i
++)
10
if
(
a
[
i
])
11
for
(
j
=
0
;
j
<
m
;
j
++)
12
test
();
13
}
14
/* { dg-final { scan-tree-dump-times "loop guard" 1 "profile_estimate"} } */