This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, testsuite]: Xfail gfortran.dg/large_real_kind_3.F90 on darwin for -O0
- From: "Uros Bizjak" <ubizjak at gmail dot com>
- To: "gcc patches" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 28 Feb 2008 15:34:44 +0100
- Subject: [PATCH, testsuite]: Xfail gfortran.dg/large_real_kind_3.F90 on darwin for -O0
Hello!
We can conditionally XFAIL testcases based on compiler flags in
addition to target.
This patch should fix gfortran.dg/large_real_kind_3.F90 failure with
-O0 on ppc-apple-darwin.
Can someone check this patch on native Darwin platform?
2008-02-28 Uros Bizjak <ubizjak@gmail.com>
* gfortran.dg/large_real_kind_3.F90: Xfail on ppc-darwin for -O0.
OK for mainline and 4.3?
Uros.
Index: testsuite/gfortran.dg/large_real_kind_3.F90
===================================================================
--- testsuite/gfortran.dg/large_real_kind_3.F90 (revision 132745)
+++ testsuite/gfortran.dg/large_real_kind_3.F90 (working copy)
@@ -1,6 +1,7 @@
! { dg-do run }
! { dg-require-effective-target fortran_large_real }
! { dg-xfail-if "" { "*-*-freebsd*" } { "*" } { "" } }
+! { dg-xfail-if "libc bug" { "powerpc*-apple-darwin*" } { "-O0" } { "" } }
! Testing erf and erfc library calls on large real kinds (larger than kind=8)
implicit none