Debian Codegraph @

gcc/testsuite/gcc.target/i386/returninst1.c

raw
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-require-effective-target mfentry } */
3 /* { dg-require-profiling "-pg" } */
4 /* { dg-options "-pg -mfentry -minstrument-return=call -mrecord-return" } */
5 /* { dg-final { scan-assembler "call.*__return__" } } */
6 /* { dg-final { scan-assembler "section.*return_loc" } } */
7
8 int func(int a)
9 {
10 return a+1;
11 }
12
13 int func2(int a)
14 {
15 return a+1;
16 }