aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/ret-thunk-8.c
blob: 777ab7c8088b7622e706ba25ed246337e2d24707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { 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 {\tlfence} } } */
/* { dg-final { scan-assembler-not "jmp\[ \t\]*\.LIND" } } */
/* { dg-final { scan-assembler-not "call\[ \t\]*\.LIND" } } */