[PATCH] Fortran: fix string length for array constructors with type-spec [PR85547]
Harald Anlauf
anlauf@gmx.de
Mon Jan 5 20:32:36 GMT 2026
Dear All,
when a type-spec was provided with a character array constructor,
it seemed to get "lost" when passing the array constructor to
a procedure, even to the LEN() intrinsic.
The attached patch fixes this, enables simplification of LEN()
when passed an array constructor with type-spec, and also adds
the type-spec to the fortran dump.
Regtested on x86_64-pc-linux-gnu. OK for mainline?
Thanks,
Harald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr85547.diff
Type: text/x-patch
Size: 9503 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20260105/593f13dc/attachment-0003.bin>
More information about the Fortran
mailing list