aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2021-04-09 13:43:15 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2021-04-09 13:43:15 +0100
commitf44a2713da7ea8f5abde5b3a98ddf1ab97b9175a (patch)
treee242e197645546f90dcdb10d929e8d775869f758
parentba2913f618ab2fecf15355f936028a39b5a9db87 (diff)
downloadgcc-f44a2713da7ea8f5abde5b3a98ddf1ab97b9175a.zip
gcc-f44a2713da7ea8f5abde5b3a98ddf1ab97b9175a.tar.gz
gcc-f44a2713da7ea8f5abde5b3a98ddf1ab97b9175a.tar.bz2
testsuite: Skip gfortran.dg/ieee/ieee_[68].f90 for Arm targets [PR78314]
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. gcc/testsuite/ PR libfortran/78314 * gfortran.dg/ieee/ieee_6.f90: Skip for arm* and aarch64*. * gfortran.dg/ieee/ieee_8.f90: Likewise.
-rw-r--r--gcc/testsuite/gfortran.dg/ieee/ieee_6.f901
-rw-r--r--gcc/testsuite/gfortran.dg/ieee/ieee_8.f904
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/gfortran.dg/ieee/ieee_6.f90 b/gcc/testsuite/gfortran.dg/ieee/ieee_6.f90
index 96ceaff..1af7ed3 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 d847b1b..4a11581 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