http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52386
--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> 2012-02-29 21:24:11 UTC --- Author: pault Date: Wed Feb 29 21:24:05 2012 New Revision: 184673 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184673 Log: 2012-02-29 Paul Thomas <pa...@gcc.gnu.org> PR fortran/52386 * trans-expr.c (fcncall_realloc_result): Dereference the descriptor if needed. 2012-02-29 Paul Thomas <pa...@gcc.gnu.org> PR fortran/52386 * gfortran.dg/realloc_on_assign_13.f90 : New test. Added: branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/realloc_on_assign_13.f90 Modified: branches/gcc-4_6-branch/gcc/fortran/ChangeLog branches/gcc-4_6-branch/gcc/fortran/trans-expr.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog