http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45081
--- Comment #18 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-09 13:31:02 UTC --- Author: burnus Date: Thu Dec 9 13:30:59 2010 New Revision: 167637 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167637 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_3-branch/gcc/testsuite/gfortran.dg/derived_array_intrinisics_1.f90 Modified: branches/gcc-4_3-branch/gcc/fortran/ChangeLog branches/gcc-4_3-branch/gcc/fortran/simplify.c branches/gcc-4_3-branch/gcc/testsuite/ChangeLog