diff mbox series

[committed] testsuite: Skip gfortran.dg/ieee/ieee_[68].f90 for Arm targets [PR78314]

Message ID mpt1rbjaao7.fsf@arm.com
State New
Headers show
Series [committed] testsuite: Skip gfortran.dg/ieee/ieee_[68].f90 for Arm targets [PR78314] | expand

Commit Message

Richard Sandiford April 9, 2021, 12:45 p.m. UTC
For the reasons discussed in PR78314, ieee_support_halting
doesn't work correctly for arm* and aarch64*.  I think the
easiest thing is to skip these tests until the PR is fixed.

This doesn't mean that the PR is unimportant.  It just doesn't
seem useful to have the unpredictable failures described in the
PR trail given that the problem is known and has been analysed.

Tested on aarch64-linux-gnu, pushed to trunk.

Richard


gcc/testsuite/
	PR libfortran/78314
	* gfortran.dg/ieee/ieee_6.f90: Skip for arm* and aarch64*.
	* gfortran.dg/ieee/ieee_8.f90: Likewise.
---
 gcc/testsuite/gfortran.dg/ieee/ieee_6.f90 | 1 +
 gcc/testsuite/gfortran.dg/ieee/ieee_8.f90 | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/gcc/testsuite/gfortran.dg/ieee/ieee_6.f90 b/gcc/testsuite/gfortran.dg/ieee/ieee_6.f90
index 96ceaff09b0..1af7ed395b0 100644
--- a/gcc/testsuite/gfortran.dg/ieee/ieee_6.f90
+++ b/gcc/testsuite/gfortran.dg/ieee/ieee_6.f90
@@ -1,4 +1,5 @@ 
 ! { dg-do run }
+! { dg-skip-if "PR libfortran/78314" { aarch64*-*-gnu* arm*-*-gnueabi arm*-*-gnueabihf } }
 !
 ! This test will fail on older x86_64 glibc (< 2.20), due to this bug:
 ! https://sourceware.org/bugzilla/show_bug.cgi?id=16198
diff --git a/gcc/testsuite/gfortran.dg/ieee/ieee_8.f90 b/gcc/testsuite/gfortran.dg/ieee/ieee_8.f90
index d847b1b3eee..4a1158178ef 100644
--- a/gcc/testsuite/gfortran.dg/ieee/ieee_8.f90
+++ b/gcc/testsuite/gfortran.dg/ieee/ieee_8.f90
@@ -1,5 +1,5 @@ 
-! { dg-do run { xfail aarch64*-*-gnu* arm*-*-gnueabi arm*-*-gnueabihf } }
-! XFAIL because of PR libfortran/78449.
+! { dg-do run }
+! { dg-skip-if "PR libfortran/78314" { aarch64*-*-gnu* arm*-*-gnueabi arm*-*-gnueabihf } }
 
 module foo
   use :: ieee_exceptions