blob: 2289552b38f4d2796e7a6c70b00a24db29e0e139 [file] [log] [blame]
/* { 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:" 3 "profile_estimate"} } */
/* { dg-final { cleanup-tree-dump "profile_estimate" } } */