[PR92116, PR92877] [OpenACC] Replace 'openacc.data_environ' by standard libgomp mechanics
authorThomas Schwinge <thomas@codesourcery.com>
Mon, 9 Dec 2019 22:52:56 +0000 (23:52 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Mon, 9 Dec 2019 22:52:56 +0000 (23:52 +0100)
commit47afc7b4ddd124bf8bb0747920c5e5906e4704c3
treeab50a6d8c9d2d8c3ce075a07fc9d2d8c32a5a207
parentcec41816c18f2857f8362825222ef4de0a6e596e
[PR92116, PR92877] [OpenACC] Replace 'openacc.data_environ' by standard libgomp mechanics

libgomp/
PR libgomp/92116
PR libgomp/92877
* oacc-mem.c (lookup_dev): Reimplement.  Adjust all users.
* libgomp.h (struct acc_dispatch_t): Remove 'data_environ' member.
Adjust all users.
* testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-4-2.c:
Remove XFAIL.
* testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-4.c:
Likewise.
* testsuite/libgomp.oacc-c-c++-common/pr92877-1.c: New file.

Co-Authored-By: Julian Brown <julian@codesourcery.com>
From-SVN: r279147
libgomp/ChangeLog
libgomp/libgomp.h
libgomp/oacc-host.c
libgomp/oacc-mem.c
libgomp/target.c
libgomp/testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-4-2.c
libgomp/testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-4.c
libgomp/testsuite/libgomp.oacc-c-c++-common/pr92877-1.c [new file with mode: 0644]