blob: ae18003004e0ea027e46d9bd6d9d542b8780a0f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-profile_estimate" } */
int g;
int foo();
void test() {
while (foo() || g < 10)
g++;
return;
}
/* { dg-final { scan-tree-dump-times "loop exit heuristics:" 2 "profile_estimate"} } */
|