aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2022-05-04 18:18:44 +0200
committerTobias Burnus <tobias@codesourcery.com>2022-05-04 18:18:44 +0200
commit3f8c389fe90bf565a6221a46bb7fb745dd4c1510 (patch)
tree7f9d1fa9367538651022da2ab542d0272b37e1a9 /libiberty
parent79a1a01cbd0e4a491d7078783131e3f88ca7158d (diff)
downloadgcc-3f8c389fe90bf565a6221a46bb7fb745dd4c1510.zip
gcc-3f8c389fe90bf565a6221a46bb7fb745dd4c1510.tar.gz
gcc-3f8c389fe90bf565a6221a46bb7fb745dd4c1510.tar.bz2
OpenMP: Fix use_device_{addr,ptr} with in-data-sharing arg
For array-descriptor vars, the descriptor is assigned to a temporary. However, this failed when the clause's argument was in turn in a data-sharing clause as the outer context's VALUE_EXPR wasn't used. gcc/ChangeLog: * omp-low.cc (lower_omp_target): Fix use_device_{addr,ptr} with list item that is in an outer data-sharing clause. libgomp/ChangeLog: * testsuite/libgomp.fortran/use_device_addr-5.f90: New test.
Diffstat (limited to 'libiberty')
0 files changed, 0 insertions, 0 deletions