From: Wilco Dijkstra Date: Thu, 21 Feb 2019 18:08:56 +0000 (+0000) Subject: Fix pr88850-2 test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f64629aa9aefbdcf895b120f00caf5b18a17e3e4;p=gcc.git Fix pr88850-2 test Like the pr88850.c test, also fix the pr88850-2.c testcase which was failing in hardfp environments. Committed as obvious. gcc/testsuite/ * gcc.target/arm/pr88850-2.c: Block -mfloat-abi override. * gcc.target/arm/pr88850.c: Use -mfloat-abi=softfp. From-SVN: r269072 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e53731ec08c..8d51a72517a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-02-21 Wilco Dijkstra + + * gcc.target/arm/pr88850-2.c: Block -mfloat-abi override. + * gcc.target/arm/pr88850.c: Use -mfloat-abi=softfp. + 2019-02-21 Thomas Koenig PR fortran/86119 diff --git a/gcc/testsuite/gcc.target/arm/pr88850-2.c b/gcc/testsuite/gcc.target/arm/pr88850-2.c index 7a1aec55dc7..f33361ca11d 100644 --- a/gcc/testsuite/gcc.target/arm/pr88850-2.c +++ b/gcc/testsuite/gcc.target/arm/pr88850-2.c @@ -1,5 +1,6 @@ /* PR target/88850. */ /* { dg-do compile } */ +/* { dg-skip-if "do not override -mfloat-abi" { *-*-* } { "-mfloat-abi=*" } {"-mfloat-abi=softfp" } } */ /* { dg-additional-options "-O2 -march=armv7-a -fdump-rtl-final" } */ /* { dg-add-options arm_neon_softfp_fp16 } */ /* { dg-require-effective-target arm_neon_softfp_fp16_ok } */ diff --git a/gcc/testsuite/gcc.target/arm/pr88850.c b/gcc/testsuite/gcc.target/arm/pr88850.c index 67fe942a8b8..365c9d73696 100644 --- a/gcc/testsuite/gcc.target/arm/pr88850.c +++ b/gcc/testsuite/gcc.target/arm/pr88850.c @@ -1,6 +1,6 @@ /* PR target/88850 */ /* { dg-do compile } */ -/* { dg-skip-if "do not override -mfloat-abi" { *-*-* } { "-mfloat-abi=*" } {"-mfloat-abi=soft" } } */ +/* { dg-skip-if "do not override -mfloat-abi" { *-*-* } { "-mfloat-abi=*" } {"-mfloat-abi=softfp" } } */ /* { dg-options "-O2 -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdump-rtl-final" } */ /* { dg-require-effective-target arm_neon_ok } */