[OpenACC] Use 'tgt' returned from 'gomp_map_vars'
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 14 May 2020 13:49:52 +0000 (15:49 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Thu, 4 Jun 2020 16:56:37 +0000 (18:56 +0200)
commitf233418ccf6a16eb3bf53018852c5f8926780143
treed01a177f5507320bf35e770fabf1a25246630ece
parent8d7794c0a2aa6696ab1a91ef209e8a9fe2df56ac
[OpenACC] Use 'tgt' returned from 'gomp_map_vars'

libgomp/
* oacc-mem.c (goacc_enter_datum): Use 'tgt' returned from
'gomp_map_vars'.
 (acc_map_data): Clean up accordingly.

Co-Authored-By: Julian Brown <julian@codesourcery.com>
libgomp/oacc-mem.c