From fbf5a473e03f6ec0ad66e15b5b60967c46be5acb Mon Sep 17 00:00:00 2001 From: Janis Johnson Date: Wed, 21 May 2008 18:13:32 +0000 Subject: [PATCH] * gfortran.dg/nint_2.f90: XFAIL only when using -O0. From-SVN: r135731 --- gcc/testsuite/ChangeLog | 2 ++ gcc/testsuite/gfortran.dg/nint_2.f90 | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5600a4099a7..5142bdf4dcc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,7 @@ 2008-05-21 Janis Johnson + * gfortran.dg/nint_2.f90: XFAIL only when using -O0. + * lib/target-supports-dg.exp (dg-xfail-run-if): New. * gcc.test-framework/dg-do-run-xrif-exp-F.c: New test. * gcc.test-framework/dg-do-run-xrif-exp-P.c: New test. diff --git a/gcc/testsuite/gfortran.dg/nint_2.f90 b/gcc/testsuite/gfortran.dg/nint_2.f90 index 6584f50fcf6..7520727f042 100644 --- a/gcc/testsuite/gfortran.dg/nint_2.f90 +++ b/gcc/testsuite/gfortran.dg/nint_2.f90 @@ -3,7 +3,8 @@ ! PR 31202 ! http://gcc.gnu.org/ml/fortran/2005-04/msg00139.html ! -! { dg-do run { xfail powerpc-ibm-aix* powerpc*-*-linux* *-*-mingw* } } +! { dg-do run } +! { dg-xfail-run-if "PR 33271, math library bug" { powerpc-ibm-aix powerpc*-*-linux* *-*-mingw* } { "-O0" } { "" } } real(kind=8) :: a integer(kind=8) :: i1, i2 real :: b -- 2.30.2