gcc/libgomp/testsuite/libgomp.fortran
Jakub Jelinek b46ebd6c7b gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP, [...]): Make sure OMP_CLAUSE_SIZE is non-NULL.
* gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP,
	OMP_CLAUSE_TO, OMP_CLAUSE_FROM): Make sure OMP_CLAUSE_SIZE is
	non-NULL.
	<case OMP_CLAUSE_ALIGNED>: Gimplify OMP_CLAUSE_ALIGNED_ALIGNMENT.
	(gimplify_adjust_omp_clauses_1): Make sure OMP_CLAUSE_SIZE is
	non-NULL.
	(gimplify_adjust_omp_clauses): Likewise.
	* omp-low.c (lower_rec_simd_input_clauses,
	lower_rec_input_clauses, expand_omp_simd): Handle non-constant
	safelen the same as safelen(1).
	* tree-nested.c (convert_nonlocal_omp_clauses,
	convert_local_omp_clauses): Handle OMP_CLAUSE_ALIGNED.  For
	OMP_CLAUSE_{MAP,TO,FROM} if not decl use walk_tree.
	(convert_nonlocal_reference_stmt, convert_local_reference_stmt):
	Fixup handling of GIMPLE_OMP_TARGET.
	(convert_tramp_reference_stmt, convert_gimple_call): Handle
	GIMPLE_OMP_TARGET.
gcc/fortran/
	* dump-parse-tree.c (show_omp_namelist): Use n->udr->udr instead
	of n->udr.
	* f95-lang.c (gfc_init_builtin_functions): Initialize
	BUILT_IN_ASSUME_ALIGNED.
	* gfortran.h (gfc_omp_namelist): Change udr field type to
	struct gfc_omp_namelist_udr.
	(gfc_omp_namelist_udr): New type.
	(gfc_get_omp_namelist_udr): Define.
	(gfc_resolve_code): New prototype.
	* match.c (gfc_free_omp_namelist): Free name->udr.
	* module.c (intrinsics): Add INTRINSIC_USER.
	(fix_mio_expr): Likewise.
	(mio_expr): Handle INSTRINSIC_USER and non-resolved EXPR_FUNCTION.
	* openmp.c (gfc_match_omp_clauses): Adjust initialization of n->udr.
	(gfc_match_omp_declare_reduction): Treat len=: the same as len=*.
	Set attr.flavor on omp_{out,in,priv,orig} artificial variables.
	(struct resolve_omp_udr_callback_data): New type.
	(resolve_omp_udr_callback, resolve_omp_udr_callback2,
	resolve_omp_udr_clause): New functions.
	(resolve_omp_clauses): Adjust for n->udr changes, resolve UDR clauses
	here.
	(omp_udr_callback): Don't check for implicitly declared functions
	here.
	(gfc_resolve_omp_udr): Don't call gfc_resolve.  Don't check for
	implicitly declared subroutines here.
	* resolve.c (resolve_function): If value.function.isym is non-NULL,
	consider it already resolved.
	(resolve_code): Renamed to ...
	(gfc_resolve_code): ... this.  No longer static.
	(gfc_resolve_blocks, generate_component_assignments, resolve_codes):
	Adjust callers.
	* trans-openmp.c (gfc_omp_privatize_by_reference): Don't privatize
	by reference type (C_PTR) variables.
	(gfc_omp_finish_clause): Make sure OMP_CLAUSE_SIZE is non-NULL.
	(gfc_trans_omp_udr_expr): Remove.
	(gfc_trans_omp_array_reduction_or_udr): Adjust for n->udr changes.
	Don't call gfc_trans_omp_udr_expr, even for sym->attr.dimension
	expand it as assignment or subroutine call.  Don't initialize
	value.function.isym.
gcc/testsuite/
	* gfortran.dg/gomp/udr2.f90 (f7, f9): Add !$omp parallel with
	reduction clause.
	* gfortran.dg/gomp/udr4.f90 (f4): Likewise.
	Remove Label is never defined expected error.
	* gfortran.dg/gomp/udr8.f90: New test.
libgomp/
	* testsuite/libgomp.fortran/aligned1.f03: New test.
	* testsuite/libgomp.fortran/nestedfn5.f90: New test.
	* testsuite/libgomp.fortran/target7.f90: Surround loop spawning
	tasks with !$omp parallel !$omp single.
	* testsuite/libgomp.fortran/target8.f90: New test.
	* testsuite/libgomp.fortran/udr4.f90 (foo UDR, bar UDR): Adjust
	not to use trim in the combiner, instead call elemental function.
	(fn): New elemental function.
	* testsuite/libgomp.fortran/udr6.f90 (do_add, dp_add, dp_init):
	Make elemental.
	* testsuite/libgomp.fortran/udr7.f90 (omp_priv, omp_orig, omp_out,
	omp_in): Likewise.
	* testsuite/libgomp.fortran/udr12.f90: New test.
	* testsuite/libgomp.fortran/udr13.f90: New test.
	* testsuite/libgomp.fortran/udr14.f90: New test.
	* testsuite/libgomp.fortran/udr15.f90: New test.

From-SVN: r211929
2014-06-24 09:45:22 +02:00
..
appendix-a
aligned1.f03 gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP, [...]): Make sure OMP_CLAUSE_SIZE is non-NULL. 2014-06-24 09:45:22 +02:00
alloc-comp-1.f90 re PR fortran/60928 (gfortran issue with allocatable components and OpenMP) 2014-06-10 08:05:22 +02:00
alloc-comp-2.f90 re PR fortran/60928 (gfortran issue with allocatable components and OpenMP) 2014-06-10 08:05:22 +02:00
alloc-comp-3.f90 re PR fortran/60928 (gfortran issue with allocatable components and OpenMP) 2014-06-10 08:05:22 +02:00
allocatable1.f90
allocatable2.f90
allocatable3.f90
allocatable4.f90
allocatable5.f90
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
allocatable9.f90 re PR fortran/60928 (gfortran issue with allocatable components and OpenMP) 2014-06-10 08:05:22 +02:00
allocatable10.f90 re PR fortran/60928 (gfortran issue with allocatable components and OpenMP) 2014-06-10 08:05:22 +02:00
allocatable11.f90 re PR fortran/60928 (gfortran issue with allocatable components and OpenMP) 2014-06-10 08:05:22 +02:00
allocatable12.f90 re PR fortran/60928 (gfortran issue with allocatable components and OpenMP) 2014-06-10 08:05:22 +02:00
associate1.f90 re PR fortran/60928 (gfortran issue with allocatable components and OpenMP) 2014-06-10 08:05:22 +02:00
associate2.f90 re PR fortran/60928 (gfortran issue with allocatable components and OpenMP) 2014-06-10 08:05:22 +02:00
cancel-do-1.f90 tree.h (OMP_CLAUSE_LINEAR_STMT): Define. 2014-05-11 22:26:36 +02:00
cancel-do-2.f90 tree.h (OMP_CLAUSE_LINEAR_STMT): Define. 2014-05-11 22:26:36 +02:00
cancel-parallel-1.f90 tree.h (OMP_CLAUSE_LINEAR_STMT): Define. 2014-05-11 22:26:36 +02:00
cancel-parallel-3.f90 tree.h (OMP_CLAUSE_LINEAR_STMT): Define. 2014-05-11 22:26:36 +02:00
cancel-sections-1.f90 tree.h (OMP_CLAUSE_LINEAR_STMT): Define. 2014-05-11 22:26:36 +02:00
cancel-taskgroup-2.f90 tree.h (OMP_CLAUSE_LINEAR_STMT): Define. 2014-05-11 22:26:36 +02:00
character1.f90
character2.f90
collapse1.f90
collapse2.f90
collapse3.f90
collapse4.f90
condinc1.f
condinc1.inc
condinc2.f
condinc3.f90
condinc4.f90
crayptr1.f90
crayptr2.f90 re PR libgomp/59467 (copyprivate in the fortran testsuite) 2013-12-12 09:52:06 +01: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
declare-simd-1.f90 gimplify.c (omp_notice_variable): If n is non-NULL and no flags change in ORT_TARGET region, don't jump to do_outer. 2014-06-18 09:16:12 +02:00
declare-simd-2.f90 declare-simd-1.f90: Require vect_simd_clones effective target. 2014-05-27 11:14:53 +02:00
declare-simd-3.f90 tree.h (OMP_CLAUSE_LINEAR_STMT): Define. 2014-05-11 22:26:36 +02:00
depend-1.f90 tree.h (OMP_CLAUSE_LINEAR_STMT): Define. 2014-05-11 22:26:36 +02:00
depend-2.f90 tree.h (OMP_CLAUSE_LINEAR_STMT): Define. 2014-05-11 22:26:36 +02:00
depend-3.f90 gimplify.c (omp_notice_variable): If n is non-NULL and no flags change in ORT_TARGET region, don't jump to do_outer. 2014-06-18 09:16:12 +02:00
do1.f90
do2.f90
fortran.exp libgomp: Prepare for testcases without -fopenmp. 2013-11-07 16:07:58 +01:00
jacobi.f
lastprivate1.f90
lastprivate2.f90
lib1.f90 lib-1.c (main): Add missing error check. 2013-10-11 12:43:15 +02:00
lib2.f lib-1.c (main): Add missing error check. 2013-10-11 12:43:15 +02:00
lib3.f lib-1.c (main): Add missing error check. 2013-10-11 12:43:15 +02:00
lib4.f90
lock-1.f90
lock-2.f90
nested1.f90
nestedfn1.f90
nestedfn2.f90
nestedfn3.f90
nestedfn4.f90
nestedfn5.f90 gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP, [...]): Make sure OMP_CLAUSE_SIZE is non-NULL. 2014-06-24 09:45:22 +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_atomic5.f90 tree.h (OMP_CLAUSE_LINEAR_STMT): Define. 2014-05-11 22:26:36 +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
omp_parse4.f90
omp_reduction.f
omp_workshare1.f
omp_workshare2.f
openmp_version-1.f gimplify.c (omp_notice_variable): If n is non-NULL and no flags change in ORT_TARGET region, don't jump to do_outer. 2014-06-18 09:16:12 +02:00
openmp_version-2.f90 gimplify.c (omp_notice_variable): If n is non-NULL and no flags change in ORT_TARGET region, don't jump to do_outer. 2014-06-18 09:16:12 +02:00
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
pr32359.f90
pr32550.f90
pr33880.f90
pr34020.f90
pr35130.f90
pr42162.f90
pr46753.f90
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
procptr1.f90 re PR fortran/60928 (gfortran issue with allocatable components and OpenMP) 2014-06-10 08:05:22 +02:00
recursion1.f90
reduction1.f90
reduction2.f90
reduction3.f90
reduction4.f90
reduction5.f90
reduction6.f90
reference1.f90
reference2.f90
retval1.f90 re PR testsuite/59534 (FAIL: libgomp.fortran/retval1.f90 execution test due to denormals) 2013-12-17 16:17:00 +01:00
retval2.f90
sharing1.f90
sharing2.f90
simd1.f90 dump-parse-tree.c (show_omp_namelist): Dump reduction id in each list item. 2014-06-06 09:24:38 +02:00
simd2.f90 tree.h (OMP_CLAUSE_LINEAR_STMT): Define. 2014-05-11 22:26:36 +02:00
simd3.f90 tree.h (OMP_CLAUSE_LINEAR_STMT): Define. 2014-05-11 22:26:36 +02:00
simd4.f90 tree.h (OMP_CLAUSE_LINEAR_STMT): Define. 2014-05-11 22:26:36 +02:00
stack.f90
strassen.f90 Disable strassen.f90 test for aarch64 tiny memory. 2013-06-28 12:45:57 +00:00
tabs1.f90
tabs2.f
target1.f90 gimplify.c (omp_notice_variable): If n is non-NULL and no flags change in ORT_TARGET region, don't jump to do_outer. 2014-06-18 09:16:12 +02:00
target2.f90 gimplify.c (omp_notice_variable): If n is non-NULL and no flags change in ORT_TARGET region, don't jump to do_outer. 2014-06-18 09:16:12 +02:00
target3.f90 gimplify.c (omp_notice_variable): If n is non-NULL and no flags change in ORT_TARGET region, don't jump to do_outer. 2014-06-18 09:16:12 +02:00
target4.f90 gimplify.c (omp_notice_variable): If n is non-NULL and no flags change in ORT_TARGET region, don't jump to do_outer. 2014-06-18 09:16:12 +02:00
target5.f90 gimplify.c (omp_notice_variable): If n is non-NULL and no flags change in ORT_TARGET region, don't jump to do_outer. 2014-06-18 09:16:12 +02:00
target6.f90 gimplify.c (omp_notice_variable): If n is non-NULL and no flags change in ORT_TARGET region, don't jump to do_outer. 2014-06-18 09:16:12 +02:00
target7.f90 gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP, [...]): Make sure OMP_CLAUSE_SIZE is non-NULL. 2014-06-24 09:45:22 +02:00
target8.f90 gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP, [...]): Make sure OMP_CLAUSE_SIZE is non-NULL. 2014-06-24 09:45:22 +02:00
task1.f90
task2.f90
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
taskgroup1.f90 tree.h (OMP_CLAUSE_LINEAR_STMT): Define. 2014-05-11 22:26:36 +02:00
threadprivate1.f90
threadprivate2.f90
threadprivate3.f90
threadprivate4.f90 trans-decl.c (get_proc_pointer_decl): Set DECL_TLS_MODEL if threadprivate. 2011-08-26 16:55:05 +02:00
udr1.f90 dump-parse-tree.c (show_omp_namelist): Dump reduction id in each list item. 2014-06-06 09:24:38 +02:00
udr2.f90 dump-parse-tree.c (show_omp_namelist): Dump reduction id in each list item. 2014-06-06 09:24:38 +02:00
udr3.f90 dump-parse-tree.c (show_omp_namelist): Dump reduction id in each list item. 2014-06-06 09:24:38 +02:00
udr4.f90 gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP, [...]): Make sure OMP_CLAUSE_SIZE is non-NULL. 2014-06-24 09:45:22 +02:00
udr5.f90 dump-parse-tree.c (show_omp_namelist): Dump reduction id in each list item. 2014-06-06 09:24:38 +02:00
udr6.f90 gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP, [...]): Make sure OMP_CLAUSE_SIZE is non-NULL. 2014-06-24 09:45:22 +02:00
udr7.f90 gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP, [...]): Make sure OMP_CLAUSE_SIZE is non-NULL. 2014-06-24 09:45:22 +02:00
udr8.f90 dump-parse-tree.c (show_omp_namelist): Dump reduction id in each list item. 2014-06-06 09:24:38 +02:00
udr9.f90 dump-parse-tree.c (show_omp_namelist): Dump reduction id in each list item. 2014-06-06 09:24:38 +02:00
udr10.f90 dump-parse-tree.c (show_omp_namelist): Dump reduction id in each list item. 2014-06-06 09:24:38 +02:00
udr11.f90 dump-parse-tree.c (show_omp_namelist): Dump reduction id in each list item. 2014-06-06 09:24:38 +02:00
udr12.f90 gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP, [...]): Make sure OMP_CLAUSE_SIZE is non-NULL. 2014-06-24 09:45:22 +02:00
udr13.f90 gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP, [...]): Make sure OMP_CLAUSE_SIZE is non-NULL. 2014-06-24 09:45:22 +02:00
udr14.f90 gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP, [...]): Make sure OMP_CLAUSE_SIZE is non-NULL. 2014-06-24 09:45:22 +02:00
udr15.f90 gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP, [...]): Make sure OMP_CLAUSE_SIZE is non-NULL. 2014-06-24 09:45:22 +02:00
use_intrinsic_1.f90 use_intrinsic_1.f90: New; moved from gcc/testsuite/gfortran.dg/gomp/use_intrinsic_1.f90. 2012-12-19 16:02:50 +01:00
vla1.f90
vla2.f90
vla3.f90
vla4.f90 re PR c/53580 (Internal Segmentation fault in nested "omp parallel", "omp parallel for" and "omp parallel for reduction" Directives) 2012-06-07 08:36:55 +02:00
vla5.f90 re PR c/53580 (Internal Segmentation fault in nested "omp parallel", "omp parallel for" and "omp parallel for reduction" Directives) 2012-06-07 08:36:55 +02:00
vla6.f90
vla7.f90
vla8.f90
workshare1.f90
workshare2.f90