diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2022-11-02 17:04:53 +0100 |
---|---|---|
committer | Sandra Loosemore <sloosemore@baylibre.com> | 2025-05-15 20:25:47 +0000 |
commit | 843015762f450088d29c94743343e3f86429ff60 (patch) | |
tree | 80dcc6defc7690e3a1fbc16eb28495e50929c49f /gcc/c/c-parser.cc | |
parent | cc069acadd2723a6a5884251ebc946bd61a4dc44 (diff) | |
download | gcc-843015762f450088d29c94743343e3f86429ff60.zip gcc-843015762f450088d29c94743343e3f86429ff60.tar.gz gcc-843015762f450088d29c94743343e3f86429ff60.tar.bz2 |
Fortran/OpenMP: Testcase for DT struct-component with 'alloc' and array descr
When using 'map(alloc: var, dt%comp)' needs to have a 'to' mapping of
the array descriptor as otherwise the bounds are not available in the
target region. - Likewise for character strings.
Part of patch submitted to mainline:
https://gcc.gnu.org/pipermail/gcc-patches/2022-November/604887.html
The code changes from that patch made it upstream in a different form
in commit 80bb0b8a81fdc5d0a1c88ae3febd593868daa752. This patch is only
the new testcase from the original posting. Some additional issues are
exposed by the testcase; those are '#if 0'ed and will be handled later.
libgomp/ChangeLog:
* testsuite/libgomp.fortran/target-enter-data-3a.f90: New test.
Diffstat (limited to 'gcc/c/c-parser.cc')
0 files changed, 0 insertions, 0 deletions