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
* ru.po: Update.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
predict-loop-exit-2.C
blob
ae18003004e0ea027e46d9bd6d9d542b8780a0f3
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-profile_estimate" } */
3
4
int g;
5
int foo();
6
void test() {
7
while (foo() || g < 10)
8
g++;
9
return;
10
}
11
12
/* { dg-final { scan-tree-dump-times "loop exit heuristics:" 2 "profile_estimate"} } */