From dd4770ec17abd5b6954144b882c291ded188cf56 Mon Sep 17 00:00:00 2001 From: Kyrylo Tkachov Date: Wed, 17 Jan 2018 16:27:19 +0000 Subject: [PATCH] [arm][testsuite] Fix -march tests in effective target checks auto-generation There is a typo in the armv8.1-a and armv8.2-a effective target check generators. They are not actually used anywhere in the testsuite as far as I can tell, but the fix is obvious. * lib/target-supports.exp: Fix -march arguments in arm arch effective target check autogenerator for armv8.1-a and armv8.2-a. From-SVN: r256799 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/lib/target-supports.exp | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 42fc5ba96e4..0fd9f9944b7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-01-17 Kyrylo Tkachov + + * lib/target-supports.exp: Fix -march arguments in arm arch effective + target check autogenerator for armv8.1-a and armv8.2-a. + 2018-01-17 Carl Love * gcc.target/powerpc/builtins-6-p9-runnable.c: Add additional tests. Add debug print statements. diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 98a5eb75cbe..0e2861ce485 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -4109,8 +4109,8 @@ foreach { armfunc armflag armdefs } { v7ve "-march=armv7ve -marm" "__ARM_ARCH_7A__ && __ARM_FEATURE_IDIV" v8a "-march=armv8-a" __ARM_ARCH_8A__ - v8_1a "-march=armv8.1a" __ARM_ARCH_8A__ - v8_2a "-march=armv8.2a" __ARM_ARCH_8A__ + v8_1a "-march=armv8.1-a" __ARM_ARCH_8A__ + v8_2a "-march=armv8.2-a" __ARM_ARCH_8A__ v8m_base "-march=armv8-m.base -mthumb -mfloat-abi=soft" __ARM_ARCH_8M_BASE__ v8m_main "-march=armv8-m.main -mthumb" __ARM_ARCH_8M_MAIN__ -- 2.30.2