[Patch] libgomp: Fix 'target enter data' with always pointer

2023-02-13 Thread Tobias Burnus
The problem is that GOMP_MAP_ALWAYS_POINTER, there is a lookup for "i - 1" but with 'target enter data', GOMP_MAP_ALWAYS_POINTER and its data were passed as separate entities. I am not sure whether there is a legitimate reason to have two GOMP_MAP_ALWAYS_POINTER in a row; the check in gomp_map_va

Re: [Patch] libgomp: Fix 'target enter data' with always pointer

2023-02-15 Thread Jakub Jelinek via Gcc-patches
On Mon, Feb 13, 2023 at 09:28:15PM +0100, Tobias Burnus wrote: > libgomp: Fix 'target enter data' with always pointer > > As GOMP_MAP_ALWAYS_POINTER operates on the previous map item, ensure that > with 'target enter data' both are passed together to gomp_map_vars_internal. > > libgomp/ChangeLog: