[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 f812177c02ae44cb5b5b8c3316277539f8f34bd0..9ee034f4ed8b12329dc125085ef9bb8921e3be88 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 bb05c85c63cf9672585ce272f629e49f533a7014..b9ed6811bfb97ef7c3ee6eb131b5d4fa36d258b0 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>