aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2012-11-05 11:45:03 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2012-11-05 10:45:03 +0000
commitd97cf33e653e768f87c9349a0927bf8d798b8fd7 (patch)
tree61a63febc0c9738cb4fedd095380aad3ae6f02fc
parente40bc135766ed0e5b371229a8486cf77b8c38d79 (diff)
downloadgcc-d97cf33e653e768f87c9349a0927bf8d798b8fd7.zip
gcc-d97cf33e653e768f87c9349a0927bf8d798b8fd7.tar.gz
gcc-d97cf33e653e768f87c9349a0927bf8d798b8fd7.tar.bz2
* gcc.dg/autopar/pr49960.c: Fix testcase.
From-SVN: r193155
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/autopar/pr49960.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 139df2c..65c9315 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/gcc.dg/autopar/pr49960.c b/gcc/testsuite/gcc.dg/autopar/pr49960.c
index 1f3482f..b34a520 100644
--- a/gcc/testsuite/gcc.dg/autopar/pr49960.c
+++ b/gcc/testsuite/gcc.dg/autopar/pr49960.c
@@ -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]. */