Dear Paul,

Paul Richard Thomas wrote:
Following our exchanges with Dominique, I think that the attached
patch will have to do for now.
Bootstrapped and regtested on FC9/x86_64 - OK for trunk?

The patch looks fine. Thanks. Can you also back-port to 4.6?

Tobias

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.

Reply via email to