aboutsummaryrefslogtreecommitdiff
path: root/gcc/coverage.c
diff options
context:
space:
mode:
authorTobias Burnus <tburnus@baylibre.com>2025-05-15 09:15:21 +0200
committerTobias Burnus <tburnus@baylibre.com>2025-05-19 09:49:41 +0200
commit57f73c3956572f30f3e0f7a350d958985b11daa5 (patch)
tree0f51a6ea0c0a32a2b23859298066b415df2834aa /gcc/coverage.c
parentab9ca3a8b1af4119b5849f3615a94e5f1fd4e5a7 (diff)
downloadgcc-57f73c3956572f30f3e0f7a350d958985b11daa5.zip
gcc-57f73c3956572f30f3e0f7a350d958985b11daa5.tar.gz
gcc-57f73c3956572f30f3e0f7a350d958985b11daa5.tar.bz2
OpenMP/Fortran: Fix allocatable-component mapping of derived-type array comps
The check whether the location expression in map clause has allocatable components was failing for some derived-type array expressions such as map(var%tiles(1)) as the compiler produced _4 = var.tiles; MEMREF(_4, _5); This commit now also handles this case. gcc/fortran/ChangeLog: * trans-openmp.cc (gfc_omp_deep_mapping_do): Handle SSA_NAME if a def_stmt is available. libgomp/ChangeLog: * testsuite/libgomp.fortran/alloc-comp-4.f90: New test. (cherry picked from commit f99017c3125f4400cf6a098cf5b33d32fe3e6645)
Diffstat (limited to 'gcc/coverage.c')
0 files changed, 0 insertions, 0 deletions