This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/49324] Deep copy missing for array constructors of DT w/ allocatable components


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

--- Comment #8 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-06-11 22:08:49 UTC ---
Author: burnus
Date: Sat Jun 11 22:08:46 2011
New Revision: 174959

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174959
Log:
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.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]