http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52012

--- Comment #11 from Paul Thomas <pault at gcc dot gnu.org> 2012-02-02 21:20:19 
UTC ---
Author: pault
Date: Thu Feb  2 21:20:14 2012
New Revision: 183849

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183849
Log:
2012-02-02  Paul Thomas  <pa...@gcc.gnu.org>

    PR fortran/52012
    * trans-expr.c (fcncall_realloc_result): If variable shape is
    correct, retain the bounds, whatever they are.

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

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

Added:
    trunk/gcc/testsuite/gfortran.dg/realloc_on_assign_11.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to