diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2022-05-04 18:18:44 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2022-05-04 18:18:44 +0200 |
commit | 3f8c389fe90bf565a6221a46bb7fb745dd4c1510 (patch) | |
tree | 7f9d1fa9367538651022da2ab542d0272b37e1a9 /.gitattributes | |
parent | 79a1a01cbd0e4a491d7078783131e3f88ca7158d (diff) | |
download | gcc-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 '.gitattributes')
0 files changed, 0 insertions, 0 deletions