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

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

index e53731ec08c3b177085ae11b70a524ff81f1f24a..8d51a72517ad3d7e3fe82256396d69c28c4bb2a6 100644 (file)
@@ -1,3 +1,8 @@
+2019-02-21  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * gcc.target/arm/pr88850-2.c: Block -mfloat-abi override.
+       * gcc.target/arm/pr88850.c: Use -mfloat-abi=softfp.
+
 2019-02-21  Thomas Koenig  <tkoenig@gcc.gnu.org>
 
        PR fortran/86119
index 7a1aec55dc70625bd6306e8d6bf094e11afe81bc..f33361ca11d5120726bef2eb8accee8a8b0e2aed 100644 (file)
@@ -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 } */
index 67fe942a8b8755c18ce8971c3b48011613988a6a..365c9d73696b82653a9f86bf27431a73beee4df4 100644 (file)
@@ -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 } */