1 /* { dg-do run { target lp64 } } */
2 /* { dg-options "-O2" } */
8 __attribute__((sysv_abi
, noinline
, noclone
))
9 void sysv_abi_func(char const *desc
, void *local
)
11 register int esi
asm ("esi");
12 register int edi
asm ("edi");
17 /* Clobber some of the extra SYSV ABI registers. */
18 asm volatile ("movl\t%2, %0\n\tmovl\t%2, %1"
19 : "=r" (esi
), "=r" (edi
)
23 __attribute__((ms_abi
, noinline
, noclone
))
26 sysv_abi_func ("1st call", &global
);
27 sysv_abi_func ("2nd call", &global
);
28 sysv_abi_func ("3rd call", &global
);