[PATCH, testsuite]: Xfail gfortran.dg/large_real_kind_3.F90 on darwin for -O0

Uros Bizjak ubizjak@gmail.com
Thu Feb 28 15:18:00 GMT 2008


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



More information about the Gcc-patches mailing list