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

jnorris@gcc.gnu.org jnorris@gcc.gnu.org
Mon Oct 27 16:07:00 GMT 2014


Author: jnorris
Date: Mon Oct 27 16:07:00 2014
New Revision: 216744

URL: https://gcc.gnu.org/viewcvs?rev=216744&root=gcc&view=rev
Log:
	Thomas Schwinge  <thomas@codesourcery.com>

	gcc/ada/
	* gcc-interface/utils.c (DEF_FUNCTION_TYPE_10): Remove.
	(DEF_FUNCTION_TYPE_VAR_8, DEF_FUNCTION_TYPE_VAR_12): New macros.

	James Norris  <jnorris@codesourcery.com>

	gcc/
	* builtin-types.def (BT_FN_VOID_INT_INT_VAR,
	BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR,
	BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR): Add.
	(BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT): Remove.
	* c-family/c-common.c (enum c_builtin_type, c_define_builtins): Remove
	unused FUNCTION_TYPE_10. Add new FUNCTION_TYPE_VAR_8 and
	FUNCTION_TYPE_VAR_12.
	* c-family/c-pragma.c (oacc_pragmas): Add entry for wait directive.
	* c/c-parser.c (c_parser_omp_clause_name): Add handling of wait and
	async clauses.
	(c_parser_oacc_wait_list, c_parser_oacc_clause_async,
	c_parser_oacc_clause_wait): New.
	(c_parser_oacc_all_clauses): Handle async and wait clauses.
	(OACC_KERNELS_CLAUSE_MASK, OACC_PARALLEL_CLAUSE_MASK,
	OACC_UPDATE_CLAUSE_MASK): Add async and wait clauses.
	(OACC_WAIT_CLAUSE_MASK): New.
	(c_parser_oacc_wait): New.
	(c_parser_omp_construct): Handle wait directive.
	* c/c-typeck.c (c_finish_omp_clauses): Handle async and wait clauses.
	* fortran/f95-lang.c (gfc_init_builtin_functions): Remove unused
	FUNCTION_TYPE_10. Add new FUNCTION_TYPE_VAR_2, FUNCTION_TYPE_VAR_8,
	and FUNCTION_TYPE_VAR_12.
	* fortran/types.def (BT_FN_VOID_INT_INT_VAR,
	BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR,
	BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR): Add.
	(BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT): Remove.
	* lto/lto-lang.c (enum lto_builtin_type, lto_define_builtins): Remove
	unsigned FUNCTION_TYPE_10. Add new FUNCTION_TYPE_VAR_8 and
	FUNCTION_TYPE_VAR_12.
	* oacc-builtins.def (BUILT_IN_GOACC_KERNELS BUILT_IN_GOACC_PARALLEL,
	BUILT_IN_GOACC_UPDATE, BUILT_IN_GOACC_WAIT): Change type.
	* omp-low.c (scan_sharing_clauses): Handle async and wait clauses.
	(expand_oacc_offload): Lower kernel directive and async and wait
	clauses.

Modified:
    branches/gomp-4_0-branch/gcc/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/ada/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/ada/gcc-interface/utils.c
    branches/gomp-4_0-branch/gcc/builtin-types.def
    branches/gomp-4_0-branch/gcc/c-family/c-common.c
    branches/gomp-4_0-branch/gcc/c-family/c-pragma.c
    branches/gomp-4_0-branch/gcc/c/c-parser.c
    branches/gomp-4_0-branch/gcc/c/c-typeck.c
    branches/gomp-4_0-branch/gcc/fortran/f95-lang.c
    branches/gomp-4_0-branch/gcc/fortran/types.def
    branches/gomp-4_0-branch/gcc/lto/lto-lang.c
    branches/gomp-4_0-branch/gcc/oacc-builtins.def
    branches/gomp-4_0-branch/gcc/omp-low.c



More information about the Gcc-cvs mailing list