1/* { dg-options "-O2 -fdump-tree-tree_profile" } */
2/* { dg-additional-sources "ic-misattribution-1a.c" } */
3
4extern void other_caller (void);
5
6void
7callee (void)
8{
9  return;
10}
11
12void
13caller(void (*func) (void))
14{
15  func ();
16}
17
18/* { dg-final-use { scan-tree-dump "hist->count 1 hist->all 1" "tree_profile" } } */
19/* { dg-final-use { cleanup-tree-dump "tree_profile" } } */
20