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 <pa...@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 <pa...@gcc.gnu.org>
PR fortran/57354
* gfortran.dg/realloc_on_assign_23.f90 : New test