2011-06-12 Tobias Burnus
authorTobias Burnus <burnus@gcc.gnu.org>
Sat, 11 Jun 2011 22:08:46 +0000 (00:08 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Sat, 11 Jun 2011 22:08:46 +0000 (00:08 +0200)
commit73039f89508e969ed62afc147dbf43634b8530ed
treebf3e74879ca320489a77db39ed14056addde3126
parentc51b58dc1f298bc8255758a51e94d5b7478b56ab
2011-06-12  Tobias Burnus

        PR fortran/49324
        * trans-expr.c (gfc_trans_assignment_1): Tell
        gfc_trans_scalar_assign to also deep-copy RHS nonvariables
        with allocatable components.
        * trans-array.c (gfc_conv_expr_descriptor): Ditto.

2011-06-12  Tobias Burnus

        PR fortran/49324
        * gfortran.dg/alloc_comp_assign_11.f90: New.

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