2012-01-31 Paul Thomas <pault@gcc.gnu.org>
commit49ad82f568ad85eb55d70d4d58a3e83a28583702
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jan 2012 12:30:32 +0000 (31 12:30 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jan 2012 12:30:32 +0000 (31 12:30 +0000)
treedab4882108b8c0c3de2046b70b8c6c360b8aabf4
parentb004da1e5a21d906e6fff307e460dd7d94ee59fd
2012-01-31  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/52012
* trans-expr.c (fcncall_realloc_result): Correct calculation of
result offset.

2012-01-31  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/52012
* gfortran.dg/realloc_on_assign_10.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183757 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/realloc_on_assign_10.f90 [new file with mode: 0644]