Re: [gomp4] private reductions

2016-01-11 Thread Cesar Philippidis
On 01/11/2016 04:10 AM, Thomas Schwinge wrote: > On Wed, 6 Jan 2016 19:55:02 -0800, Cesar Philippidis > wrote: >> This patch updates the way that private reductions are handled in gomp4 >> to be more like trunk. > > Anything to commit to trunk (test cases at least?)? I could possibly apply the

Re: [gomp4] private reductions

2016-01-11 Thread Thomas Schwinge
Hi! On Wed, 6 Jan 2016 19:55:02 -0800, Cesar Philippidis wrote: > This patch updates the way that private reductions are handled in gomp4 > to be more like trunk. Anything to commit to trunk (test cases at least?)? > This patch has been applied to gomp-4_0-branch. > PR other/68813 Can

Re: [gomp4] private reductions

2016-01-08 Thread Cesar Philippidis
On 01/06/2016 07:55 PM, Cesar Philippidis wrote: > @@ -1384,26 +1331,9 @@ build_outer_var_ref (tree var, omp_context *ctx, bool > lastprivate = false) > x = build_simple_mem_ref (x); > } > } > - else if (is_oacc_parallel (ctx)) > -x = var; >else if (ctx->outer) > -

[gomp4] private reductions

2016-01-06 Thread Cesar Philippidis
This patch updates the way that private reductions are handled in gomp4 to be more like trunk. Before, omp lower was using a complicated mapping for private variables, but now it's treating them more like omp, with the exception of reference-type variables. This complication originated back when we