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

--- Comment #12 from Paul Thomas <pault at gcc dot gnu.org> 2012-02-03 18:34:04 
UTC ---
Author: pault
Date: Fri Feb  3 18:33:58 2012
New Revision: 183874

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

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

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

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

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/realloc_on_assign_10.f90
    branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/realloc_on_assign_11.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

Reply via email to