Re: [PATCH] Fortran: fix string length for array constructors with type-spec [PR85547]

Jerry D <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.fortran
Message-ID <[email protected]>
On 1/5/26 12:32 PM, Harald Anlauf wrote:
> 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
> 

Hi Harald,

I just finished testing this. Looks OK to go.

I did not see anything obviously wrong with this.

Commit at your discretion.

Jerry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.