gcc/libgomp/testsuite/libgomp.oacc-fortran
Thomas Schwinge 88bae6f494 [PR c/64765, c/64880] Support OpenACC Combined Directives in C, C++
gcc/c-family/
	PR c/64765
	PR c/64880
	* c-common.h (c_oacc_split_loop_clauses): Declare function.
	* c-omp.c (c_oacc_split_loop_clauses): New function.
	gcc/c/
	PR c/64765
	PR c/64880
	* c-parser.c (c_parser_oacc_loop): Add mask, cclauses formal
	parameters, and handle these.  Adjust all users.
	(c_parser_oacc_kernels, c_parser_oacc_parallel): Merge functions
	into...
	(c_parser_oacc_kernels_parallel): ... this new function.  Adjust
	all users.
	* c-tree.h (c_finish_oacc_parallel, c_finish_oacc_kernels): Don't
	declare functions.
	(c_finish_omp_construct): Declare function.
	* c-typeck.c (c_finish_oacc_parallel, c_finish_oacc_kernels):
	Merge functions into...
	(c_finish_omp_construct): ... this new function.
	gcc/cp/
	PR c/64765
	PR c/64880
	* cp-tree.h (finish_oacc_kernels, finish_oacc_parallel): Don't
	declare functions.
	(finish_omp_construct): Declare function.
	* parser.c (cp_parser_oacc_loop): Add p_name, mask, cclauses
	formal parameters, and handle these.  Adjust all users.
	(cp_parser_oacc_kernels, cp_parser_oacc_parallel): Merge functions
	into...
	(cp_parser_oacc_kernels_parallel): ... this new function.  Adjust
	all users.
	* semantics.c (finish_oacc_kernels, finish_oacc_parallel): Merge functions into...
	(finish_omp_construct): ... this new function.
	gcc/
	* tree.h (OACC_PARALLEL_BODY, OACC_PARALLEL_CLAUSES)
	(OACC_KERNELS_BODY, OACC_KERNELS_CLAUSES, OACC_KERNELS_COMBINED)
	(OACC_PARALLEL_COMBINED): Don't define macros.  Adjust all users.
	gcc/testsuite/
	PR c/64765
	PR c/64880
	* c-c++-common/goacc/loop-1.c: Don't skip for C++.  Don't prune
	sorry message.
	(PR64765): New function.
	* gfortran.dg/goacc/coarray_2.f90: XFAIL.
	* gfortran.dg/goacc/combined_loop.f90: Extend.  Don't prune
	sorry message.
	* gfortran.dg/goacc/cray.f95: Refine prune directive.
	* gfortran.dg/goacc/parameter.f95: Likewise.
	libgomp/
	* testsuite/libgomp.oacc-c-c++-common/combdir-1.c: New file.
	* testsuite/libgomp.oacc-fortran/combdir-1.f90: Likewise.

From-SVN: r229404
2015-10-27 09:39:15 +01:00
..
abort-1.f90
abort-2.f90
acc_on_device-1-1.f90
acc_on_device-1-2.f
acc_on_device-1-3.f
asyncwait-1.f90
asyncwait-2.f90
asyncwait-3.f90
collapse-1.f90
collapse-2.f90
collapse-3.f90
collapse-4.f90
collapse-5.f90
collapse-6.f90
collapse-7.f90
collapse-8.f90
combdir-1.f90 [PR c/64765, c/64880] Support OpenACC Combined Directives in C, C++ 2015-10-27 09:39:15 +01:00
data-1.f90
data-2.f90
data-3.f90
data-4-2.f90
data-4.f90
data-already-1.f
data-already-2.f
data-already-3.f
data-already-4.f
data-already-5.f
data-already-6.f
data-already-7.f
data-already-8.f
fortran.exp
lib-1.f90
lib-2.f
lib-3.f
lib-4.f90
lib-5.f90
lib-6.f90
lib-7.f90
lib-8.f90
lib-10.f90
map-1.f90
openacc_version-1.f
openacc_version-2.f90
pointer-align-1.f90
pset-1.f90
reduction-1.f90
reduction-2.f90
reduction-3.f90
reduction-4.f90
reduction-5.f90
reduction-6.f90
routine-1.f90
routine-2.f90
routine-3.f90
routine-4.f90
subarrays-1.f90
subarrays-2.f90