http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45451
--- Comment #15 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-10-26 06:49:47 UTC --- Author: burnus Date: Tue Oct 26 06:49:43 2010 New Revision: 165936 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165936 Log: 2010-10-26 Tobias Burnus <bur...@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 <bur...@net-b.de> PR fortran/45451 * gfortran.dg/class_allocate_5.f90: New. Added: trunk/gcc/testsuite/gfortran.dg/class_allocate_5.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-array.c trunk/gcc/fortran/trans-stmt.c trunk/gcc/testsuite/ChangeLog