https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60913
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Summary|Memory leak with deferred |[OOP] Memory leak with |operators |allocatable polymorphic | |function result (in | |type-bound operator) --- Comment #3 from janus at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #2) > It may be a duplicate of pr55603. Pretty much. But the case here is a bit more complicated, since the result is polymorphic and the function is bound to a type-bound operator.