https://gcc.gnu.org/g:e8886406fac50f80a521a4100a80517e50e1c388
commit r15-5035-ge8886406fac50f80a521a4100a80517e50e1c388 Author: Torbjörn SVENSSON <torbjorn.svens...@foss.st.com> Date: Thu Oct 31 19:11:57 2024 +0100 testsuite: arm: Use effective-target for nomve_fp_1 test Test uses MVE, so add effective-target arm_fp requirement. gcc/testsuite/ChangeLog: * g++.target/arm/mve/general-c++/nomve_fp_1.c: Use effective-target arm_fp. Signed-off-by: Torbjörn SVENSSON <torbjorn.svens...@foss.st.com> Diff: --- gcc/testsuite/g++.target/arm/mve/general-c++/nomve_fp_1.c | 2 ++ 1 file changed, 2 insertions(+) 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 e0692ceb8c83..a2069d353cf9 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 @@ -1,9 +1,11 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_fp_ok } */ /* { dg-require-effective-target arm_v8_1m_mve_ok } */ /* 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-add-options arm_fp } */ #include <arm_mve.h>