re PR fortran/52012 (Wrong-code with realloc on assignment and RESHAPE w/ ORDER=)
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 31 Jan 2012 12:30:32 +0000 (12:30 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 31 Jan 2012 12:30:32 +0000 (12:30 +0000)
commit458842fb3819b2c4c2289476084f045714dd4738
treedab4882108b8c0c3de2046b70b8c6c360b8aabf4
parenta2be33be2436af63f81a55a83ee8e06694478c98
re PR fortran/52012 (Wrong-code with realloc on assignment and RESHAPE w/ ORDER=)

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.

From-SVN: r183757
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]