[Patch, Fortran, OOP] PR 47637: Memory leak involving INTENT(OUT) CLASS argument w/ allocatable components

Janus Weil janus@gcc.gnu.org
Wed Feb 9 15:58:00 GMT 2011


Committed as r169978.

Cheers,
Janus



2011/2/9 Janus Weil <janus@gcc.gnu.org>:
> Hi all,
>
> here is a small patch which takes care of auto-deallocating
> INTENT(OUT) CLASS arguments with allocatable components. Regtested on
> x86_64-unknown-linux-gnu. Ok for trunk?
>
> Cheers,
> Janus
>
>
> 2011-02-09  Janus Weil  <janus@gcc.gnu.org>
>
>        PR fortran/47637
>        * trans-decl.c (init_intent_out_dt): Handle CLASS arguments.
>
>
> 2011-02-09  Janus Weil  <janus@gcc.gnu.org>
>
>        PR fortran/47637
>        * gfortran.dg/auto_dealloc_2.f90
>



More information about the Fortran mailing list