https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97977
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> --- I think we had the issue in some other PR. The problem is that 'string1' consists of two variables – 'string1' itself + a hidden variable which contains the string length. The hidden variable needs to get a data-sharing attribute and it gets the wrong one. I think the same issue occurs with mapping to a target region. – Not that trivial to fix, unfortunately :-(