public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [testsuite] Only XFAIL gfortran.dg/g77/cabs.f execution at -O0 on IRIX 6.5
@ 2011-03-31 15:28 Rainer Orth
  0 siblings, 0 replies; only message in thread
From: Rainer Orth @ 2011-03-31 15:28 UTC (permalink / raw)
  To: gcc-patches; +Cc: fortran

I noticed that on IRIX 6.5, gfortran.dg/g77/cabs.f XPASSes at all
optimization levels except -O0.  The following patch reflects this.

Tested with the appropriate runtest invocations, installed on mainline
and 4.6 branch.

The 4.5 branch, which still support the O32 ABI, needs the slightly
different patch in that the testcase passes even at -O0 there.

	Rainer


2011-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR target/16292
	* gfortran.dg/g77/cabs.f: Only xfail execution on mips-sgi-irix6*
	with -O0.

diff --git a/gcc/testsuite/gfortran.dg/g77/cabs.f b/gcc/testsuite/gfortran.dg/g77/cabs.f
--- a/gcc/testsuite/gfortran.dg/g77/cabs.f
+++ b/gcc/testsuite/gfortran.dg/g77/cabs.f
@@ -1,4 +1,5 @@
-c { dg-do run { xfail mips-sgi-irix6* } } PR 16292
+c { dg-do run }
+c { dg-xfail-run-if "PR target/16292" { mips-sgi-irix6* } { -O0 } }
       program cabs_1
       complex      z0
       real         r0


2011-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR target/16292
	* gfortran.dg/g77/cabs.f: Only xfail execution on mips-sgi-irix6*
	with -O0 except with -mabi=32.

Index: gcc/testsuite/gfortran.dg/g77/cabs.f
===================================================================
--- gcc/testsuite/gfortran.dg/g77/cabs.f	(revision 171785)
+++ gcc/testsuite/gfortran.dg/g77/cabs.f	(working copy)
@@ -1,4 +1,5 @@
-c { dg-do run { xfail mips-sgi-irix6* } } PR 16292
+c { dg-do run }
+c { dg-xfail-run-if "PR target/16292" { mips-sgi-irix6* } { -O0 } { -mabi=32 } }
       program cabs_1
       complex      z0
       real         r0

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-31 15:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-31 15:28 [testsuite] Only XFAIL gfortran.dg/g77/cabs.f execution at -O0 on IRIX 6.5 Rainer Orth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).