trans-expr.c (gfc_conv_procedure_call): Deallocate polymorphic arrays for allocatable...
authorTobias Burnus <burnus@net-b.de>
Tue, 28 May 2013 15:24:35 +0000 (17:24 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Tue, 28 May 2013 15:24:35 +0000 (17:24 +0200)
commit4fb5478c936efb66fb417557182cb7cf7f4513b4
tree4946cdd562283965bd2d2588c37bb5e905e50166
parent4fdf9c1ec0cc0be111e5d22d4da1cfa36a384c42
trans-expr.c (gfc_conv_procedure_call): Deallocate polymorphic arrays for allocatable intent(out) dummies.

2013-05-28  Tobias Burnus  <burnus@net-b.de>

        * trans-expr.c (gfc_conv_procedure_call): Deallocate
        polymorphic arrays for allocatable intent(out) dummies.
        (gfc_reset_vptr): New function, moved from trans-stmt.c
        and extended.
        * trans-stmt.c (reset_vptr): Remove.
        (gfc_trans_deallocate): Update calls.
        * trans.h (gfc_reset_vptr): New prototype.

2013-05-28  Tobias Burnus  <burnus@net-b.de>

        * gfortran.dg/class_array_16.f90: New.

From-SVN: r199383
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/fortran/trans-stmt.c
gcc/fortran/trans.h
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_array_16.f90 [new file with mode: 0644]