r236293 - in /branches/gomp-4_5-branch: gcc/for...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Mon May 16 16:25:00 GMT 2016


Author: jakub
Date: Mon May 16 16:25:25 2016
New Revision: 236293

URL: https://gcc.gnu.org/viewcvs?rev=236293&root=gcc&view=rev
Log:
	* trans.c (trans_code): Handle new OpenMP 4.5 constructs.
	* resolve.c (gfc_resolve_blocks): Likewise.
	(gfc_resolve_code): Likewise.
	* trans-openmp.c (gfc_trans_omp_clauses): Handle new OpenMP 4.5
	clauses and new clause modifiers.
	(gfc_trans_omp_do): Handle EXEC_OMP_TASKLOOP.
	(GFC_OMP_SPLIT_TASKLOOP, GFC_OMP_MASK_TASKLOOP): New enum constants.
	(gfc_split_omp_clauses): Handle EXEC_OMP_TARGET_PARALLEL{,_DO,_DO_SIMD}
	and EXEC_OMP_TASKLOOP{,_SIMD}.  Add handling for new OpenMP 4.5
	clauses and clause modifiers and handle if clause without/with
	modifiers.
	(gfc_trans_omp_target): Handle EXEC_OMP_TARGET_PARALLEL{,_DO,_DO_SIMD}
	and EXEC_OMP_TARGET_SIMD.
	(gfc_trans_omp_taskloop): New function.
	(gfc_trans_omp_directive): Handle EXEC_OMP_TASKLOOP{,_SIMD},
	EXEC_OMP_TARGET_PARALLEL{,_DO,_DO_SIMD} and EXEC_OMP_TARGET_SIMD.
	* openmp.c (resolve_oacc_scalar_int_expr): Renamed to ...
	(resolve_scalar_int_expr): ... this.  Fix up formatting.
	(resolve_oacc_positive_int_expr): Renamed to ...
	(resolve_positive_int_expr): ... this.  Fix up formatting.
	(resolve_nonnegative_int_expr): New function.
	(resolve_omp_clauses): Adjust callers, use the above functions
	even for OpenMP clauses, add handling of new OpenMP 4.5 clauses.
	(gfc_resolve_omp_parallel_blocks): Handle new OpenMP 4.5 constructs,
	replace underscores with spaces in a few construct names.
	(resolve_omp_do): Handle new OpenMP 4.5 constructs.
	(resolve_oacc_loop_blocks): Call resolve_positive_int_expr instead
	of resolve_oacc_positive_int_expr.
	(gfc_resolve_omp_directive): Handle new OpenMP 4.5 constructs.

	* testsuite/libgomp.fortran/taskloop-1.f90: New test.

Added:
    branches/gomp-4_5-branch/libgomp/testsuite/libgomp.fortran/taskloop-1.f90
Modified:
    branches/gomp-4_5-branch/gcc/fortran/ChangeLog.gomp
    branches/gomp-4_5-branch/gcc/fortran/openmp.c
    branches/gomp-4_5-branch/gcc/fortran/resolve.c
    branches/gomp-4_5-branch/gcc/fortran/trans-openmp.c
    branches/gomp-4_5-branch/gcc/fortran/trans.c
    branches/gomp-4_5-branch/libgomp/ChangeLog.gomp



More information about the Gcc-cvs mailing list