This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66079] [6 Regression] memory leak with source allocation in internal subprogram
- From: "pault at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 03 Aug 2015 18:35:17 +0000
- Subject: [Bug fortran/66079] [6 Regression] memory leak with source allocation in internal subprogram
- Auto-submitted: auto-generated
- References: <bug-66079-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66079
--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 36113
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36113&action=edit
Patch for th 5 branch
Before closing this PR, I checked and found that the 5 branch now leaks memory.
The attached fixes the memory leak but does not fix the ICEs for which the
tests have been commented out. There is already too much divergence in
trans_allocate between 5 and 6 to do any more.
What do you think about applying this patch, which bootstraps and regtests?
Paul