Fix pr88850.c testcase which was failing in hardfp environments.

Committed as obvious.

ChangeLog:
2019-02-19  Wilco Dijkstra  <wdijk...@arm.com>

        * gcc.target/arm/pr88850.c: Block -mfloat-abi override.

--
diff --git a/gcc/testsuite/gcc.target/arm/pr88850.c 
b/gcc/testsuite/gcc.target/arm/pr88850.c
index 
6edd6bcee54dbc843b539ff67399ee7a30a707e4..67fe942a8b8755c18ce8971c3b48011613988a6a
 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)));

Reply via email to