[ARM] Fix copysign_softfloat_1.c option directives
commitbf9e13723dc9e9d691633464a8841511806cb23a
authorthopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Mar 2018 18:22:56 +0000 (1 18:22 +0000)
committerthopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Mar 2018 18:22:56 +0000 (1 18:22 +0000)
treeacd3758acbe1e75f49d25867d2d118ecd3d8f9bc
parent786721dc0955fc17725e8d1017f0baef16044ac9
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258108 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/copysign_softfloat_1.c