This is the mail archive of the gcc-patches@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]

Re: [Patch, fortran] PR57354 - Wrong run-time assignment of allocatable array of derived type with allocatable component


Paul Richard Thomas wrote:
This is a partial fix for this problem
Well, it is a full fix for the wrong-code issue, even if a missed-optimization issue remains ;-)

I will retain the PR and will have another go at suppressing
the reallocation in a few weeks time.
Thanks!

Bootstrapped and regtested on Fc17/x86_64 - OK for trunk?

OK and thanks for going through the PRs and fixing them!

Tobias

2013-11-30  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-11-30  Paul Thomas  <pault@gcc.gnu.org>

     PR fortran/57354
     * gfortran.dg/realloc_on_assign_23.f90 : New test


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