Fix pr88850 test
authorWilco Dijkstra <wdijkstr@arm.com>
Tue, 19 Feb 2019 18:43:43 +0000 (18:43 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Tue, 19 Feb 2019 18:43:43 +0000 (18:43 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr88850.c

index 4ea21550f0dcd2ebd17e8e7147d1be617b643bb9..0bb6a5dc98633033dbe2b882eb16a3da5071005b 100644 (file)
@@ -1,3 +1,7 @@
+2019-02-19  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * gcc.target/arm/pr88850.c: Block -mfloat-abi override.
+
 2019-02-19  Thomas Koenig  <tkoenig@gcc.gnu.org>
 
        PR fortran/89384
index 6edd6bcee54dbc843b539ff67399ee7a30a707e4..67fe942a8b8755c18ce8971c3b48011613988a6a 100644 (file)
@@ -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)));