Hi Richard, thanks for reviewing. Richard Earnshaw writes: [...] > diff --git a/gcc/testsuite/gcc.target/arm/acle/pacbti-m-predef-10.c > b/gcc/testsuite/gcc.target/arm/acle/pacbti-m-predef-10.c > new file mode 100644 > index 00000000000..311cf572dd9 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/arm/acle/pacbti-m-predef-10.c > @@ -0,0 +1,10 @@ > +/* { dg-do compile } */ > +/* { dg-additional-options " -mbranch-protection=bti+pac-ret" } */ > > This is not enough. For example, if the testsuite is being run with > "-march=armv6-m" as the testrun options, we'll get an error that will > cause a test failure. You need to run a pre-test rule that validates > that adding -mbranch-protection is safe. Right, please find attached the updated patch, it should fix this and the mentioned spacing issue. BR Andrea