On Thu, Sep 12, 2024 at 8:42 PM Richard Earnshaw <rearn...@arm.com> wrote: > > This short patch series adds the ability to unset the -mcpu and -march > options on the Arm port. This helps to avoid ambiguities and warnings > if, for some reason, the compiler flags need to be overridden. > > The main intent of this is to help improve the compatibility of tests > in the testsuite. I haven't fixed all of the possible use cases with > this series, but I have converted some of the main tables in the > dejagnu target support. > > Richard Earnshaw (2): > arm: Allow -mcpu and -march options to be unset > arm: testsuite: make use of -mcpu=unset/-march=unset > > gcc/config/arm/arm.h | 14 ++++-- > gcc/doc/invoke.texi | 12 ++++++ > gcc/testsuite/gcc.target/arm/g2.c | 4 +- > gcc/testsuite/gcc.target/arm/scd42-2.c | 4 +- > gcc/testsuite/lib/target-supports.exp | 59 ++++++++++++++++++++++++-- > 5 files changed, 83 insertions(+), 10 deletions(-) >
LGTM , anything to reduce the noise in the testsuite with multilibs sounds great to me. > -- > 2.34.1 >