On 2016/9/6 7:45 PM, Chung-Lin Tang wrote:
> On 2016/8/29 03:46 PM, Chung-Lin Tang wrote:
>> Hi Jakub,
>> this patch is a port of some changes from gomp-4_0-branch,
>> including adding additional map type handling in OpenACC enter/exit data
>> directives, and some pointer set handling changes. Updated
>> testsuite case are also included.
>> Tested on trunk to ensure no regressions, is this okay for trunk?
>> 2016-08-29 Cesar Philippidis <ce...@codesourcery.com>
>> Thomas Schwinge <tho...@codesourcery.com>
>> Chung-Lin Tang <clt...@codesourcery.com>
>> * oacc-parallel.c (find_pset): Adjust and rename from...
>> (find_pointer): ...this function.
>> (GOACC_enter_exit_data): Handle GOMP_MAP_TO and GOMP_MAP_ALLOC,
>> adjust find_pointer calls into find_pset, adjust pointer map
>> add acc_is_present guards to calls to gomp_acc_insert_pointer and
>> * testsuite/libgomp.oacc-c-c++-common/data-2.c: Update test.
>> * testsuite/libgomp.oacc-c-c++-common/enter-data.c: New test.
>> * testsuite/libgomp.oacc-fortran/data-2.f90: Update test.