public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1360] Clean up 'GOMP_MAP_POINTER' handling in 'libgomp/oacc-parallel.c:GOACC_declare'
@ 2021-06-10 11:12 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2021-06-10 11:12 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:ae33c6deb158911548a5f1d383b683abb799be4a

commit r12-1360-gae33c6deb158911548a5f1d383b683abb799be4a
Author: Andrew Stubbs <ams@codesourcery.com>
Date:   Wed Jul 29 15:05:45 2020 +0100

    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>

Diff:
---
 libgomp/oacc-parallel.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libgomp/oacc-parallel.c b/libgomp/oacc-parallel.c
index cf1baf6291d..d05b3d87097 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],


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-10 11:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-10 11:12 [gcc r12-1360] Clean up 'GOMP_MAP_POINTER' handling in 'libgomp/oacc-parallel.c:GOACC_declare' Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).