From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D29F83858C66; Mon, 6 Mar 2023 19:23:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D29F83858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678130600; bh=d8tCYokfKofXGvINnaI0ZHeg7J0eMqj2qqc3Cc9apOA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=shMpGVir5X2cQYooZ/j+BuVEKOdb/fWDnAXjecBS4eRTljrGnbbtdgCWyyuQPUXen 0TvHOSowWcWgdlRLF022oC4x6AgbKnt8+lmatq17TmaRmoxdfbkg4QG9fmH5y4GVpr nvzZj+UPI5wC6vFRMReZukZASOnb99KDp2ew6Wn0= From: "mikael at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/108925] memory leak of gfc_get_namespace result Date: Mon, 06 Mar 2023 19:23:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mikael at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108925 Mikael Morin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikael at gcc dot gnu.org --- Comment #1 from Mikael Morin --- Can't reproduce with simple examples, testcase? I have used the following case, it does show some leaks, but none with load_needed in the backtrace. module m integer i end module m module n use m contains subroutine s(a) integer a i =3D a end subroutine end module n program p use n call s(0) print *, i end program=