Missing changes from "Adjust copy/copyin/copyout/create for OpenACC 2.5"
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 14 Dec 2018 20:43:12 +0000 (21:43 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Fri, 14 Dec 2018 20:43:12 +0000 (21:43 +0100)
commitc759830b29fff2288bc0cebfb4b2c479f0b5b30e
tree3f358d26336541f0ae0d874adbe278bf6f368943
parentf847198ec32588beda29a03572a765f9f91b0644
Missing changes from "Adjust copy/copyin/copyout/create for OpenACC 2.5"

Most of that patch's changes were already committed as part of r261813 "Update
OpenACC data clause semantics to the 2.5 behavior", but not all of them.

libgomp/
* oacc-mem.c (acc_present_or_create): Remove definition and change
to alias of acc_create.
(acc_present_or_copyin): Remove definition and change to alias of
acc_copyin.
* oacc-parallel.c (GOACC_enter_exit_data): Call acc_create instead
of acc_present_or_create.
* testsuite/libgomp.oacc-c-c++-common/data-already-1.c: Remove.
* testsuite/libgomp.oacc-c-c++-common/data-already-2.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/data-already-3.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/data-already-4.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/data-already-5.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/data-already-6.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/data-already-7.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/data-already-8.c: Likewise.
* testsuite/libgomp.oacc-fortran/data-already-1.f: Likewise.
* testsuite/libgomp.oacc-fortran/data-already-2.f: Likewise.
* testsuite/libgomp.oacc-fortran/data-already-3.f: Likewise.
* testsuite/libgomp.oacc-fortran/data-already-4.f: Likewise.
* testsuite/libgomp.oacc-fortran/data-already-5.f: Likewise.
* testsuite/libgomp.oacc-fortran/data-already-6.f: Likewise.
* testsuite/libgomp.oacc-fortran/data-already-7.f: Likewise.
* testsuite/libgomp.oacc-fortran/data-already-8.f: Likewise.

Co-Authored-By: Chung-Lin Tang <cltang@codesourcery.com>
From-SVN: r267153
19 files changed:
libgomp/ChangeLog
libgomp/oacc-mem.c
libgomp/oacc-parallel.c
libgomp/testsuite/libgomp.oacc-c-c++-common/data-already-1.c [deleted file]
libgomp/testsuite/libgomp.oacc-c-c++-common/data-already-2.c [deleted file]
libgomp/testsuite/libgomp.oacc-c-c++-common/data-already-3.c [deleted file]
libgomp/testsuite/libgomp.oacc-c-c++-common/data-already-4.c [deleted file]
libgomp/testsuite/libgomp.oacc-c-c++-common/data-already-5.c [deleted file]
libgomp/testsuite/libgomp.oacc-c-c++-common/data-already-6.c [deleted file]
libgomp/testsuite/libgomp.oacc-c-c++-common/data-already-7.c [deleted file]
libgomp/testsuite/libgomp.oacc-c-c++-common/data-already-8.c [deleted file]
libgomp/testsuite/libgomp.oacc-fortran/data-already-1.f [deleted file]
libgomp/testsuite/libgomp.oacc-fortran/data-already-2.f [deleted file]
libgomp/testsuite/libgomp.oacc-fortran/data-already-3.f [deleted file]
libgomp/testsuite/libgomp.oacc-fortran/data-already-4.f [deleted file]
libgomp/testsuite/libgomp.oacc-fortran/data-already-5.f [deleted file]
libgomp/testsuite/libgomp.oacc-fortran/data-already-6.f [deleted file]
libgomp/testsuite/libgomp.oacc-fortran/data-already-7.f [deleted file]
libgomp/testsuite/libgomp.oacc-fortran/data-already-8.f [deleted file]