Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.dg
/
sibcall-11.c
blob: ae5877082363ea9e653d39cf7daaf681f480a93b [
file
] [
log
] [
blame
]
// Test for sibcall optimization with empty struct.
// { dg-options "-O2" }
// { dg-final { scan-assembler "jmp" { target i?86-*-* x86_64-*-* } } }
struct
A
{
};
void
f
(
struct
A
);
void
g
(
struct
A a
)
{
f
(
a
);
}