diff mbox

[rs6000] Remove XFAIL of gfortran.dg/nint_2.f90 for powerpc64le

Message ID 1403815453.3051.7.camel@gnopaine
State New
Headers show

Commit Message

Bill Schmidt June 26, 2014, 8:44 p.m. UTC
Hi,

The test case gfortran.dg/nint_2.f90 is XFAILed for certain platforms
because glibc produces wrong results in some cases.  The relatively new
powerpc64le-unknown-linux-gnu platform does not have this problem, but
the wild-carding causes it to be XFAILed incorrectly.  This patch
changes the wild-carding to exclude it.

Is this OK for trunk, 4.9, and 4.8?

Thanks,
Bill


2014-06-26  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* gfortran.dg/nint_2.f90: Don't XFAIL for powerpc64le-*-linux*.

Comments

David Edelsohn June 26, 2014, 11:28 p.m. UTC | #1
On Thu, Jun 26, 2014 at 4:44 PM, Bill Schmidt
<wschmidt@linux.vnet.ibm.com> wrote:
> Hi,
>
> The test case gfortran.dg/nint_2.f90 is XFAILed for certain platforms
> because glibc produces wrong results in some cases.  The relatively new
> powerpc64le-unknown-linux-gnu platform does not have this problem, but
> the wild-carding causes it to be XFAILed incorrectly.  This patch
> changes the wild-carding to exclude it.
>
> Is this OK for trunk, 4.9, and 4.8?

LGTM.

Thanks, David
diff mbox

Patch

Index: gcc/testsuite/gfortran.dg/nint_2.f90
===================================================================
--- gcc/testsuite/gfortran.dg/nint_2.f90	(revision 212046)
+++ gcc/testsuite/gfortran.dg/nint_2.f90	(working copy)
@@ -4,7 +4,8 @@ 
 ! 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* *-*-mingw* } { "-O0" } { "" } }
+! { 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*.
   real(kind=8) :: a
   integer(kind=8) :: i1, i2
   real :: b