On Thu, Nov 05, 2015 at 06:10:49PM -0800, Cesar Philippidis wrote: > I've applied this patch to trunk. It also includes the fortran and > template changes. Note that there is a new regression in > gfortran.dg/goacc/combined_loop.f90. Basically, the gimplifier is > complaining about reduction variables appearing in multiple clauses. > E.g. 'acc parallel reduction(+:var) copy(var)'. Nathan's upcoming > gimplifier changes should address that.
If you are relying on the OMP_CLAUSE_MAP_PRIVATE flag that I've added on gomp-4_1-branch and then removed yesterday, feel free to re-add it, but of course never set it for OpenMP, just OpenACC constructs (so for OpenMP keep the gimplifier assertion, for OpenACC set it). Jakub