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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@216744 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed: