On Sun, Feb 18, 2018 at 5:48 PM, Paul Richard Thomas <paul.richard.tho...@gmail.com> wrote: > Bootstraps and regtests on FC27/x86_64 - OK for trunk?
Hi, thanks for looking into this! 1. The patch itself is missing... 2. Could you uncomment the commented out part of associate_22.f90 and check that the tree-original dump is sensible. 3. Same for the testcases posted to PR 83975. I suspect (err, hope) that this patch would fix those as well. If so, please add that PR to the ChangeLog entries as well. > > Paul > > 2018-02-18 Paul Thomas <pa...@gcc.gnu.org> > > PR fortran/83344 > * resolve.c (resolve_assoc_var): Character associate names that > have no length expression that have variable targets and are > not deferred length have assumed length. > * trans-decl.c (gfc_get_symbol_decl): Set 'length' to > gfc_index_zero_node for character associate names, whose string > length is a PARM_DECL. > > 2018-02-18 Paul Thomas <pa...@gcc.gnu.org> > > PR fortran/83344 > * gfortran.dg/associate_36.f90: New test. -- Janne Blomqvist