]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: arm: Use effective-target for pr68620 and pr78041 tests
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Thu, 31 Oct 2024 18:00:36 +0000 (19:00 +0100)
committerTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Tue, 5 Nov 2024 19:24:27 +0000 (20:24 +0100)
gcc/testsuite/ChangeLog:

* gcc.target/arm/pr68620.c: Use effective-target arm_neon.
* gcc.target/arm/pr78041.c: Use effective-target arm_arch_v7a.

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

index 91878432b005b80bd63968f23d04974ed21fc0f2..6e38671752f20e8304b6330a3aebdbf911a6604b 100644 (file)
@@ -1,8 +1,8 @@
 /* { dg-do compile } */
 /* { dg-skip-if "-mpure-code supports M-profile without Neon only" { *-*-* } { "-mpure-code" } } */
-/* { dg-require-effective-target arm_fp_ok } */
-/* { dg-options "-mfp16-format=ieee" } */
-/* { dg-add-options arm_fp } */
+/* { dg-require-effective-target arm_arch_v7a_ok } */
+/* { dg-options "-mfp16-format=ieee -mfpu=auto -mfloat-abi=softfp" } */
+/* { dg-add-options arm_arch_v7a } */
 
 #include "arm_neon.h"
 
index 340ab5cb433b28ca7d47e236fee93581e7c195c4..418b7e09fc44c1d3756b4e72ab5742d0268cdd9d 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-require-effective-target arm_thumb2_ok } */
 /* { dg-require-effective-target arm_neon_ok } */
-/* { dg-options "-fno-inline -mthumb -O1 -mfpu=neon -w" } */
+/* { dg-options "-fno-inline -mthumb -O1 -w" } */
+/* { dg-add-options arm_neon } */
 
 extern void abort (void);