On 23/02/2026 08:35, Torbjörn SVENSSON wrote: > Ok for trunk? OK.
R. > > Also, after > https://gcc.gnu.org/pipermail/gcc-patches/2026-February/708846.html > has been approved, this also needs to be picked to releases/gcc-15 to avoid 17 > unresolved and 1 fail. > > Kind regards, > Torbjörn > > -- > > 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. > --- > 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 faedca05241..fe8d6123a13 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 } */ >
