blob: 4948ec4fa41492aca890cc4d479015248c65a10e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* { dg-options "-O2 -fdump-ipa-profile" } */
extern void other_caller (void);
void
callee (void)
{
return;
}
void
caller(void (*func) (void))
{
func ();
}
/* { dg-final-use { scan-ipa-dump "Indiret call -> direct call" "profile" } } */
/* { dg-final-use { cleanup-ipa-dump "profile" } } */
|