1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-require-effective-target mfentry } */
3 /* { dg-require-profiling "-pg" } */
4 /* { dg-options "-pg -mfentry -minstrument-return=nop5 -mrecord-return" } */
5 /* { dg-final { scan-assembler-times "0x0f, 0x1f, 0x44, 0x00, 0x00" 3 } } */
6 /* { dg-final { scan-assembler "section.*return_loc" } } */
7 
func(int a)8 int func(int a)
9 {
10   return a+1;
11 }
12 
func2(int a)13 int func2(int a)
14 {
15   return a+1;
16 }
17 
18 extern void func4(int);
19 
func3(int a)20 int func3(int a)
21 {
22   func4(a + 1);
23 }
24