From 0054ef84b0435bb46844a56eb9587454c4f53c87 Mon Sep 17 00:00:00 2001 From: Paul Thomas Date: Mon, 8 Oct 2018 11:17:10 +0000 Subject: [PATCH] re PR fortran/86372 (Segfault on ASSOCIATE statement with CHARACTER variable) 2018-10-08 Paul Thomas 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 PR fortran/86372 * gfortran.dg/associate_41.f90: New test. From-SVN: r264919 --- gcc/fortran/ChangeLog | 7 +++++++ gcc/testsuite/ChangeLog | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index da3200de746..c4c14f866a5 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,10 @@ +2018-10-08 Paul Thomas + + 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-06 Thomas Koenig PR fortran/86111 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e3f48d7655e..28e84d2263b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-10-08 Paul Thomas + + PR fortran/86372 + * gfortran.dg/associate_41.f90: New test. + 2018-10-08 Rainer Orth * gcc.dg/merge-all-constants-2.c: Require string_merging support. -- 2.30.2