Patchwork Fix PR49662, XFAIL testcases

login
register
mail settings
Submitter Richard Guenther
Date July 8, 2011, 8:41 a.m.
Message ID <alpine.LNX.2.00.1107081041130.810@zhemvz.fhfr.qr>
Download mbox | patch
Permalink /patch/103782/
State New
Headers show

Comments

Richard Guenther - July 8, 2011, 8:41 a.m.
This XFAILs the loop interchange testcases that are now confused
by better PRE.

Tested on x86_64-unknown-linux-gnu, applied.

Richard.

2011-07-08  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/49662
	* gcc.dg/graphite/interchange-14.c: XFAIL.
	* gcc.dg/graphite/interchange-15.c: Likewise.
	* gcc.dg/graphite/interchange-mvt.c: Likewise.

Patch

Index: gcc/testsuite/gcc.dg/graphite/interchange-14.c
===================================================================
--- gcc/testsuite/gcc.dg/graphite/interchange-14.c	(revision 176030)
+++ gcc/testsuite/gcc.dg/graphite/interchange-14.c	(working copy)
@@ -54,5 +54,6 @@  main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" } } */
+/* PRE destroys the perfect nest and we can't cope with that yet.  */
+/* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" { xfail *-*-* } } } */
 /* { dg-final { cleanup-tree-dump "graphite" } } */
Index: gcc/testsuite/gcc.dg/graphite/interchange-15.c
===================================================================
--- gcc/testsuite/gcc.dg/graphite/interchange-15.c	(revision 176030)
+++ gcc/testsuite/gcc.dg/graphite/interchange-15.c	(working copy)
@@ -48,6 +48,7 @@  main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" } } */
+/* PRE destroys the perfect nest and we can't cope with that yet.  */
+/* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" { xfail *-*-* } } } */
 /* { dg-final { cleanup-tree-dump "graphite" } } */
 
Index: gcc/testsuite/gcc.dg/graphite/interchange-mvt.c
===================================================================
--- gcc/testsuite/gcc.dg/graphite/interchange-mvt.c	(revision 176030)
+++ gcc/testsuite/gcc.dg/graphite/interchange-mvt.c	(working copy)
@@ -58,6 +58,7 @@  main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" } } */
+/* PRE destroys the perfect nest and we can't cope with that yet.  */
+/* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" { xfail *-*-* } } } */
 /* { dg-final { cleanup-tree-dump "graphite" } } */