re PR fortran/48746 (Matmul with allocate on assignment)
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 30 Apr 2011 11:46:31 +0000 (11:46 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 30 Apr 2011 11:46:31 +0000 (11:46 +0000)
commitb972d95b2cfb0737b5f1ca06cd042356b907c609
treeaf36f24ec5a73350b13eb55374d655032eda6563
parent46e43d2b55f6d0e54c564b38e73f306f63a66f9e
re PR fortran/48746 (Matmul with allocate on assignment)

2011-04-30  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/48746
* trans-expr.c (fcncall_realloc_result): Set the bounds and the
offset so that the lbounds are one.
(gfc_trans_arrayfunc_assign): Add rank to arguments of above.

2011-04-30  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/48746
* gfortran.dg/realloc_on_assign_7.f03: Test bounds.

From-SVN: r173213
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/realloc_on_assign_7.f03