re PR fortran/58618 (Wrong code with character substring and ASSOCIATE)
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 18 Oct 2018 10:33:25 +0000 (10:33 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Thu, 18 Oct 2018 10:33:25 +0000 (10:33 +0000)
commit75a6d7da396ca7cecdc1b0e977203bb58a8ca024
tree332d99d0c5adfd611dafe513770de6e2e6d8f2fb
parentde0edf87351456822f4961e15aaeda2c3d5dbc12
re PR fortran/58618 (Wrong code with character substring and ASSOCIATE)

2018-10-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/58618
* trans-decl.c (gfc_get_symbol_decl): Deal correctly with the
initialization with NULL() of a deferred length pointer.

2018-10-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/58618
* gfortran.dg/deferred_character_30.f90 : New test.

From-SVN: r265263
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/deferred_character_30.f90 [new file with mode: 0644]