This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/66079] [6 Regression] memory leak with source allocation in internal subprogram


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]