[PATCH] testsuite (committed) xfail libstdc++ tests for broken cplxf arg

Janis Johnson janis187@us.ibm.com
Sat Feb 12 15:40:00 GMT 2005


On Fri, Feb 11, 2005 at 03:33:31PM -0800, Janis Johnson wrote:
> On Fri, Feb 11, 2005 at 06:00:13PM -0500, James A. Morrison wrote:
> > 
> > Janis Johnson <janis187@us.ibm.com> writes:
> > 
> > > +// { dg-do run { xfail { powerpc*-*-linux* && broken_cplxf_arg } } }
> > 
> >  Shouldn't this be xfail { broken_cplxf_arg } ?
> 
> It should indeed, I'll fix that.

Remove redundant check in xfail lists for broken_cplx_arg; that effective
target might be extended to include additional platforms, and checking
for powerpc (besides being redundant) would exclude them.

Tested by running tests in 26_numeric/complex with both -m32 and -m64
on powerpc64-unknown-linux-gnu, on a system where libm is compatible
and on a system where libm is not compatible.  Checked in on mainline.

2005-02-11  Janis Johnson  <janis187@us.ibm.com>

	* testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
	* testsuite/26_numerics/complex/complex_value.cc: Ditto.
	* testsuite/26_numerics/complex/pow.cc: Ditto.

--- libstdc++-v3/testsuite/26_numerics/complex/13450.cc.prev	2005-02-11 15:43:14.000000000 -0800
+++ libstdc++-v3/testsuite/26_numerics/complex/13450.cc	2005-02-11 15:40:26.000000000 -0800
@@ -1,4 +1,4 @@
-// { dg-do run { xfail { powerpc*-*-linux* && broken_cplxf_arg } } }
+// { dg-do run { xfail broken_cplxf_arg } }
 
 // Copyright (C) 2004 Free Software Foundation
 //
--- libstdc++-v3/testsuite/26_numerics/complex/complex_value.cc.prev	2005-02-11 15:40:05.000000000 -0800
+++ libstdc++-v3/testsuite/26_numerics/complex/complex_value.cc	2005-02-11 15:41:02.000000000 -0800
@@ -1,4 +1,4 @@
-// { dg-do run { xfail { powerpc*-*-linux* && broken_cplxf_arg } } }
+// { dg-do run { xfail broken_cplxf_arg } }
 // { dg-options "-O0" }
 // 2000-11-20
 // Benjamin Kosnik bkoz@redhat.com
--- libstdc++-v3/testsuite/26_numerics/complex/pow.cc.prev	2005-02-11 15:40:12.000000000 -0800
+++ libstdc++-v3/testsuite/26_numerics/complex/pow.cc	2005-02-11 15:41:20.000000000 -0800
@@ -1,4 +1,4 @@
-// { dg-do run { xfail { powerpc*-*-linux* && broken_cplxf_arg } } }
+// { dg-do run { xfail broken_cplxf_arg } }
 // PR libstdc++/10689
 // Origin: Daniel.Levine@jhuaph.edu
 // { dg-options "-mieee" { target alpha*-*-* } }



More information about the Gcc-patches mailing list