Re: [Patch, Fortran] Deallocate CLASS(...),INTENT(OUT),allocatable arrays

2013-05-28 Thread Janus Weil
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

Re: [Patch, Fortran] Deallocate CLASS(...),INTENT(OUT),allocatable arrays

2013-05-24 Thread Tobias Burnus
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.

[Patch, Fortran] Deallocate CLASS(...),INTENT(OUT),allocatable arrays

2013-05-22 Thread Tobias Burnus
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