diff --git a/gcc/testsuite/gcc.target/aarch64/aapcs64/test_dfp_17.c b/gcc/testsuite/gcc.target/aarch64/aapcs64/test_dfp_17.c index 22dc462bf7cb724c556ed5b4106da65e774b8e0f..3c45f715cf72e5e81303594dca87f98709ed2791 100644 --- a/gcc/testsuite/gcc.target/aarch64/aapcs64/test_dfp_17.c +++ b/gcc/testsuite/gcc.target/aarch64/aapcs64/test_dfp_17.c @@ -32,6 +32,10 @@ struct z b = { 9.0dd, 10.0dd, 11.0dd, 12.0dd }; ANON(struct z, a, D1) ANON(struct z, b, STACK) ANON(int , 5, W0) +#ifndef __AAPCS64_BIG_ENDIAN__ ANON(_Decimal32, f1, STACK+32) /* Note: no promotion to _Decimal64. */ +#else + ANON(_Decimal32, f1, STACK+36) /* Note: no promotion to _Decimal64. */ +#endif LAST_ANON(_Decimal64, 0.5dd, STACK+40) #endif