From: Wilco Dijkstra Date: Tue, 19 Feb 2019 18:43:43 +0000 (+0000) Subject: Fix pr88850 test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8350f09ab8413b550fa3fa1720d1e5038eb5277;p=gcc.git Fix pr88850 test Fix pr88850.c testcase which was failing in hardfp environments. Committed as obvious. gcc/testsuite/ * gcc.target/arm/pr88850.c: Block -mfloat-abi override. From-SVN: r269026 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4ea21550f0d..0bb6a5dc986 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-02-19 Wilco Dijkstra + + * gcc.target/arm/pr88850.c: Block -mfloat-abi override. + 2019-02-19 Thomas Koenig PR fortran/89384 diff --git a/gcc/testsuite/gcc.target/arm/pr88850.c b/gcc/testsuite/gcc.target/arm/pr88850.c index 6edd6bcee54..67fe942a8b8 100644 --- a/gcc/testsuite/gcc.target/arm/pr88850.c +++ b/gcc/testsuite/gcc.target/arm/pr88850.c @@ -1,6 +1,7 @@ /* PR target/88850 */ /* { dg-do compile } */ -/* { dg-additional-options "-O2 -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdump-rtl-final" } */ +/* { dg-skip-if "do not override -mfloat-abi" { *-*-* } { "-mfloat-abi=*" } {"-mfloat-abi=soft" } } */ +/* { dg-options "-O2 -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdump-rtl-final" } */ /* { dg-require-effective-target arm_neon_ok } */ typedef __builtin_neon_qi int8x8_t __attribute__ ((__vector_size__ (8)));