This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/43570] OpenMP: Invalid read of size 1 (libgomp.fortran/vla6.f90)



------- Comment #1 from jakub at gcc dot gnu dot org  2010-04-21 11:58 -------
Subject: Bug 43570

Author: jakub
Date: Wed Apr 21 11:57:42 2010
New Revision: 158594

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158594
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:
    trunk/libgomp/testsuite/libgomp.fortran/vla8.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-low.c
    trunk/libgomp/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43570


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]