[PATCH][ARM]Adjust compiling options for "gcc.target/arm/unsigned-float.c"
authorRenlin Li <renlin.li@arm.com>
Wed, 8 Jul 2015 09:15:31 +0000 (09:15 +0000)
committerRenlin Li <renlin@gcc.gnu.org>
Wed, 8 Jul 2015 09:15:31 +0000 (09:15 +0000)
with hardfloat toolchain.

gcc/testsuite/

2015-07-08  Renlin Li  <renlin.li@arm.com>

* gcc.target/arm/unsignedned-float.c: Different options for hf toolchain.

From-SVN: r225538

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/unsigned-float.c

index f812177..9ee034f 100644 (file)
@@ -1,3 +1,7 @@
+2015-07-08  Renlin Li  <renlin.li@arm.com>
+
+       * gcc.target/arm/unsigned-float.c: Different options for hf toolchain.
+
 2015-07-08  Andrew Bennett  <andrew.bennett@imgtec.com>
 
        * gcc.target/mips/stack-1.c: Do not build the testcase for micromips.
index bb05c85..b9ed681 100644 (file)
@@ -1,7 +1,8 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target arm_vfp_ok } */
-/* { dg-options "-march=armv7-a -O1 -mfloat-abi=softfp" } */
 /* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
+/* { dg-options "-march=armv7-a -O1" } */
+/* { dg-additional-options "-mfloat-abi=softfp" { target { ! { arm_hf_eabi } } } } */
 
 #include <stdint.h>