2011-04-30 Paul Thomas <pault@gcc.gnu.org>
commite656e9d8e1148cfa524572e8c5685fdc82b00535
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 30 Apr 2011 11:46:31 +0000 (30 11:46 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 30 Apr 2011 11:46:31 +0000 (30 11:46 +0000)
treeaf36f24ec5a73350b13eb55374d655032eda6563
parent028b4ba25e60c264fb71990a7ad1bc0761c6d319
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173213 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