]> git.ipfire.org Git - thirdparty/gcc.git/commit
aarch64: Fix test_dfp_17.c for big-endian [PR 107604]
authorChristophe Lyon <christophe.lyon@arm.com>
Tue, 22 Nov 2022 08:33:06 +0000 (08:33 +0000)
committerChristophe Lyon <christophe.lyon@arm.com>
Tue, 22 Nov 2022 13:05:50 +0000 (14:05 +0100)
commit4eb3a48698b2ca43967a4e7e7cfc0408192e85b2
tree68919231bc8a9c79aacc7735bc886055d1b6559e
parent61351ab96a4dfa0884c8b1a53342b97915fb5dd7
aarch64: Fix test_dfp_17.c for big-endian [PR 107604]

gcc.target/aarch64/aapcs64/test_dfp_17.c has been failing on
big-endian, because the _Decimal32 on-stack argument is not padded in
the same direction depending on endianness.

This patch fixes the testcase so that it expects the argument in the
right stack location, similarly to what other tests do in the same
directory.

gcc/testsuite/ChangeLog:

PR target/107604
* gcc.target/aarch64/aapcs64/test_dfp_17.c: Fix for big-endian.
gcc/testsuite/gcc.target/aarch64/aapcs64/test_dfp_17.c