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

2024-12-09 Thread Harald Anlauf
Thanks, Jerry! Pushed as r15-6053. Am 08.12.24 um 23:57 schrieb Jerry Delisle: Looks good, OK to push. On Sun, Dec 8, 2024, 1:39 PM Harald Anlauf wrote: Dear all, while looking at testcases with inquiry refs, I encountered two minor GMP memleaks due to double-initialization of GMP variable

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

2024-12-08 Thread Jerry Delisle
Looks good, OK to push. On Sun, Dec 8, 2024, 1:39 PM Harald Anlauf wrote: > Dear all, > > while looking at testcases with inquiry refs, I encountered two minor > GMP memleaks due to double-initialization of GMP variables. Easily > plugged by the attached patch. > > Regtested on x86_64-pc-linux-

[PATCH] Fortran: fix two minor front-end GMP memleaks

2024-12-08 Thread Harald Anlauf
, Harald From a299b38fa34869b19f5e11bcc389cd78c877c319 Mon Sep 17 00:00:00 2001 From: Harald Anlauf Date: Sun, 8 Dec 2024 22:30:32 +0100 Subject: [PATCH] Fortran: fix two minor front-end GMP memleaks gcc/fortran/ChangeLog: * expr.cc (find_array_section): Do not initialize GMP variables twice