https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 80524, which changed state.
Bug 80524 Summary: [F03] Problematic behaviour with a finalization subroutine in gfortran https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80524 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED