Message ID | 1403815453.3051.7.camel@gnopaine |
---|---|
State | New |
Headers | show |
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
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