Re: [PATCH] Fortran: fix initialization of allocatable non-deferred character [PR59252]

2025-02-07 Thread Harald Anlauf
Hi Steve, Am 07.02.25 um 21:39 schrieb Steve Kargl: On Fri, Feb 07, 2025 at 09:31:12PM +0100, Harald Anlauf wrote: Regtested on x86_64-pc-linux-gnu. OK for mainline? Looks reasonable. While it is a really old bug but wrong code, I'd like to backport this also at least to 14-branch. Any

Re: [PATCH] Fortran: fix initialization of allocatable non-deferred character [PR59252]

2025-02-07 Thread Steve Kargl
On Fri, Feb 07, 2025 at 09:31:12PM +0100, Harald Anlauf wrote: > > Regtested on x86_64-pc-linux-gnu. OK for mainline? > Looks reasonable. > While it is a really old bug but wrong code, I'd like to backport > this also at least to 14-branch. Any reservations? If it passes regression testing,

[PATCH] Fortran: fix initialization of allocatable non-deferred character [PR59252]

2025-02-07 Thread Harald Anlauf
Dear all, the initialization of allocatable non-deferred character with NULL when being a component of a derived type used a wrong path instead of properly initializing with a null pointer and produced really weird code. Regtested on x86_64-pc-linux-gnu. OK for mainline? While it is a really o