[OpenACC] Refactor 'goacc_enter_data' so that it can be called from 'goacc_insert_poi...
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 18 Dec 2019 17:02:37 +0000 (18:02 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Wed, 18 Dec 2019 17:02:37 +0000 (18:02 +0100)
commit77ce5555480140ec57c4d39169dfff19ad4a7d96
tree2a20d97a998b6cc06951965af1c73e08ab2bc8c5
parent9444a299fa135cae638eed3b2644747f105351c8
[OpenACC] Refactor 'goacc_enter_data' so that it can be called from 'goacc_insert_pointer', "present" case, and simplify

No functional changes.

libgomp/
* oacc-mem.c (goacc_enter_data): Refactor, so that it can be
called...
(goacc_insert_pointer): ... from here, "present" case.
(goacc_insert_pointer): Inline function into...
(GOACC_enter_exit_data): ... here, and simplify.

From-SVN: r279540
libgomp/ChangeLog
libgomp/oacc-mem.c