[arm] Fix gcc.target/arm/g2.c and scd42-2.c for --with-mode=thumb hardfloat targets
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 17 Jan 2018 19:11:15 +0000 (19:11 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 17 Jan 2018 19:11:15 +0000 (19:11 +0000)
commita4d4d2f5cf230a0125526aea59016c792d807b94
tree14b6bf0b71f37f010046861b71af7fdf9d06f86d
parente423d5bc0481ee889c3fa251337978675848b0f4
[arm] Fix gcc.target/arm/g2.c and scd42-2.c for --with-mode=thumb hardfloat targets

These -mcpu=xscale tests are ARM-only tests and they go to great pains to reject
explicit overriding options, but they're missing the -marm in their dg-options, which means
they will still give that nasty Thumb1 hard-float error when testing an implicit --with-mode=thumb
toolchain (--with-cpu=cortex-a15 --with-fpu=neon-vfpv4 --with-float=hard --with-mode=thumb, for example).

This patch adds the missing -marm and all is good again.

     * gcc.target/arm/g2.c: Add -marm to dg-options.
     * gcc.target/arm/scd42-2.c: Likewise.

From-SVN: r256812
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/g2.c
gcc/testsuite/gcc.target/arm/scd42-2.c