Debian Codegraph @

gcc/testsuite/gcc.target/i386/ret-thunk-8.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mfunction-return=thunk-inline" } */
3
4 extern void foo (void) __attribute__ ((function_return("keep")));
5
6 void
7 foo (void)
8 {
9 }
10
11 /* { dg-final { scan-assembler-not "jmp\[ \t\]*_?__x86_return_thunk" } } */
12 /* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
13 /* { dg-final { scan-assembler-not {jmp[ \t]*\.?LIND} } } */
14 /* { dg-final { scan-assembler-not {call[ \t]*\.?LIND} } } */