* testsuite/libgomp.c/collapse-1.c (main): Add private(k) clause.
From-SVN: r142932
This commit is contained in:
parent
94fa50c801
commit
382017a6e8
@ -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.
|
||||
|
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user