summaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2008-12-27 15:20:28 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2008-12-27 15:20:28 +0000
commit29380f16cf65b96761f690399f5cc82e2976dcb3 (patch)
treeadb81cb22123fbc4164e3f399b8910cd59e0268a /libgomp
parent79adbe12de0073126da93df4d3cac77f78413c77 (diff)
downloadgcc-29380f16cf65b96761f690399f5cc82e2976dcb3.tar.gz
* testsuite/libgomp.c/collapse-1.c (main): Add private(k) clause.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142932 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog4
-rw-r--r--libgomp/testsuite/libgomp.c/collapse-1.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index f9afd432cdb..3859e608313 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-27 Jakub Jelinek <jakub@redhat.com>
+
+ * testsuite/libgomp.c/collapse-1.c (main): Add private(k) clause.
+
2008-12-26 Uros Bizjak <ubizjak@gmail.com>
* testsuite/libgomp.c/atomic-6.c: Add -mieee for alpha*-*-* targets.
diff --git a/libgomp/testsuite/libgomp.c/collapse-1.c b/libgomp/testsuite/libgomp.c/collapse-1.c
index 82becfa7952..84277ff554d 100644
--- a/libgomp/testsuite/libgomp.c/collapse-1.c
+++ b/libgomp/testsuite/libgomp.c/collapse-1.c
@@ -17,7 +17,7 @@ main (void)
a[i][j][k] = i + j * 4 + k * 16;
#pragma omp parallel
{
- #pragma omp for collapse(2) reduction(|:l)
+ #pragma omp for collapse(2) reduction(|:l) private(k)
for (i = 0; i < 2; i++)
for (j = 0; j < 2; j++)
for (k = 0; k < 2; k++)