https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86372
Paul Thomas <pault at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pault at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> --- Created attachment 44804 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44804&action=edit Patch for the PR Since this is a regression and the patch is rather simple, I will commit right away. Paul --- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Mon Oct 8 09:11:03 2018 New Revision: 264915 URL: https://gcc.gnu.org/viewcvs?rev=264915&root=gcc&view=rev Log: 2018-10-08 Paul Thomas <pa...@gcc.gnu.org> PR fortran/86372 * trans-stmt.c (trans_associate_var): Character associate names with variable string length do not have to be deferred length for the string length to be set, if variable. 2018-10-08 Paul Thomas <pa...@gcc.gnu.org> PR fortran/86372 * gfortran.dg/associate_41.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/associate_41.f90 Modified: trunk/gcc/fortran/trans-stmt.c