Clean up 'GOMP_MAP_POINTER' handling in 'libgomp/oacc-parallel.c:GOACC_declare'
authorAndrew Stubbs <ams@codesourcery.com>
Wed, 29 Jul 2020 14:05:45 +0000 (15:05 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Thu, 10 Jun 2021 11:11:57 +0000 (13:11 +0200)
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>
libgomp/oacc-parallel.c

index cf1baf6..d05b3d8 100644 (file)
@@ -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],