PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / ret-thunk-8.c
blobc1658e9667358aecca07163123682a501c16ff96
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mfunction-return=thunk-inline" } */
4 extern void foo (void) __attribute__ ((function_return("keep")));
6 void
7 foo (void)
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" } } */