* gcc.dg/autopar/pr49960.c: Fix testcase.
authorJan Hubicka <jh@suse.cz>
Mon, 5 Nov 2012 10:45:03 +0000 (11:45 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 5 Nov 2012 10:45:03 +0000 (10:45 +0000)
From-SVN: r193155

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/autopar/pr49960.c

index 139df2cb2a896d2bba3924552dcd4e5639b79daf..65c9315ebdc2547da117a1810a9e27dc9d0522b5 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-05  Jan Hubicka  <jh@suse.cz>
+
+       * gcc.dg/autopar/pr49960.c: Fix testcase.
+
 2012-11-05  Uros Bizjak  <ubizjak@gmail.com>
 
        * gcc.dg/tree-ssa/cunroll-9.c: Dump cunrolli details.
index 1f3482f170d054549f7c08a45ac7998578f5c3cb..b34a52077554084d46082f6328871be2379241c7 100644 (file)
@@ -11,6 +11,11 @@ void MRTRBR(int MA_1, int NA_1, int MB_1)
 {
   int i,j, t,k;
 
+  /* At the moment we are not able to hoist the loop headers out of the loop
+     nest.  */
+  if (MA_1 < 4 || NA_1 < 4 || MB_1 < 4)
+    return;
+
   /* The outer most loop is not parallel because for different k's there
      is write-write dependency for T[i][j].  */