[ARM] Fix copysign_softfloat_1.c option directives
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Thu, 1 Mar 2018 18:22:56 +0000 (18:22 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Thu, 1 Mar 2018 18:22:56 +0000 (18:22 +0000)
commit4c9ce243e9f594fd22a9081ba72f50e0d1cdd508
treeacd3758acbe1e75f49d25867d2d118ecd3d8f9bc
parentd8cff23f65befa76082b54bd478c0b9299255788
[ARM] Fix copysign_softfloat_1.c option directives

gcc.target/arm/copysign_softfloat_1.c's use of arm_arch_v6t2 in
dg-add-option changes the architecture to -march=armv6t2. Since the test
only requires Thumb-2 capable architecture, we just need to add -mthumb
on the command line since arm_thumb2_ok guarantees by definition that
doing that is enough to select Thumb-2. This fixes warning on the
command line when having -mcpu=cortex-m3 in RUNTESTFLAGS for instance.

2018-03-01  Thomas Preud'homme  <thomas.preudhomme@arm.com

    gcc/testsuite/
    * gcc.target/arm/copysign_softfloat_1.c: Remove dg-add-options and add
    -mthumb to the command-line.

From-SVN: r258108
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/copysign_softfloat_1.c