Re: [PATCH] omp-low: fix lastprivate/linear lowering for SIMT

2017-04-20 Thread Alexander Monakov
Ping - as this patch addresses a wrong-code issue in new functionality, I'd like to ask if it may be applied to gcc-7 branch too. On Fri, 7 Apr 2017, Alexander Monakov wrote: > Ping. > > > I've noticed while re-reading that this patch incorrectly handled SIMT case > > in lower_lastprivate_clause

[PATCH] omp-low: fix lastprivate/linear lowering for SIMT

2017-04-07 Thread Alexander Monakov
Ping. > I've noticed while re-reading that this patch incorrectly handled SIMT case > in lower_lastprivate_clauses. The code was changed to look for variables > with "omp simt private" attribute, and was left under > 'simduid && DECL_HAS_VALUE_EXPR_P (new_var)' condition. This effectively > cons