Re: [ping][patch] update handling of 'acc parallel loop' reductions for PR70626

2016-04-29 Thread Jakub Jelinek
On Thu, Apr 28, 2016 at 03:49:13PM -0700, Cesar Philippidis wrote: > 2016-04-15 Cesar Philippidis > > gcc/c-family/ > PR middle-end/70626 > * c-common.h (c_oacc_split_loop_clauses): Add boolean argument. > * c-omp.c (c_oacc_split_loop_clauses): Use it to duplicate >

Re: [ping][patch] update handling of 'acc parallel loop' reductions for PR70626

2016-04-28 Thread Cesar Philippidis
Ping. Cesar On 04/15/2016 02:30 PM, Cesar Philippidis wrote: > This patch makes the c, c++ and fortran FEs duplicate the reduction > clauses in a combined 'acc parallel loop' directive when it splits that > directive into separate parallel and loop directives. So given something > like > > #pr

[patch] update handling of 'acc parallel loop' reductions for PR70626

2016-04-15 Thread Cesar Philippidis
This patch makes the c, c++ and fortran FEs duplicate the reduction clauses in a combined 'acc parallel loop' directive when it splits that directive into separate parallel and loop directives. So given something like #pragma acc parallel loop reduction(+:var) for (i = 0; i < 10; i++) var+