blob: 35c768ff0318d30646dcbbfa6cf881619c47de29 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-profile_estimate" } */
int g;
int foo();
void test() {
while (foo() && (g < 10 || g > 20))
g++;
return;
}
/* { dg-final { scan-tree-dump-times "loop exit heuristics:" 3 "profile_estimate"} } */