[Bug middle-end/43570] OpenMP: Invalid read of size 1 (libgomp.fortran/vla6.f90)
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 21 14:03:00 GMT 2010
------- 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
More information about the Gcc-bugs
mailing list