| 1 |
// Test for sibcall optimization with empty struct. |
| 2 |
// { dg-options "-O2" } |
| 3 |
/* { dg-additional-options "-fno-PIE" { target ia32 } } */ |
| 4 |
// { dg-final { scan-assembler "jmp" { target i?86-*-* x86_64-*-* } } } |
| 5 |
|
| 6 |
struct A { }; |
| 7 |
void f(struct A); |
| 8 |
void g(struct A a) { f(a); } |