blob: fa9d6e70522eced5faaa2e392c4a2c81796e60e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* { dg-options "-DEMPTY" } */
/* This file is only needed in combination with ic-misattribution-1.c
but there's no easy way to make this file ignored. */
extern void callee (void);
extern void caller (void (*func) (void));
typedef void (*func_t) (void);
func_t func;
int
main ()
{
#ifdef EMPTY
#else
func = callee;
caller (callee);
func ();
#endif
return 0;
}
/* { dg-final-use { cleanup-ipa-dump "profile" } } */
|