From: Andrew Stubbs Date: Wed, 29 Jul 2020 14:05:45 +0000 (+0100) Subject: Clean up 'GOMP_MAP_POINTER' handling in 'libgomp/oacc-parallel.c:GOACC_declare' X-Git-Tag: basepoints/gcc-13~6953 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae33c6deb158911548a5f1d383b683abb799be4a;p=thirdparty%2Fgcc.git Clean up 'GOMP_MAP_POINTER' handling in 'libgomp/oacc-parallel.c:GOACC_declare' Given that we 'continue' for 'GOMP_MAP_POINTER', we cannot possibly encounter it afterwards. Small fix-up for r230275 (commit 6e232ba4246ca324a663ec5ddf0ba4db5cf3fbad) "[OpenACC] declare directive". libgomp/ * oacc-parallel.c (GOACC_declare): Clean up 'GOMP_MAP_POINTER' handling. Co-Authored-By: Thomas Schwinge --- diff --git a/libgomp/oacc-parallel.c b/libgomp/oacc-parallel.c index cf1baf6291d8..d05b3d870974 100644 --- a/libgomp/oacc-parallel.c +++ b/libgomp/oacc-parallel.c @@ -747,7 +747,6 @@ GOACC_declare (int flags_m, size_t mapnum, case GOMP_MAP_FORCE_ALLOC: case GOMP_MAP_FORCE_FROM: case GOMP_MAP_FORCE_TO: - case GOMP_MAP_POINTER: case GOMP_MAP_RELEASE: case GOMP_MAP_DELETE: GOACC_enter_exit_data (flags_m, 1, &hostaddrs[i], &sizes[i],