Re: [patch] Add OpenACC Fortran support for deviceptr and variable in common blocks

2019-01-02 Thread Chung-Lin Tang
Hi Jakub, I have updated this patch and rebased with current trunk. The issues you identified in the last review should all be resolved. Is this now okay for trunk? Thanks, and Happy New Year~ Chung-Lin Index: gcc/fortran/openmp.c

Re: [patch] Add OpenACC Fortran support for deviceptr and variable in common blocks

2018-12-04 Thread Chung-Lin Tang
On 2018/12/4 9:30 PM, Jakub Jelinek wrote: && gfc_match_omp_map_clause (&c->lists[OMP_LIST_MAP], - OMP_MAP_TOFROM)) + OMP_MAP_TOFROM, openacc)) Why? OpenMP doesn't have a copy clause, so I'd expect t

Re: [patch] Add OpenACC Fortran support for deviceptr and variable in common blocks

2018-12-04 Thread Jakub Jelinek
On Fri, Jun 29, 2018 at 12:04:58PM -0700, Cesar Philippidis wrote: > 2018-06-29 Cesar Philippidis > James Norris > > gcc/fortran/ > * openmp.c (gfc_match_omp_map_clause): Re-write handling of the > deviceptr clause. Add new common_blocks argument. Propagate it to

[patch] Add OpenACC Fortran support for deviceptr and variable in common blocks

2018-06-29 Thread Cesar Philippidis
The attached patch adds support Fortran support for OpenACC deviceptr and the use of common block variables in data clauses (both implicit and explicit). This patch also relaxes the Fortran parser to not error certain types of integral expressions and assumed-sized arrays. With respect to those er