[RTL ifcvt] PR 67786, 67787: Check that intermediate instructions in the basic block...
[official-gcc.git] / gcc / testsuite / gcc.dg / predict-7.c
bloba0ea37bdfa838b03b3a8531928d3934e892584a3
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-profile_estimate" } */
4 extern int global;
6 int bar (int);
8 void foo (int base)
10 int i;
11 while (global < 10)
12 for (i = base; i < 10; i++)
13 bar (i);
16 /* { dg-final { scan-tree-dump-times "loop branch heuristics" 0 "profile_estimate"} } */