http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43018
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-10-24 19:10:10 UTC --- The problem was that for copying the component, not the size of the element but the size of the pointer was used. Cf. http://gcc.gnu.org/ml/fortran/2010-10/msg00229.html for more details and for a patch.