]> gcc.gnu.org Git - gcc.git/commit
re PR middle-end/43570 (OpenMP: Invalid read of size 1 (libgomp.fortran/vla6.f90))
authorJakub Jelinek <jakub@redhat.com>
Wed, 21 Apr 2010 11:57:42 +0000 (13:57 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 21 Apr 2010 11:57:42 +0000 (13:57 +0200)
commit78db7d92ced4e201e72826fb2f438517c8cf8aff
tree4883254927b6e3b967069aa55f4e7e93972324e5
parent11152c95365532ec04eb12c3fd418b165a290a23
re PR middle-end/43570 (OpenMP: Invalid read of size 1 (libgomp.fortran/vla6.f90))

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.

From-SVN: r158594
gcc/ChangeLog
gcc/omp-low.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.fortran/vla8.f90 [new file with mode: 0644]
This page took 0.061233 seconds and 5 git commands to generate.