]> gcc.gnu.org Git - gcc.git/commit - gcc/fortran/trans-decl.c
trans-array.c (gfc_trans_deferred_array): Call the finalizer for nonallocatable local...
authorTobias Burnus <burnus@net-b.de>
Fri, 21 Jun 2013 21:51:41 +0000 (23:51 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Fri, 21 Jun 2013 21:51:41 +0000 (23:51 +0200)
commitea8b72e6badeeb6714ea16707002a054de17f3a9
tree8c497c9e3d7192b2eab61b4fc62363f866caa686
parent6f556b07c95e830c322c1ba5ffaa2bbdaab51423
trans-array.c (gfc_trans_deferred_array): Call the finalizer for nonallocatable local variables.

2013-06-21  Tobias Burnus  <burnus@net-b.de>

        * trans-array.c (gfc_trans_deferred_array): Call the
        finalizer for nonallocatable local variables.
        * trans-decl.c (gfc_get_symbol_decl): Add local
        finalizable vars to the deferred list.
        (gfc_trans_deferred_vars): Call gfc_trans_deferred_array
        for those.

2013-06-21  Tobias Burnus  <burnus@net-b.de>

        * gfortran.dg/finalize_17.f90: New.

From-SVN: r200321
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/finalize_17.f90 [new file with mode: 0644]
This page took 0.097561 seconds and 5 git commands to generate.