OSDN Git Service

PR middle-end/43570
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Apr 2010 11:57:42 +0000 (11:57 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Apr 2010 11:57:42 +0000 (11:57 +0000)
commitcb56150615371a555aedfacba12c0d3506d34fe8
tree4883254927b6e3b967069aa55f4e7e93972324e5
parentb2c2343f681f892e3af6c914aa5db64a7e039752
PR middle-end/43570
* omp-low.c (scan_sharing_clauses): Don't scan_omp_op
OMP_CLAUSE_DECL for OMP_CLAUSE_COPYPRIVATE.
(lower_copyprivate_clauses): Use private var in outer
context instead of original var.  Make sure the types
are correct for VLAs.

* testsuite/libgomp.fortran/vla8.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158594 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/omp-low.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.fortran/vla8.f90 [new file with mode: 0644]