r216409 - in /branches/gomp-4_0-branch/gcc: Cha...

jnorris@gcc.gnu.org jnorris@gcc.gnu.org
Fri Oct 17 16:29:00 GMT 2014


Author: jnorris
Date: Fri Oct 17 16:29:13 2014
New Revision: 216409

URL: https://gcc.gnu.org/viewcvs?rev=216409&root=gcc&view=rev
Log:
	gcc/
	* builtin-types.def (BT_FN_VOID_INT_PTR_INT): New type.
	* oacc-builtins.def (BUILT_IN_GOACC_WAIT): New builtin.

	gcc/cp/
	* cp-tree.h (finish_oacc_data, finish_oacc_kernels,
	finish_oacc_parallel): New prototypes.
	* parser.c (cp_parser_omp_clause_name): Add parsing of OpenACC clauses.
	(cp_parser_omp_var_list_no_open): Add handling of array specifier.
	(cp_parser_oacc_data_clause, cp_parser_oacc_data_clause_deviceptr,
	cp_parser_oacc_vector_length, cp_parser_oacc_wait_list,
	cp_parser_oacc_clause_wait, cp_parser_omp_clause_num_gangs,
	cp_parser_omp_clause_num_workers): New functions.
	* semantics.c (finish_omp_clauses): Handle OMP_CLAUSE_ASYNC,
	OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_WAIT.
	(finish_oacc_data, finish_oacc_kernels, finish_oacc_parallel): New
	functions.

	gcc/c-family/
	* c-common.h (c_finish_oacc_wait): New prototype.
	* c-pragma.h (enum pragma_kind): Add PRAGMA_OACC_CACHE,
	PRAGMA_OACC_WAIT.
	(enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_ASYNC,
	PRAGMA_OMP_CLAUSE_WAIT.
	* c-omp.c (c_finish_oacc_wait): New function.

	gcc/fortran/
	* types.def (BT_FN_VOID_INT_PTR_INT): New type.

Modified:
    branches/gomp-4_0-branch/gcc/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/builtin-types.def
    branches/gomp-4_0-branch/gcc/c-family/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/c-family/c-common.h
    branches/gomp-4_0-branch/gcc/c-family/c-omp.c
    branches/gomp-4_0-branch/gcc/c-family/c-pragma.h
    branches/gomp-4_0-branch/gcc/cp/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/cp/cp-tree.h
    branches/gomp-4_0-branch/gcc/cp/parser.c
    branches/gomp-4_0-branch/gcc/cp/semantics.c
    branches/gomp-4_0-branch/gcc/fortran/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/fortran/types.def
    branches/gomp-4_0-branch/gcc/oacc-builtins.def



More information about the Gcc-cvs mailing list