[Bug fortran/60913] [OOP] Memory leak with allocatable polymorphic function result (in type-bound operator)

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jan 3 12:54:00 GMT 2015


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.



More information about the Gcc-bugs mailing list