blob: 0a611d99f598a078cd5b370bd075fe79fad080f2 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -mfunction-return=thunk-inline" } */
extern void foo (void) __attribute__ ((function_return("keep")));
void
foo (void)
{
}
/* { dg-final { scan-assembler-not "jmp\[ \t\]*_?__x86_return_thunk" } } */
/* { dg-final { scan-assembler-not {\t(lfence|pause)} } } */
/* { dg-final { scan-assembler-not {jmp[ \t]*\.?LIND} } } */
/* { dg-final { scan-assembler-not {call[ \t]*\.?LIND} } } */