https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336

Vladimir Terzi <vterzi1996 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vterzi1996 at gmail dot com

--- Comment #38 from Vladimir Terzi <vterzi1996 at gmail dot com> ---
It appears that gfortran-13.1 forgets to finalize an instance in the
initialization using the ALLOCATE statement with SOURCE (e.g.,
`allocate(obj,source=type())`). This behavior differs from the assignment
(e.g., `obj=type()`). The "constructor" was redefined with an interface.

I already created a bug report
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114613), but a person from Stack
Overflow pointed me to this thread.

Reply via email to