[Bug fortran/97977] Fortran deferred length strings incompatible with OMP

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 24 15:57:51 GMT 2021


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 :-(


More information about the Gcc-bugs mailing list