From 94381a904de0f8afff0ea8bce7243649cbb3a6e9 Mon Sep 17 00:00:00 2001 From: Renlin Li Date: Wed, 8 Jul 2015 09:15:31 +0000 Subject: [PATCH] [PATCH][ARM]Adjust compiling options for "gcc.target/arm/unsigned-float.c" with hardfloat toolchain. gcc/testsuite/ 2015-07-08 Renlin Li * gcc.target/arm/unsignedned-float.c: Different options for hf toolchain. From-SVN: r225538 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/arm/unsigned-float.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f812177..9ee034f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-07-08 Renlin Li + + * gcc.target/arm/unsigned-float.c: Different options for hf toolchain. + 2015-07-08 Andrew Bennett * gcc.target/mips/stack-1.c: Do not build the testcase for micromips. diff --git a/gcc/testsuite/gcc.target/arm/unsigned-float.c b/gcc/testsuite/gcc.target/arm/unsigned-float.c index bb05c85..b9ed681 100644 --- a/gcc/testsuite/gcc.target/arm/unsigned-float.c +++ b/gcc/testsuite/gcc.target/arm/unsigned-float.c @@ -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 -- 2.7.4