https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108581
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Harald Anlauf <[email protected]>: https://gcc.gnu.org/g:d7709c8366b59f556bd354dc63162c0f97172ab0 commit r15-10378-gd7709c8366b59f556bd354dc63162c0f97172ab0 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. (cherry picked from commit 749af11149623dbf9ba026fd98bd7f31409fdaed)
