diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-12-27 16:20:28 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-12-27 16:20:28 +0100 |
commit | 382017a6e89525a531a56ca9b29ea5830ad6dbb0 (patch) | |
tree | adb81cb22123fbc4164e3f399b8910cd59e0268a /libgomp/testsuite/libgomp.c/collapse-1.c | |
parent | 94fa50c801bbbd6334f6cc53cfc03b2180a6c682 (diff) | |
download | gcc-382017a6e89525a531a56ca9b29ea5830ad6dbb0.zip gcc-382017a6e89525a531a56ca9b29ea5830ad6dbb0.tar.gz gcc-382017a6e89525a531a56ca9b29ea5830ad6dbb0.tar.bz2 |
* testsuite/libgomp.c/collapse-1.c (main): Add private(k) clause.
From-SVN: r142932
Diffstat (limited to 'libgomp/testsuite/libgomp.c/collapse-1.c')
-rw-r--r-- | libgomp/testsuite/libgomp.c/collapse-1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgomp/testsuite/libgomp.c/collapse-1.c b/libgomp/testsuite/libgomp.c/collapse-1.c index 82becfa..84277ff 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++) |