From b504063421d10afa572be9734468fc6ccff51186 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 29 Apr 2015 08:51:08 +0000 Subject: [PATCH] re PR tree-optimization/65917 (XFAIL: gcc.dg/tree-ssa/20030922-2.c scan-tree-dump-times dom1 "if " 2) 2015-04-29 Richard Biener PR tree-optimization/65917 * gcc.dg/tree-ssa/20030922-2.c: Disable ifcombine and XFAIL. From-SVN: r222562 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/tree-ssa/20030922-2.c | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 71ef124c263..77dce2e929c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-04-29 Richard Biener + + PR tree-optimization/65917 + * gcc.dg/tree-ssa/20030922-2.c: Disable ifcombine and XFAIL. + 2015-04-29 Christian Bruel PR target/64835 diff --git a/gcc/testsuite/gcc.dg/tree-ssa/20030922-2.c b/gcc/testsuite/gcc.dg/tree-ssa/20030922-2.c index 9a787bd21ba..5b9498cae4c 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/20030922-2.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/20030922-2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O1 -fdump-tree-dom1" } */ +/* { dg-options "-O1 -fdump-tree-dom1 -fdisable-tree-ifcombine" } */ struct rtx_def; typedef struct rtx_def *rtx; @@ -20,5 +20,9 @@ rgn_rank (rtx insn1, rtx insn2) } /* There should be two IF conditionals. */ -/* { dg-final { scan-tree-dump-times "if " 2 "dom1" } } */ +/* This now fails as it requires a very specific decision of DOM which + SSA name to record as a copy of the other when DOM derives copies + from temporary equivalences. The heuristics there no longer do + the correct thing. VRP still optimizes this testcase. */ +/* { dg-final { scan-tree-dump-times "if " 2 "dom1" { xfail *-*-* } } } */ /* { dg-final { cleanup-tree-dump "dom1" } } */ -- 2.30.2