https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 93691, which changed state.
Bug 93691 Summary: Type bound assignment causes too many finalization of derived type when part of other type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93691 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED