Re: [PATCH, OpenMP 5.0] Target mapping C++ members inside member functions

2021-01-11 Thread Jakub Jelinek via Gcc-patches
On Wed, Dec 23, 2020 at 07:02:09PM +0800, Chung-Lin Tang wrote: > Hi Jakub, > this patch is to fix some of the problems with target mapping when inside > C++ member functions: > > 1. Allow deref '->' in map clauses. > 2. Allow this[X] in map clauses. I must say I'd prefer not to go this way by ad

[PATCH, OpenMP 5.0] Target mapping C++ members inside member functions

2020-12-23 Thread Chung-Lin Tang
Hi Jakub, this patch is to fix some of the problems with target mapping when inside C++ member functions: 1. Allow deref '->' in map clauses. 2. Allow this[X] in map clauses. 3. Create map(this->member) from map(member), when encountering member's FIELD_DECL. This actually may not be the last r