*PING* / Re: [Patch, Fortran] Finalize nonallocatables with INTENT(out)
Tobias Burnus
burnus@net-b.de
Thu Jun 6 08:35:00 GMT 2013
* PING *
Attached is a rediff - including the later posted additional test case
(http://gcc.gnu.org/ml/fortran/2013-05/msg00141.html)
On May 31, 2013 18:39, Tobias Burnus wrote:
> This patch adds finalization support for INTENT(out) for
> nonallocatable dummy arguments.
>
> Additionally, it addresses a missed optimization: The previous code
> tried to deallocate allocatable components even if the dummy argument
> was already an allocatable. That's a missed optimization as gfortran
> deallocates allocatables in the caller.
>
> OK for the trunk?
>
> Note: This patch depends on
> http://gcc.gnu.org/ml/fortran/2013-05/msg00134.html
>
> Tobias
>
> PS: There are many more places where finalization should happen, e.g.
> intrinsic assignment (LHS + RHS func/constructor finalization),
> end-of-scope of nonallocatables. And some issues related coarrays,
> elemental+optional, etc.
> However, I stop here for the moment as I run out of time - and writing
> on-top patches of not reviewed/committed patches starts to become a
> chore.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: final-intentout-v3.diff
Type: text/x-patch
Size: 10961 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20130606/e1a9dd04/attachment.bin>
More information about the Fortran
mailing list