re PR fortran/70149 ([F08] Character pointer initialization causes ICE)
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 30 Sep 2018 07:02:49 +0000 (07:02 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 30 Sep 2018 07:02:49 +0000 (07:02 +0000)
commit8ba60ec4348e1c987d91b76b2e3dec4fef8891f5
treef03618e19ae5a8d5eff8e6a6be5ded3971aa0fba
parent5e8b5d90ca6aa33ac30cbc4a9a99ca7948d29541
re PR fortran/70149 ([F08] Character pointer initialization causes ICE)

2018-09-30  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/70149
* trans-decl.c (gfc_get_symbol_decl): A deferred character
length pointer that is initialized needs the string length to
be initialized as well.

2018-09-30  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/70149
* gfortran.dg/deferred_character_24.f90 : New test.

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