1 /* { dg-options "-O2 -fomit-frame-pointer" } */
2
3 /* Check that we split unaligned LDP/STP into base and aligned offset. */
4
5 typedef struct
6 {
7 int a, b, c, d, e;
8 } S;
9
10 void foo (S *);
11
12 void test (int x)
13 {
14 S s = { .a = x };
15 foo (&s);
16 }
17
18 /* { dg-final { scan-assembler-not "mov\tx\[0-9\]+, sp" } } */