[PATCH] Fortran: fix minor front-end memleaks

2024-11-26 Thread Harald Anlauf
Dear all, the attached patch fixes two minor front-end memleaks I saw when working on recent PRs (pr117774 is one of them) and running f951 under valgrind. Regtested on x86_64-pc-linux-gnu. OK for mainline? Thanks, Harald From d5236446302a01eb11c017862a0813fafd0b95a1 Mon Sep 17 00:00:00 2001 F

Re: [PATCH] Fortran: fix minor front-end memleaks

2024-11-26 Thread Paul Richard Thomas
Hi Harald, Looks good to me. Thanks Paul On Tue, 26 Nov 2024 at 19:51, Harald Anlauf wrote: > Dear all, > > the attached patch fixes two minor front-end memleaks I saw when working > on recent PRs (pr117774 is one of them) and running f951 under valgrind. > > Regtested on x86_64-pc-linux-gnu.

Re: [PATCH] Fortran: passing inquiry ref of complex array to assumed rank dummy [PR117774]

2024-11-26 Thread Harald Anlauf
Am 25.11.24 um 23:33 schrieb Steve Kargl: On Mon, Nov 25, 2024 at 10:05:49PM +, Harald Anlauf wrote: Dear all, the attached patch fixes an ICE when passing an inquiry reference of a complex array to an assumed-rank dummy argument by terminating the search for the array reference before we h

Re: [PATCH] Fortran: fix minor front-end memleaks

2024-11-26 Thread Harald Anlauf
Am 26.11.24 um 21:09 schrieb Paul Richard Thomas: Hi Harald, Looks good to me. Thanks Paul Thanks, Paul. Pushed as r15-5701-geff7e72815ada5 . On Tue, 26 Nov 2024 at 19:51, Harald Anlauf wrote: Dear all, the attached patch fixes two minor front-end memleaks I saw when working on recent

Re: [PATCH] Fortran: fix minor front-end memleaks

2024-11-26 Thread Harald Anlauf
Am 26.11.24 um 23:12 schrieb Harald Anlauf: Am 26.11.24 um 21:09 schrieb Paul Richard Thomas: Hi Harald, Looks good to me. Thanks Paul Thanks, Paul. Pushed as r15-5701-geff7e72815ada5 . This should have read r15-5708-g94f98f67f7271f, the testcase in the other one was used in the testing f