Re: [PATCH] Fortran: fix passing of character length of function to procedure [PR121203]

2025-07-23 Thread Harald Anlauf
Am 22.07.25 um 23:54 schrieb Jerry D: On 7/22/25 11:28 AM, Harald Anlauf wrote: Dear all, the attached patch fixes a long-standing issue with legacy code, where an assumed-length character function is passed as actual argument to a procedure, and when there is no explicit interface. The solutio

Re: [PATCH] Fortran: fix passing of character length of function to procedure [PR121203]

2025-07-22 Thread Jerry D
On 7/22/25 11:28 AM, Harald Anlauf wrote: Dear all, the attached patch fixes a long-standing issue with legacy code, where an assumed-length character function is passed as actual argument to a procedure, and when there is no explicit interface. The solution is to do the same as in the case when

[PATCH] Fortran: fix passing of character length of function to procedure [PR121203]

2025-07-22 Thread Harald Anlauf
2001 From: Harald Anlauf Date: Tue, 22 Jul 2025 20:16:16 +0200 Subject: [PATCH] Fortran: fix passing of character length of function to procedure [PR121203] PR fortran/121203 gcc/fortran/ChangeLog: * trans-expr.cc (gfc_conv_procedure_call): Obtain the character length of an assumed character