Patchwork [testsuite] Don't XFAIL g++.dg/tree-ssa/pr43411.C

login
register
mail settings
Submitter Rainer Orth
Date May 2, 2011, 2:13 p.m.
Message ID <ydd62pti416.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
Download mbox | patch
Permalink /patch/93664/
State New
Headers show

Comments

Rainer Orth - May 2, 2011, 2:13 p.m.
Given that g++.dg/tree-ssa/pr43411.C seems to XPASS everywhere, it seems
time to remove the xfail.

Tested on i386-pc-solaris2.11 with the appropriate runtest invocation,
ok for mainline?

	Rainer


2011-04-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* g++.dg/tree-ssa/pr43411.C: Remove xfail.
Richard Guenther - May 2, 2011, 2:34 p.m.
On Mon, May 2, 2011 at 4:13 PM, Rainer Orth <ro@cebitec.uni-bielefeld.de> wrote:
> Given that g++.dg/tree-ssa/pr43411.C seems to XPASS everywhere, it seems
> time to remove the xfail.
>
> Tested on i386-pc-solaris2.11 with the appropriate runtest invocation,
> ok for mainline?

I think the testcase wants to test for devirtualization and inlined virtual
calls.  That still doesn't happen.  So the patterns need to be adjusted
to look for sth else than OBJ_TYPE_REF instead.

Richard.

>        Rainer
>
>
> 2011-04-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
>
>        * g++.dg/tree-ssa/pr43411.C: Remove xfail.
>
> diff --git a/gcc/testsuite/g++.dg/tree-ssa/pr43411.C b/gcc/testsuite/g++.dg/tree-ssa/pr43411.C
> --- a/gcc/testsuite/g++.dg/tree-ssa/pr43411.C
> +++ b/gcc/testsuite/g++.dg/tree-ssa/pr43411.C
> @@ -25,5 +25,5 @@ void testInlinePsub() {
>     sink1 = v(p);
>  }
>
> -// { dg-final { scan-tree-dump-not "OBJ_TYPE_REF" "optimized" { xfail *-*-* } } }
> +// { dg-final { scan-tree-dump-not "OBJ_TYPE_REF" "optimized" } }
>  // { dg-final { cleanup-tree-dump "optimized" } }
>
> --
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University
>

Patch

diff --git a/gcc/testsuite/g++.dg/tree-ssa/pr43411.C b/gcc/testsuite/g++.dg/tree-ssa/pr43411.C
--- a/gcc/testsuite/g++.dg/tree-ssa/pr43411.C
+++ b/gcc/testsuite/g++.dg/tree-ssa/pr43411.C
@@ -25,5 +25,5 @@  void testInlinePsub() {
     sink1 = v(p);
 }
 
-// { dg-final { scan-tree-dump-not "OBJ_TYPE_REF" "optimized" { xfail *-*-* } } }
+// { dg-final { scan-tree-dump-not "OBJ_TYPE_REF" "optimized" } }
 // { dg-final { cleanup-tree-dump "optimized" } }