diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2018-03-01 18:22:56 +0000 |
---|---|---|
committer | Thomas Preud'homme <thopre01@gcc.gnu.org> | 2018-03-01 18:22:56 +0000 |
commit | 4c9ce243e9f594fd22a9081ba72f50e0d1cdd508 (patch) | |
tree | acd3758acbe1e75f49d25867d2d118ecd3d8f9bc /gcc | |
parent | d8cff23f65befa76082b54bd478c0b9299255788 (diff) | |
download | gcc-4c9ce243e9f594fd22a9081ba72f50e0d1cdd508.zip gcc-4c9ce243e9f594fd22a9081ba72f50e0d1cdd508.tar.gz gcc-4c9ce243e9f594fd22a9081ba72f50e0d1cdd508.tar.bz2 |
[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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/arm/copysign_softfloat_1.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bcb40ba..38bd3ae 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-03-01 Thomas Preud'homme <thomas.preudhomme@arm.com + + * gcc.target/arm/copysign_softfloat_1.c: Remove dg-add-options and add + -mthumb to the command-line. + 2018-03-01 Marek Polacek <polacek@redhat.com> PR c++/84596 diff --git a/gcc/testsuite/gcc.target/arm/copysign_softfloat_1.c b/gcc/testsuite/gcc.target/arm/copysign_softfloat_1.c index fdbeead..a14922f 100644 --- a/gcc/testsuite/gcc.target/arm/copysign_softfloat_1.c +++ b/gcc/testsuite/gcc.target/arm/copysign_softfloat_1.c @@ -1,7 +1,6 @@ /* { dg-do run } */ /* { dg-require-effective-target arm_thumb2_ok } */ -/* { dg-add-options arm_arch_v6t2 } */ -/* { dg-additional-options "-O2 --save-temps" } */ +/* { dg-additional-options "-mthumb -O2 --save-temps" } */ extern void abort (void); |