gcc/libgomp/testsuite/libgomp.fortran
Jakub Jelinek a6c975bd8e trans-decl.c (get_proc_pointer_decl): Set DECL_TLS_MODEL if threadprivate.
* trans-decl.c (get_proc_pointer_decl): Set DECL_TLS_MODEL
	if threadprivate.
	* symbol.c (check_conflict): Allow threadprivate attribute with
	FL_PROCEDURE if proc_pointer.

	* testsuite/libgomp.fortran/threadprivate4.f90: New test.

From-SVN: r178114
2011-08-26 16:55:05 +02:00
..
appendix-a re PR fortran/45045 (Named COMMON with different size: No warning with -fwhole-file) 2010-07-24 00:15:51 +02:00
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
allocatable6.f90 re PR fortran/46874 ([OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147) 2010-12-14 14:56:25 +01:00
allocatable7.f90 backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
allocatable8.f90 backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02: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 re PR fortran/29097 (!$ include 'omp_lib.h' does not work) 2006-09-26 20:06:55 +02:00
condinc1.inc re PR fortran/29097 (!$ include 'omp_lib.h' does not work) 2006-09-26 20:06:55 +02:00
condinc2.f re PR fortran/29097 (!$ include 'omp_lib.h' does not work) 2006-09-26 20:06:55 +02:00
condinc3.f90 re PR fortran/29097 (!$ include 'omp_lib.h' does not work) 2006-09-26 20:06:55 +02:00
condinc4.f90 re PR fortran/29097 (!$ include 'omp_lib.h' does not work) 2006-09-26 20:06:55 +02:00
crayptr1.f90
crayptr2.f90 crayptr2.f90: Remove forced static linkage for darwin... 2009-12-22 22:16:02 +00:00
crayptr3.f90 backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
do1.f90
do2.f90
fortran.exp re PR libgomp/47804 (libgomp LD_LIBRARY_PATH doesn't include path to libgfortran) 2011-02-18 21:44:44 +01: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 re PR middle-end/25261 ([gomp] Nested function calls in #pragma omp parallel blocks) 2006-09-26 20:10:58 +02:00
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_atomic3.f90 backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
omp_atomic4.f90 backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
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 re PR libgomp/33275 (Transient libgomp.fortran/omp_parse3.f90 -O0 failure) 2007-10-25 22:25:12 +02:00
omp_parse4.f90
omp_reduction.f
omp_workshare1.f
omp_workshare2.f
pointer1.f90 backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
pointer2.f90 backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
pr25162.f
pr25219.f90
pr27395-1.f90
pr27395-2.f90
pr27416-1.f90
pr27916-1.f90
pr27916-2.f90
pr28390.f
pr29629.f90 re PR fortran/29629 (ICE on OpenMP-enabled program (gfc_conv_variable, at fortran/trans-expr.c:404)) 2006-10-29 11:27:39 +01:00
pr32359.f90 re PR fortran/32359 (incorrect error: Threadprivate isn't SAVEd (implicit save attribute undefined)) 2007-07-05 14:51:51 +02:00
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
pr46753.f90 re PR fortran/46753 (ICE: OpenMP - in extract_omp_for_data, at omp-low.c:335) 2010-12-02 15:37:20 +01:00
pr48894.f90 re PR fortran/48894 (generic omp_get_ancestor_thread_num(l(i)) produces incorrect output) 2011-05-06 12:11:07 +02:00
pr49792-1.f90 re PR fortran/49792 (OpenMP workshare: Wrong result with array assignment) 2011-08-19 15:25:22 +02:00
pr49792-2.f90 re PR fortran/49792 (OpenMP workshare: Wrong result with array assignment) 2011-08-19 15:25:22 +02:00
recursion1.f90 Make 's' atomic 2010-01-04 06:28:30 -08:00
reduction1.f90
reduction2.f90
reduction3.f90 reduction3.f90: Change -2147483648 to -huge(i)-1 to avoid overflow. 2006-09-08 20:57:55 +00:00
reduction4.f90 reduction3.f90: Change -2147483648 to -huge(i)-1 to avoid overflow. 2006-09-08 20:57:55 +00:00
reduction5.f90 a.22.8.f90: Add dg-final cleanup-modules line. 2007-03-21 20:43:14 +01:00
reduction6.f90
reference1.f90
reference2.f90
retval1.f90
retval2.f90
sharing1.f90
sharing2.f90
stack.f90 openmp_stack.f90: Removed. 2007-09-28 15:22:18 +02:00
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
task3.f90 re PR fortran/47886 (ICE: OpenMP !$omp task if(omp_get_num_threads() > 0)) 2011-02-27 13:05:36 +01:00
task4.f90 backport: re PR fortran/46752 (OpenMP - Seg fault for unallocated allocatable array in firstprivate clause) 2011-08-02 18:13:29 +02:00
threadprivate1.f90 a.22.8.f90: Add dg-final cleanup-modules line. 2007-03-21 20:43:14 +01:00
threadprivate2.f90 a.22.8.f90: Add dg-final cleanup-modules line. 2007-03-21 20:43:14 +01:00
threadprivate3.f90 a.22.8.f90: Add dg-final cleanup-modules line. 2007-03-21 20:43:14 +01:00
threadprivate4.f90 trans-decl.c (get_proc_pointer_decl): Set DECL_TLS_MODEL if threadprivate. 2011-08-26 16:55:05 +02:00
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 * testsuite/libgomp.fortran/vla8.f90: Use dg-timeout-factor 2.0. 2010-12-01 13:41:59 +00:00
workshare1.f90
workshare2.f90 re PR fortran/35423 (Implement OpenMP workshare) 2009-04-20 12:59:59 +02:00