[committed] [RISC-V] Skip zbs-ext-2.c for -Oz as well
[official-gcc.git] / gcc / testsuite / gcc.target / arm / unaligned-argument-2.c
bloba35ce3a6d4b9eb2de1dd7ed1a728cce1df4911f3
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, int e, struct s f)
14 f0 = f;
17 /* { dg-final { scan-assembler-times "ldrd" 0 } } */
18 /* { dg-final { scan-assembler-times "strd" 0 } } */
19 /* { dg-final { scan-assembler-times "stm" 1 } } */