blob: 1e46755a39a0b97fa7af704086f82ffd5a216fb4 [file] [log] [blame]
/* { dg-options "-O2 -fomit-frame-pointer" } */
/* Check that we split unaligned LDP/STP into base and aligned offset. */
typedef struct
{
int a, b, c, d, e;
} S;
void foo (S *);
void test (int x)
{
S s = { .a = x };
foo (&s);
}
/* { dg-final { scan-assembler-not "mov\tx\[0-9\]+, sp" } } */