gcc/libgomp/testsuite/libgomp.fortran
Jakub Jelinek 78db7d92ce 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
2010-04-21 13:57:42 +02:00
..
appendix-a
allocatable1.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
allocatable2.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
allocatable3.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
allocatable4.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
allocatable5.f90 re PR fortran/42866 (ICE for REDUCTION with ALLOCATABLE array as variable on SECTIONS) 2010-01-26 10:47:45 +01:00
character1.f90
character2.f90
collapse1.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
collapse2.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
collapse3.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
collapse4.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
condinc1.f
condinc1.inc
condinc2.f
condinc3.f90
condinc4.f90
crayptr1.f90
crayptr2.f90 crayptr2.f90: Remove forced static linkage for darwin... 2009-12-22 22:16:02 +00:00
do1.f90
do2.f90
fortran.exp fortran.exp: Add flags in case of shared only build. 2009-08-05 18:11:54 +02:00
jacobi.f
lastprivate1.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
lastprivate2.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
lib1.f90
lib2.f
lib3.f
lib4.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
lock-1.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
lock-2.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
nested1.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
nestedfn1.f90
nestedfn2.f90
nestedfn3.f90
nestedfn4.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
omp_atomic1.f90
omp_atomic2.f90
omp_cond1.f
omp_cond2.f
omp_cond3.F90
omp_cond4.F90
omp_hello.f
omp_orphan.f
omp_parse1.f90
omp_parse2.f90
omp_parse3.f90
omp_parse4.f90
omp_reduction.f
omp_workshare1.f
omp_workshare2.f
pr25162.f
pr25219.f90
pr27395-1.f90
pr27395-2.f90
pr27416-1.f90
pr27916-1.f90
pr27916-2.f90
pr28390.f
pr29629.f90
pr32359.f90
pr32550.f90 crayptr2.f90: Remove forced static linkage for darwin... 2009-12-22 22:16:02 +00:00
pr33880.f90 re PR middle-end/33880 (ICE: in extract_omp_for_data, at omp-low.c:162) 2008-01-25 13:54:42 +01:00
pr34020.f90 re PR fortran/34020 (Bogus codegen for openmp atomics w/ indirects operands on IPF) 2007-11-10 08:51:55 +01:00
pr35130.f90 re PR middle-end/35130 (OpenMP: Private variable passed to subroutine) 2008-02-15 18:36:43 +01:00
pr42162.f90 re PR fortran/42162 (OpenMP: ICE: tree check in omp_add_variable, at gimplify.c:5282) 2009-11-25 21:28:56 +01:00
recursion1.f90 Make 's' atomic 2010-01-04 06:28:30 -08:00
reduction1.f90
reduction2.f90
reduction3.f90
reduction4.f90
reduction5.f90
reduction6.f90
reference1.f90
reference2.f90
retval1.f90
retval2.f90
sharing1.f90
sharing2.f90
stack.f90
strassen.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
tabs1.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
tabs2.f c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
task1.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
task2.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
threadprivate1.f90
threadprivate2.f90
threadprivate3.f90
vla1.f90
vla2.f90
vla3.f90
vla4.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
vla5.f90 c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP value to 200805. 2008-06-06 15:01:54 +02:00
vla6.f90
vla7.f90
vla8.f90 re PR middle-end/43570 (OpenMP: Invalid read of size 1 (libgomp.fortran/vla6.f90)) 2010-04-21 13:57:42 +02:00
workshare1.f90
workshare2.f90 re PR fortran/35423 (Implement OpenMP workshare) 2009-04-20 12:59:59 +02:00