On Tue, Jun 19, 2018 at 09:59:09AM -0700, Cesar Philippidis wrote:
> This patch implements the OpenACC 2.5 data clause semantics in the C FE.
> 
> Is it OK for trunk?
> 
> Cesar

> 2018-06-19  Chung-Lin Tang <clt...@codesourcery.com>
>           Thomas Schwinge <tho...@codesourcery.com>
>           Cesar Philippidis  <ce...@codesourcery.com>
> 
>       gcc/c/
>       * c-parser.c (c_parser_omp_clause_name): Add support for finalize
>       and if_present. Make present_or_{copy,copyin,copyout,create} aliases
>       to their non-present_or_* counterparts. Make 'self' an alias to
>       PRAGMA_OACC_CLAUSE_HOST.
>       (c_parser_oacc_data_clause): Update GOMP mappings for
>       PRAGMA_OACC_CLAUSE_{COPY,COPYIN,COPYOUT,CREATE,DELETE}. Remove
>       PRAGMA_OACC_CLAUSE_{SELF,PRESENT_OR_*}.
>       (c_parser_oacc_all_clauses): Handle finalize and if_present clauses.
>       Remove support for present_or_* clauses.
>       (OACC_KERNELS_CLAUSE_MASK): Remove PRESENT_OR_* clauses.
>       (OACC_PARALLEL_CLAUSE_MASK): Likewise.
>       (OACC_DECLARE_CLAUSE_MASK): Likewise.
>       (OACC_DATA_CLAUSE_MASK): Likewise.
>       (OACC_ENTER_DATA_CLAUSE_MASK): Remove PRESENT_OR_* clauses.
>       (OACC_EXIT_DATA_CLAUSE_MASK): Add FINALIZE clause.
>       (OACC_UPDATE_CLAUSE_MASK): Remove SELF, add IF_PRESENT.
>       (c_parser_oacc_declare): Remove PRESENT_OR_* clauses.
>       * c-typeck.c (c_finish_omp_clauses): Handle IF_PRESENT and FINALIZE.

Ok.

        Jakub

Reply via email to