On Tue, Jun 19, 2018 at 09:59:57AM -0700, Cesar Philippidis wrote: > This patch implements the OpenACC 2.5 data clause semantics in the > Fortran 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/fortran/ > * gfortran.h (gfc_omp_clauses): Add unsigned if_present, finalize > bitfields. > * openmp.c (enum omp_mask2): Remove OMP_CLAUSE_PRESENT_OR_*. Add > OMP_CLAUSE_{IF_PRESENT,FINALIZE}. > (gfc_match_omp_clauses): Update handling of copy, copyin, copyout, > create, deviceptr, present_of_*. Add support for finalize and > if_present. > (OACC_PARALLEL_CLAUSES): Remove PRESENT_OR_* clauses. > (OACC_KERNELS_CLAUSES): Likewise. > (OACC_DATA_CLAUSES): Likewise. > (OACC_DECLARE_CLAUSES): Likewise. > (OACC_UPDATE_CLAUSES): Add IF_PRESENT clause. > (OACC_ENTER_DATA_CLAUSES): Remove PRESENT_OR_* clauses. > (OACC_EXIT_DATA_CLAUSES): Add FINALIZE clause. > (gfc_match_oacc_declare): Update to OpenACC 2.5 semantics. > * trans-openmp.c (gfc_trans_omp_clauses): Add support for IF_PRESENT > and FINALIZE. Ok. Jakub