* gfortran.dg/nint_2.f90: XFAIL only when using -O0.
authorJanis Johnson <janis187@us.ibm.com>
Wed, 21 May 2008 18:13:32 +0000 (18:13 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Wed, 21 May 2008 18:13:32 +0000 (18:13 +0000)
From-SVN: r135731

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/nint_2.f90

index 5600a4099a752e156dfa38b876df95f78c0233b9..5142bdf4dcc19c604fb621c20484b7a10a89b171 100644 (file)
@@ -1,5 +1,7 @@
 2008-05-21  Janis Johnson  <janis187@us.ibm.com>
 
+       * 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.
index 6584f50fcf6b8dc415d4e80cb5fd20bf09d4fa52..7520727f0424fd2058f8225e4f5ee80cc790aa38 100644 (file)
@@ -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