2010-10-26 Tobias Burnus <burnus@net-b.de>
commite7052c5d28cf585920562f127dc16c35fa6d25fb
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Oct 2010 06:49:43 +0000 (26 06:49 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Oct 2010 06:49:43 +0000 (26 06:49 +0000)
treed933685d1b7ebdc28c46d5067c940feaede7020a
parentaa29061672dcd7886775822f89882bd86fde0750
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165936 138bc75d-0d04-0410-961f-82ee72b054a4
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]