[multiple changes]
authorTobias Burnus <burnus@net-b.de>
Tue, 26 Oct 2010 06:49:43 +0000 (08:49 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Tue, 26 Oct 2010 06:49:43 +0000 (08:49 +0200)
commit6739e9ec6e06c73b2426e7a8bbcc6594eda40f7f
treed933685d1b7ebdc28c46d5067c940feaede7020a
parent90ecaf87ff7b69272f0d5a1dd8cbe3a4ec7a9fd8
[multiple changes]

2010-10-26  Tobias Burnus  <burnus@net-b.de>

        PR fortran/45451
        * trans-stmt.c (gfc_trans_allocate): Do a deep-copy for SOURCE=.

        PR fortran/43018
        * trans-array.c (duplicate_allocatable): Use size of type and not
        the size of the pointer to the type.

2010-10-26  Tobias Burnus <burnus@net-b.de>

        PR fortran/45451
        * gfortran.dg/class_allocate_5.f90: New.

From-SVN: r165936
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_allocate_5.f90 [new file with mode: 0644]