aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/sibcall-3.c
blob: db9eb360c634660bd62ee5bca0e13a0b8a308643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-options "-O2" } */

extern 
#ifdef _WIN32
 __declspec (dllimport)
#endif
 void foo (int a);

void bar (int a)
{
  return foo (a);
}

/* { dg-final { scan-assembler-not "jmp\[ \t\]*.%eax" } } */