[Bug fortran/41936] Memory leakage with allocatables and user-defined operators

dominiq at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 10 11:43:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41936

--- Comment #7 from dominiq at gcc dot gnu.org ---
Author: dominiq
Date: Tue Jun 10 11:42:38 2014
New Revision: 211405

URL: http://gcc.gnu.org/viewcvs?rev=211405&root=gcc&view=rev
Log:
2014-06-10  Dominique d'Humieres <dominiq@lps.ens.fr>
        Mikael Morin <mikael@gcc.gnu.org>

    PR fortran/41936
gcc/fortran/
    * trans-expr.c (gfc_conv_expr_reference): Deallocate array
    components.

gcc/testsuite/
    * gfortran.dg/class_array_15.f03: Check memory leaks.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/class_array_15.f03



More information about the Gcc-bugs mailing list