[arm][testsuite] Fix -march tests in effective target checks auto-generation
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 17 Jan 2018 16:27:19 +0000 (16:27 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 17 Jan 2018 16:27:19 +0000 (16:27 +0000)
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
gcc/testsuite/lib/target-supports.exp

index 42fc5ba..0fd9f99 100644 (file)
@@ -1,3 +1,8 @@
+2018-01-17  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * 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  <cel@us.ibm.com>
        * gcc.target/powerpc/builtins-6-p9-runnable.c: Add additional tests.
        Add debug print statements.
index 98a5eb7..0e2861c 100644 (file)
@@ -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__