https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64290
Bug ID: 64290
Summary: Destructor not called at deallocation of LHS
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: baradi09 at gmail dot com
Created attachment 34268
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34268&action=edit
Self contained source demonstrating
During an assingment with an allocatable type on both, the LHS and the RHS, the
destructor of the LHS-type is not called. IMHO, this is erroneous behaviour as
the LHS gets (hopfully) deallocated on the assignment.