Re: [PATCH] fortran: [PR53296] Fix character array-ctor function called, twice

Jerry DeLisle <[email protected]> Wed, 22 Jul 2026 09:40:06 -0700
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.fortran
Message-ID <[email protected]>
On 7/22/26 12:33 AM, Mikael Morin wrote:
> Le 22/07/2026 à 00:18, Jerry DeLisle a écrit :
>> Hi all,
>>
>> The attached patch fixes this per the ChangeLog. While testing the 
>> double call fix I discovered the a memory leak problem. The patch is 
>> fairly straight forward.
>>
>> Regression tested on x86_64. New test case.
>>
>> Ok for mainline?
> Looks good, yes.
> Thanks.
>
Thanks for review Mikael!

he master branch has been updated by Jerry DeLisle <[email protected]>:

https://gcc.gnu.org/g:f764d7111a29d8323e49a87a8321072295c73244

commitr17-2625-gf764d7111a29d8323e49a87a8321072295c73244 <https://gcc.gnu.org/cgit/gcc/commit/?id=f764d7111a29d8323e49a87a8321072295c73244>
Author: Jerry DeLisle <[email protected]>
Date:   Tue Jul 21 09:15:50 2026 -0700

fortran: [PR53296 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53296>] 
Fix character array-ctor function called twice