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

2024-10-30 Thread Harald Anlauf
Am 29.10.24 um 23:06 schrieb Jerry D: On 10/29/24 2:00 PM, Harald Anlauf wrote: Dear all, while looking at the recent testcase gfortran.dg/pr115070.f90 with f951 running under valgrind, I noticed minor front-end memleaks of gfc_expr's that are probably fallout from a code refactoring, which are

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

2024-10-29 Thread Jerry D
On 10/29/24 2:00 PM, Harald Anlauf wrote: Dear all, while looking at the recent testcase gfortran.dg/pr115070.f90 with f951 running under valgrind, I noticed minor front-end memleaks of gfc_expr's that are probably fallout from a code refactoring, which are fixed by the attached. Regtested on x

[PATCH] Fortran: fix several front-end memleaks

2024-10-29 Thread Harald Anlauf
nline? Thanks, Harald From 87aaaf3b8614730d0f7ccfe29ee36f4921cf48d2 Mon Sep 17 00:00:00 2001 From: Harald Anlauf Date: Tue, 29 Oct 2024 21:52:27 +0100 Subject: [PATCH] Fortran: fix several front-end memleaks gcc/fortran/ChangeLog: * trans-expr.cc (gfc_trans_class_init_assign): Free interme