re PR middle-end/35130 (OpenMP: Private variable passed to subroutine)
authorJakub Jelinek <jakub@redhat.com>
Fri, 15 Feb 2008 17:36:43 +0000 (18:36 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 15 Feb 2008 17:36:43 +0000 (18:36 +0100)
commit6837b3b895180864df03d01628eed75168c25a57
tree259f85cd6ed7d67f133847ea1613a7e509e0bffb
parent92fab505d29cc38f12ad0369648ef7d0a54a3aef
re PR middle-end/35130 (OpenMP: Private variable passed to subroutine)

PR middle-end/35130
* tree-nested.c (convert_call_expr): Put FRAME.* vars into
OMP_CLAUSE_SHARED rather than OMP_CLAUSE_FIRSTPRIVATE clause.

* testsuite/libgomp.fortran/pr35130.f90: New test.
* testsuite/libgomp.c/pr35130.c: New test.

From-SVN: r132349
gcc/ChangeLog
gcc/tree-nested.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr35130.c [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/pr35130.f90 [new file with mode: 0644]