https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108581

--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <[email protected]>:

https://gcc.gnu.org/g:749af11149623dbf9ba026fd98bd7f31409fdaed

commit r16-4006-g749af11149623dbf9ba026fd98bd7f31409fdaed
Author: Harald Anlauf <[email protected]>
Date:   Sat Sep 20 22:20:25 2025 +0200

    Fortran: fix issues with rank-2 deferred-length character arrays [PR108581]

            PR fortran/108581

    gcc/fortran/ChangeLog:

            * trans-array.cc (gfc_conv_expr_descriptor): Take the dynamic
            string length into account when deriving the dataptr offset for
            a deferred-length character array.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/deferred_character_39.f90: New test.

Reply via email to