This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]