https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94361
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tkoenig at gcc dot gnu.org
--- Comment #5 from anlauf at gcc dot gnu.org ---
Reverting the commit
commit b81f7b83631be7dedcdcf44eed6dd575ada3ac23
Author: Thomas Koenig <[email protected]>
Date: Sat Apr 6 22:10:28 2019 +0000
re PR fortran/87352 (Large stack usage with new gfortran)
2019-04-06 Thomas Koenig <[email protected]>
PR fortran/87352
* gfortran.h (gfc_component): Add finalized field.
* class.c (finalize_component): If the component is already
finalized, return early. Set component->finalized on exit.
2019-04-06 Thomas Koenig <[email protected]>
PR fortran/87352
* gfortran.dg/finalize_28.f90: Adjust count of __builtin_free.
* gfortran.dg/finalize_33.f90: Likewise.
* gfortran.dg/finalize_34.f90: New test.
From-SVN: r270184
fixes the memory leak.
CCing Thomas.