This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/43570] OpenMP: Invalid read of size 1 (libgomp.fortran/vla6.f90)
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Apr 2010 14:02:53 -0000
- Subject: [Bug middle-end/43570] OpenMP: Invalid read of size 1 (libgomp.fortran/vla6.f90)
- References: <bug-43570-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from jakub at gcc dot gnu dot org 2010-04-21 14:02 -------
Subject: Bug 43570
Author: jakub
Date: Wed Apr 21 14:02:39 2010
New Revision: 158603
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158603
Log:
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.
Added:
branches/gcc-4_4-branch/libgomp/testsuite/libgomp.fortran/vla8.f90
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/omp-low.c
branches/gcc-4_4-branch/libgomp/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43570