]> git.ipfire.org Git - thirdparty/gcc.git/commit - libgomp/target.c
[PR libgomp/64625] Remove __OFFLOAD_TABLE__ variable/formal parameter.
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Jan 2015 12:03:35 +0000 (12:03 +0000)
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Jan 2015 12:03:35 +0000 (12:03 +0000)
commitdc19c8fd02e3d3d5b4a657449e3c0edf982e39d9
tree0dedf360229e98ec8dd3a80062bd72e0cad0cde5
parentc5dc4e92e0484076d380e30b1df8b70d442ae0bc
[PR libgomp/64625] Remove __OFFLOAD_TABLE__ variable/formal parameter.

gcc/
* omp-low.c (offload_symbol_decl): Remove variable.
(get_offload_symbol_decl): Remove function.
(expand_omp_target): For BUILT_IN_GOMP_TARGET,
BUILT_IN_GOMP_TARGET_DATA, BUILT_IN_GOMP_TARGET_UPDATE pass NULL
instead of &__OFFLOAD_TABLE__, for BUILT_IN_GOACC_DATA_START,
BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL,
BUILT_IN_GOACC_UPDATE don't pass it at all.
libgomp/
* libgomp_g.h (GOACC_data_start, GOACC_enter_exit_data)
(GOACC_parallel, GOACC_update): Remove const_void *offload_table
formal parameter.  Update all users.
* target.c (GOMP_target, GOMP_target_data, GOMP_target_update):
Document unused formal parameter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219836 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/omp-low.c
libgomp/ChangeLog
libgomp/libgomp_g.h
libgomp/oacc-parallel.c
libgomp/target.c