re PR fortran/52386 (ICE in gfc_conv_descriptor_dtyp (realloc LHS related))
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 29 Feb 2012 07:21:38 +0000 (07:21 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 29 Feb 2012 07:21:38 +0000 (07:21 +0000)
commit5cda350e60df32b728d1cf4a346a980d5870193c
tree6711111812b41f509f252bc2a50d75120d9584f4
parentb7c8e77fbf781f7d4a773e3aec742c27582a63f8
re PR fortran/52386 (ICE in gfc_conv_descriptor_dtyp (realloc LHS related))

2012-02-29  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/52386
* trans-expr.c (fcncall_realloc_result): Dereference the
descriptor if needed.

2012-02-29  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/52386
* gfortran.dg/realloc_on_assign_13.f90 : New test.

From-SVN: r184651
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/realloc_on_assign_13.f90 [new file with mode: 0644]