From a9a318b031037cf3c486d7d863eae8491f1898d2 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 24 Nov 2014 11:07:23 +0000 Subject: [PATCH] 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(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 363e26d42d4..89b181fc1af 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +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 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 2a1a4084312..07fbbbe546b 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" } } */ -- 2.30.2