]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: arm: Use -Os in memset-inline-8* tests
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Sun, 22 Dec 2024 15:19:17 +0000 (16:19 +0100)
committerTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Thu, 9 Jan 2025 20:51:02 +0000 (21:51 +0100)
commit681934aead9c1310e3b910d18986b76272168a80
treef9a748162a4466e5a8e759551cde5f0e0cabfc9b
parent794f6721e0ebd1b6cb6931285a033b9f1f30d650
testsuite: arm: Use -Os in memset-inline-8* tests

When the test was initially created, -fcommon was the default, but in
commit r10-4867-g6271dd984d7 the default value changed to -fno-common.
This change made the test start failing. To counter the over-alignment
caused by 'a' no longer being common, use -Os.

gcc/testsuite/ChangeLog:

* gcc.target/arm/memset-inline-8.c: Use -Os and prefix assembler
instructions with a tab to improve test stability.
* gcc.target/arm/memset-inline-8-exe.c: Use -Os.

Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
gcc/testsuite/gcc.target/arm/memset-inline-8-exe.c
gcc/testsuite/gcc.target/arm/memset-inline-8.c