re PR fortran/86372 (Segfault on ASSOCIATE statement with CHARACTER variable)
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 8 Oct 2018 09:11:03 +0000 (09:11 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 8 Oct 2018 09:11:03 +0000 (09:11 +0000)
commitc16ac98ea9cddb4725dd5c6d010bdeaac14d1a25
treec41120f5224f3a10a68aed3140ae1ffa65488929
parenta52cdecf114f4f1e5acbdeeb28b9381875a4b9a8
re PR fortran/86372 (Segfault on ASSOCIATE statement with CHARACTER variable)

2018-10-08  Paul Thomas  <pault@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  <pault@gcc.gnu.org>

PR fortran/86372
* gfortran.dg/associate_41.f90: New test.

From-SVN: r264915
gcc/fortran/trans-stmt.c
gcc/testsuite/gfortran.dg/associate_41.f90 [new file with mode: 0644]