libstdc++: Move gcc.gnu.org and sourceware.org links to https
[official-gcc.git] / gcc / testsuite / gcc.target / arm / unaligned-argument-1.c
blob805a3a7f80de3e2afa7453fad9175277abb94326
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_arm_ok } */
3 /* { dg-require-effective-target arm_ldrd_strd_ok } */
4 /* { dg-options "-marm -mno-unaligned-access -O3" } */
6 struct s {
7 int a, b;
8 } __attribute__((aligned(8)));
10 struct s f0;
12 void f(int a, int b, int c, int d, struct s f)
14 f0 = f;
17 /* { dg-final { scan-assembler-times "ldrd" 1 } } */
18 /* { dg-final { scan-assembler-times "strd" 1 } } */
19 /* { dg-final { scan-assembler-times "stm" 0 } } */