[Bug fortran/57354] Wrong run-time assignment of allocatable array of derived type with allocatable component
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Dec 1 11:50:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57354
--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sun Dec 1 11:50:20 2013
New Revision: 205567
URL: http://gcc.gnu.org/viewcvs?rev=205567&root=gcc&view=rev
Log:
2013-12-01 Paul Thomas <pault@gcc.gnu.org>
PR fortran/57354
* trans-array.c (gfc_conv_resolve_dependencies): For other than
SS_SECTION, do a dependency check if the lhs is liable to be
reallocated.
2013-12-01 Paul Thomas <pault@gcc.gnu.org>
PR fortran/57354
* gfortran.dg/realloc_on_assign_23.f90 : New test
Added:
trunk/gcc/testsuite/gfortran.dg/realloc_on_assign_23.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list