From: Torbjörn SVENSSON Date: Fri, 18 Oct 2024 19:00:31 +0000 (+0200) Subject: testsuite: arm: Use effective-target for nomve_fp_1.c test X-Git-Tag: basepoints/gcc-16~4008 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=115ae676fc7b77b7544fc5393479c7d9759b7297;p=thirdparty%2Fgcc.git testsuite: arm: Use effective-target for nomve_fp_1.c test Update test cases to use -mcpu=unset/-march=unset feature introduced in r15-3606-g7d6c6a0d15c. gcc/testsuite/ChangeLog: * g++.target/arm/mve/general-c++/nomve_fp_1.c: Added option "-mcpu=unset". Signed-off-by: Torbjörn SVENSSON --- diff --git a/gcc/testsuite/g++.target/arm/mve/general-c++/nomve_fp_1.c b/gcc/testsuite/g++.target/arm/mve/general-c++/nomve_fp_1.c index a2069d353cf9..fd8c05b0eed4 100644 --- a/gcc/testsuite/g++.target/arm/mve/general-c++/nomve_fp_1.c +++ b/gcc/testsuite/g++.target/arm/mve/general-c++/nomve_fp_1.c @@ -4,7 +4,7 @@ /* Do not use dg-add-options arm_v8_1m_mve, because this might expand to "", which could imply mve+fp depending on the user settings. We want to make sure the '+fp' extension is not enabled. */ -/* { dg-options "-mfpu=auto -march=armv8.1-m.main+mve" } */ +/* { dg-options "-mfpu=auto -mcpu=unset -march=armv8.1-m.main+mve" } */ /* { dg-add-options arm_fp } */ #include