From a9a318b031037cf3c486d7d863eae8491f1898d2 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 24 Nov 2014 11:07:23 +0000 Subject: re PR testsuite/64039 (FAIL: gcc.dg/tree-ssa/ssa-dom-cse-2.c scan-tree-dump optimized "return 28;") 2014-11-24 Richard Biener PR testsuite/64039 * gcc.dg/tree-ssa/ssa-dom-cse-2.c: XFAIL for hppa*-*-*. From-SVN: r218011 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 363e26d..89b181f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2014-11-24 Richard Biener + PR testsuite/64039 + * gcc.dg/tree-ssa/ssa-dom-cse-2.c: XFAIL for hppa*-*-*. + +2014-11-24 Richard Biener + PR tree-optimization/55334 * gcc.dg/tree-ssa/restrict-5.c: New testcase. diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c index 2a1a408..07fbbbe 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c @@ -17,5 +17,8 @@ foo () /* After late unrolling the above loop completely DOM should be able to optimize this to return 28. */ -/* { dg-final { scan-tree-dump "return 28;" "optimized" } } */ +/* See PR63679, if the target forces the initializer to memory then + DOM is not able to perform this optimization. */ + +/* { dg-final { scan-tree-dump "return 28;" "optimized" { xfail hppa*-*-* } } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */ -- cgit v1.1