2011-04-29 Paul Thomas <pault@gcc.gnu.org>
commit556c5c0c811c403c7e2f7201de02fa898330ee5f
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Apr 2011 20:26:56 +0000 (29 20:26 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Apr 2011 20:26:56 +0000 (29 20:26 +0000)
tree60ed47ddac407041385577f71d503609d3a92443
parentc00e363fcbb3b9549589507f88752fa97cc6471a
2011-04-29  Paul Thomas  <pault@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  <pault@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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173185 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/realloc_on_assign_7.f03