https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 110415, which changed state.
Bug 110415 Summary: (Re)allocation on assignment to allocatable polymorphic variable from allocatable polymorphic function result https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110415 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED