On 29/01/2026 15:55, Christopher Bazley via Sourceware Forge wrote: > From: Christopher Bazley <[email protected]> > > This test was trying to set the architecture directly instead of > using the framework. The queried options were previously ignored. > > gcc/testsuite/ChangeLog: > * gcc.target/arm/stack-protector-7.c: Fix dgdirectives. > --- > gcc/testsuite/gcc.target/arm/stack-protector-7.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/gcc/testsuite/gcc.target/arm/stack-protector-7.c > b/gcc/testsuite/gcc.target/arm/stack-protector-7.c > index 23207fd98c84..607e87d260a8 100644 > --- a/gcc/testsuite/gcc.target/arm/stack-protector-7.c > +++ b/gcc/testsuite/gcc.target/arm/stack-protector-7.c > @@ -1,7 +1,7 @@ > /* { dg-do compile } */ > -/* { dg-require-effective-target arm_hard_vfp_ok } */ > -/* { dg-require-effective-target arm_arch_v7a_ok } */ > -/* { dg-options "-march=armv7-a -mfpu=vfp -fstack-protector-all -Os > -mstack-protector-guard=tls -mstack-protector-guard-offset=1296 -mtp=cp15" } > */ > +/* { dg-require-effective-target arm_arch_v7a_fp_hard_ok } */ > +/* { dg-options "-fstack-protector-all -Os -mstack-protector-guard=tls > -mstack-protector-guard-offset=1296 -mtp=cp15" } */ > +/* { dg-add-options arm_arch_v7a_fp_hard } */ > > #include "stack-protector-5.c" >
Thanks, committed. R.
