Re: [PATCH] zero-length arrays in OpenACC

2016-07-15 Thread Jakub Jelinek
On Wed, Jun 01, 2016 at 02:35:44PM -0700, Cesar Philippidis wrote: > This patch teaches c and c++ front ends and omp-low how to deal with > subarray involving GOMP_MAP_FORCE_{PRESENT,TO,FROM,TOFROM} data > mappings. As the libgomp test case shows, it might be possible for a > subarray to have zero

Re: [PATCH] zero-length arrays in OpenACC

2016-07-14 Thread Cesar Philippidis
Ping, x2. Cesar On 06/01/2016 02:35 PM, Cesar Philippidis wrote: > This patch teaches c and c++ front ends and omp-low how to deal with > subarray involving GOMP_MAP_FORCE_{PRESENT,TO,FROM,TOFROM} data > mappings. As the libgomp test case shows, it might be possible for a > subarray to have zero

[PATCH] zero-length arrays in OpenACC

2016-06-01 Thread Cesar Philippidis
This patch teaches c and c++ front ends and omp-low how to deal with subarray involving GOMP_MAP_FORCE_{PRESENT,TO,FROM,TOFROM} data mappings. As the libgomp test case shows, it might be possible for a subarray to have zero length. This patch fixes that. I also updated *parser_oacc_declare not to