blob: e19f0d01f84c77ed263738d0d1464cc1261f0ffd [file] [log] [blame]
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-require-effective-target mfentry } */
/* { dg-require-profiling "-pg" } */
/* { dg-options "-pg -mfentry -minstrument-return=nop5 -mrecord-return" } */
/* { dg-final { scan-assembler-times "0x0f, 0x1f, 0x44, 0x00, 0x00" 3 } } */
/* { dg-final { scan-assembler "section.*return_loc" } } */
int func(int a)
{
return a+1;
}
int func2(int a)
{
return a+1;
}
extern void func4(int);
int func3(int a)
{
func4(a + 1);
}