From: Torbjörn SVENSSON Date: Thu, 31 Oct 2024 17:54:30 +0000 (+0100) Subject: testsuite: arm: Force hard ABI for pr51534.c test X-Git-Tag: basepoints/gcc-16~4621 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e995866cff2866512cd3af24b6ca27a5782aca1f;p=thirdparty%2Fgcc.git testsuite: arm: Force hard ABI for pr51534.c test The test case is written in a way that it should be using hard float ABI, but the use of -mfloat-abi=hard could be overriden by dg-add-options arm_neon. Ensure that -mfloat-abi=hard is always after. gcc/testsuite/ChangeLog: * gcc.target/arm/pr51534.c: Ensure -mfloat-abi=hard is used. Signed-off-by: Torbjörn SVENSSON --- diff --git a/gcc/testsuite/gcc.target/arm/pr51534.c b/gcc/testsuite/gcc.target/arm/pr51534.c index ba21259bee55..b68ecce26397 100644 --- a/gcc/testsuite/gcc.target/arm/pr51534.c +++ b/gcc/testsuite/gcc.target/arm/pr51534.c @@ -3,8 +3,9 @@ /* { dg-do assemble { target { arm_hard_ok } } } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-save-temps -mfloat-abi=hard -O3" } */ +/* { dg-options "-save-temps -O3" } */ /* { dg-add-options arm_neon } */ +/* { dg-additional-options "-mfloat-abi=hard" } */ #include