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  <rguent...@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.

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" } } */
 

Reply via email to