This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] rs6000: Do not xfail nint_2.f90 on Linux systems
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: gcc-patches at gcc dot gnu dot org
- Cc: dje dot gcc at gmail dot com, Segher Boessenkool <segher at kernel dot crashing dot org>
- Date: Wed, 15 Mar 2017 15:22:22 +0000
- Subject: [PATCH] rs6000: Do not xfail nint_2.f90 on Linux systems
- Authentication-results: sourceware.org; auth=none
It was XFAILed because there was a bug in glibc, but that bug was fixed
nine years ago. Nowadays everyone uses a version of glibc with the bug
fixed, so we should no longer XFAIL the test.
This fixes it. Testing on powerpc64-linux {-m32,-m64}, will commit if
that succeeds.
Segher
2017-03-15 Segher Boessenkool <segher@kernel.crashing.org>
gcc/testsuite/
PR fortran/33271
* gfortran.dg/nint_2.f90: Do not xfail powerpc*-*-linux*.
---
gcc/testsuite/gfortran.dg/nint_2.f90 | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gcc/testsuite/gfortran.dg/nint_2.f90 b/gcc/testsuite/gfortran.dg/nint_2.f90
index 0727136..be195e7 100644
--- a/gcc/testsuite/gfortran.dg/nint_2.f90
+++ b/gcc/testsuite/gfortran.dg/nint_2.f90
@@ -4,8 +4,7 @@
! http://gcc.gnu.org/ml/fortran/2005-04/msg00139.html
!
! { dg-do run }
-! { dg-xfail-run-if "PR 33271, math library bug" { powerpc-ibm-aix* powerpc-*-linux* powerpc64-*-linux* *-*-mingw* } { "-O0" } { "" } }
-! Note that this doesn't fail on powerpc64le-*-linux*.
+! { dg-xfail-run-if "PR 33271, math library bug" { powerpc-ibm-aix* *-*-mingw* } { "-O0" } { "" } }
real(kind=8) :: a
integer(kind=8) :: i1, i2
real :: b
--
1.9.3