[PATCH] Fix PR64039

Richard Biener rguenther@suse.de
Mon Nov 24 11:31:00 GMT 2014


Committed.

Richard.

2014-11-24  Richard Biener  <rguenther@suse.de>

	PR testsuite/64039
	* gcc.dg/tree-ssa/ssa-dom-cse-2.c: XFAIL for hppa*-*-*.

Index: testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c
===================================================================
--- testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c	(revision 218005)
+++ testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c	(working copy)
@@ -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" } } */



More information about the Gcc-patches mailing list