From dc19c8fd02e3d3d5b4a657449e3c0edf982e39d9 Mon Sep 17 00:00:00 2001 From: tschwinge Date: Mon, 19 Jan 2015 12:03:35 +0000 Subject: [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 --- libgomp/libgomp_g.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libgomp/libgomp_g.h') diff --git a/libgomp/libgomp_g.h b/libgomp/libgomp_g.h index c1e4e6367ab..5e88d451b9a 100644 --- a/libgomp/libgomp_g.h +++ b/libgomp/libgomp_g.h @@ -217,15 +217,15 @@ extern void GOMP_teams (unsigned int, unsigned int); /* oacc-parallel.c */ -extern void GOACC_data_start (int, const void *, - size_t, void **, size_t *, unsigned short *); +extern void GOACC_data_start (int, size_t, void **, size_t *, + unsigned short *); extern void GOACC_data_end (void); -extern void GOACC_enter_exit_data (int, const void *, size_t, void **, +extern void GOACC_enter_exit_data (int, size_t, void **, size_t *, unsigned short *, int, int, ...); -extern void GOACC_parallel (int, void (*) (void *), const void *, size_t, +extern void GOACC_parallel (int, void (*) (void *), size_t, void **, size_t *, unsigned short *, int, int, int, int, int, ...); -extern void GOACC_update (int, const void *, size_t, void **, size_t *, +extern void GOACC_update (int, size_t, void **, size_t *, unsigned short *, int, int, ...); extern void GOACC_wait (int, int, ...); extern int GOACC_get_num_threads (void); -- cgit v1.2.1