http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45081
--- Comment #16 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-09 08:09:59 UTC --- Author: burnus Date: Thu Dec 9 08:09:52 2010 New Revision: 167627 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167627 Log: 2010-12-09 Paul Thomas <pa...@gcc.gnu.org> PR fortran/45081 * simplify.c (is_constant_array_expr): Allow structure array elements as well as constants. (gfc_simplify_reshape): Copy the derived type of source to the result. 2010-12-09 Paul Thomas <pa...@gcc.gnu.org> PR fortran/45081 * gfortran.dg/derived_array_intrinsics_1.f90 : New test. Added: branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/derived_array_intrinisics_1.f90 Modified: branches/gcc-4_4-branch/gcc/fortran/ChangeLog branches/gcc-4_4-branch/gcc/fortran/simplify.c branches/gcc-4_4-branch/gcc/testsuite/ChangeLog