aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2023-02-15 11:17:40 +0100
committerTobias Burnus <tobias@codesourcery.com>2023-02-15 11:18:31 +0100
commitc7a9655be60cb4f224d1e5906bfe8ae227b5a3a0 (patch)
tree2352ef12c4be99d6147b9404b4abddfe9a3a3a76 /gcc
parent3f71b82596e992eb6e53fe9bbd70a4b52bc908e8 (diff)
downloadgcc-c7a9655be60cb4f224d1e5906bfe8ae227b5a3a0.zip
gcc-c7a9655be60cb4f224d1e5906bfe8ae227b5a3a0.tar.gz
gcc-c7a9655be60cb4f224d1e5906bfe8ae227b5a3a0.tar.bz2
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: * target.c (gomp_map_vars_internal): Add 'i > 0' before doing a kind check. (GOMP_target_enter_exit_data): If the next map item is GOMP_MAP_ALWAYS_POINTER map it together with the current item. * testsuite/libgomp.fortran/target-enter-data-3.f90: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions