diff mbox

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

Message ID ydd62pti416.fsf@manam.CeBiTec.Uni-Bielefeld.DE
State New
Headers show

Commit Message

Rainer Orth May 2, 2011, 2:13 p.m. UTC
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.

Comments

Richard Biener May 2, 2011, 2:34 p.m. UTC | #1
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
>
diff mbox

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" } }