Fix type in the changelog entry,
[official-gcc.git] / gcc / testsuite / gcc.dg / predict-4.c
blob3e7fb7488a93531a5e719e7b46a119ea0c186c62
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-profile_estimate" } */
4 extern int global;
6 int bar(int);
8 void foo (int bound)
10 int i, ret = 0;
11 for (i = 0; i < 10; i++)
13 if (i < 5)
14 global += bar (i);
18 /* { dg-final { scan-tree-dump "loop iv compare heuristics: 50.0%" "profile_estimate"} } */