[Bug fortran/49324] Deep copy missing for array constructors of DT w/ allocatable components
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 17 06:12:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49324
--- Comment #10 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-06-17 06:11:35 UTC ---
Author: burnus
Date: Fri Jun 17 06:11:31 2011
New Revision: 175137
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175137
Log:
2011-06-17 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-17 Tobias Burnus
PR fortran/49324
* gfortran.dg/alloc_comp_assign_11.f90: New.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/alloc_comp_assign_11.f90
Modified:
branches/gcc-4_6-branch/gcc/fortran/ChangeLog
branches/gcc-4_6-branch/gcc/fortran/trans-array.c
branches/gcc-4_6-branch/gcc/fortran/trans-expr.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list