From: Thomas Schwinge Date: Thu, 14 May 2020 17:17:32 +0000 (+0200) Subject: [OpenACC] Remove (unused) 'GOMP_MAP_ALWAYS_FROM' handling from 'libgomp/oacc-mem... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=995aba5867b1c64b2b56a200ef16b135effe85f7;p=gcc.git [OpenACC] Remove (unused) 'GOMP_MAP_ALWAYS_FROM' handling from 'libgomp/oacc-mem.c:goacc_exit_data_internal' This had gotten added in commit 378da98fcc907d05002bcd3d6ff7951f0cf485e5 (r279621) "OpenACC reference count overhaul", but it doesn't have any use in OpenACC. libgomp/ * oacc-mem.c (goacc_exit_data_internal): Remove 'GOMP_MAP_ALWAYS_FROM' handling. --- diff --git a/libgomp/oacc-mem.c b/libgomp/oacc-mem.c index 936ae649dd9..1a0cd4caf28 100644 --- a/libgomp/oacc-mem.c +++ b/libgomp/oacc-mem.c @@ -1102,7 +1102,6 @@ goacc_exit_data_internal (struct gomp_device_descr *acc_dev, size_t mapnum, { case GOMP_MAP_FROM: case GOMP_MAP_FORCE_FROM: - case GOMP_MAP_ALWAYS_FROM: copyfrom = true; /* Fallthrough. */