https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110415
Bug ID: 110415 Summary: (Re)allocation on assignment to allocatable polymorphic variable from allocatable polymorphic function result Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: everythingfunctional at protonmail dot com Target Milestone: --- A reproducer and explanation can be found at: https://github.com/HPC-Bugs/reproducers/tree/main/compiler/Fortran/gfortran/polymorphic-function-assignment