| commit | d7709c8366b59f556bd354dc63162c0f97172ab0 | [log] [tgz] |
|---|---|---|
| author | Harald Anlauf <anlauf@gmx.de> | Sat Sep 20 22:20:25 2025 +0200 |
| committer | Harald Anlauf <anlauf@gmx.de> | Sun Sep 28 20:53:32 2025 +0200 |
| tree | 6f9210fa47bd9e72d20b5a013136b06ba48a3c71 | |
| parent | c9be2aa4f60bc46e019b5e75c75af8e1e4e1e4ae [diff] |
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)