gcc/testsuite/gcc.target/i386/returninst3.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" } */ |
| 5 | /* { dg-final { scan-assembler-not "call.*__return__" } } */ |
| 6 | |
| 7 | __attribute__((no_instrument_function)) |
| 8 | int func(int a) |
| 9 | { |
| 10 | return a+1; |
| 11 | } |