A rather simple patch found while testing the draft finalization patch.
For a class(...), allocatable, intent(out) dummy argument, the actual
argument has to be deallocated. That worked for scalar polymorphic vars, but
not for polymorphic arrays.
Actually, it turned out to be a bit more
On May 22, 2013 23:28Tobias Burnus wrote:
A rather simple patch found while testing the draft finalization patch.
For a class(...), allocatable, intent(out) dummy argument, the
actual argument has to be deallocated. That worked for scalar
polymorphic vars, but not for polymorphic arrays.
A rather simple patch found while testing the draft finalization patch.
For a class(...), allocatable, intent(out) dummy argument, the actual
argument has to be deallocated. That worked for scalar polymorphic vars,
but not for polymorphic arrays.
Build and regtested on x86-64-gnu-linux.
OK