]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: arm: Use effective-target for nomve_fp_1.c test
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Fri, 18 Oct 2024 19:00:31 +0000 (21:00 +0200)
committerTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Thu, 21 Nov 2024 06:51:49 +0000 (07:51 +0100)
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 <torbjorn.svensson@foss.st.com>
gcc/testsuite/g++.target/arm/mve/general-c++/nomve_fp_1.c

index a2069d353cf9645aab7572dab97451369b1a30c6..fd8c05b0eed4ecc7c41cf9caf9cf875fcc4c97b1 100644 (file)
@@ -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 <arm_mve.h>