http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48462
--- Comment #11 from Paul Thomas <pault at gcc dot gnu.org> 2011-04-29 20:26:59 UTC --- Author: pault Date: Fri Apr 29 20:26:56 2011 New Revision: 173185 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173185 Log: 2011-04-29 Paul Thomas <pa...@gcc.gnu.org> PR fortran/48462 * trans-expr.c (arrayfunc_assign_needs_temporary): Deal with automatic reallocation when the lhs is a target. PR fortran/48746 * trans-expr.c (fcncall_realloc_result): Make sure that the result dtype field is set before the function call. 2011-04-29 Paul Thomas <pa...@gcc.gnu.org> PR fortran/48462 * gfortran.dg/realloc_on_assign_7.f03: Modify to test for lhs being a target. PR fortran/48746 * gfortran.dg/realloc_on_assign_7.f03: Add subroutine pr48746. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-expr.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/realloc_on_assign_7.f03