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
* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
predict-7.c
blob
fe34ca5f74426341196f277cb18f3e36c58aa713
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-profile_estimate" } */
3
4
extern
int
global
;
5
6
int
bar
(
int
);
7
8
void
foo
(
int
base
)
9
{
10
int
i
;
11
while
(
global
<
10
)
12
for
(
i
=
base
;
i
<
10
;
i
++)
13
bar
(
i
);
14
}
15
16
/* { dg-final { scan-tree-dump-times "loop branch heuristics of edge\[^:\]*" 0 "profile_estimate"} } */