https://gcc.gnu.org/g:b5cf867002893644685c1eeed8f2c888caebd1dd

commit r16-7838-gb5cf867002893644685c1eeed8f2c888caebd1dd
Author: Torbjörn SVENSSON <[email protected]>
Date:   Mon Feb 23 09:30:34 2026 +0100

    testsuite: arm: drop additional option -march=armv7-a
    
    Since r16-7155-g74907f407db641, the -march option is part of the
    arm_neon effective target, thus, the extra -march is pointless.
    Using -march=armv7-a also prevents testing using softfp or hard float
    ABI.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/arm/addr-modes-int.c: Drop additional option
            -march=armv7-a.
    
    Signed-off-by: Torbjörn SVENSSON <[email protected]>

Diff:
---
 gcc/testsuite/gcc.target/arm/addr-modes-int.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/arm/addr-modes-int.c 
b/gcc/testsuite/gcc.target/arm/addr-modes-int.c
index faedca052417..fe8d6123a13e 100644
--- a/gcc/testsuite/gcc.target/arm/addr-modes-int.c
+++ b/gcc/testsuite/gcc.target/arm/addr-modes-int.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -march=armv7-a" } */
+/* { dg-options "-O2" } */
 /* { dg-require-effective-target arm_neon_ok } */
 /* { dg-add-options arm_neon } */

Reply via email to