diff options
author | Andrew Stubbs <ams@codesourcery.com> | 2020-07-29 15:05:45 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2021-06-10 13:11:57 +0200 |
commit | ae33c6deb158911548a5f1d383b683abb799be4a (patch) | |
tree | bb5203d9e461a30498fcf935b50c98f1d4b283a5 | |
parent | 7c097d18c11dc7cccd38537d6d8641e2d5913dee (diff) | |
download | gcc-ae33c6deb158911548a5f1d383b683abb799be4a.zip gcc-ae33c6deb158911548a5f1d383b683abb799be4a.tar.gz gcc-ae33c6deb158911548a5f1d383b683abb799be4a.tar.bz2 |
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 <thomas@codesourcery.com>
-rw-r--r-- | libgomp/oacc-parallel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libgomp/oacc-parallel.c b/libgomp/oacc-parallel.c index cf1baf6..d05b3d8 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], |