https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58618
--- Comment #13 from Paul Thomas <pault at gcc dot gnu.org> --- (In reply to Paul Thomas from comment #11) > Author: pault > Date: Thu Oct 18 10:33:25 2018 > New Revision: 265263 > > URL: https://gcc.gnu.org/viewcvs?rev=265263&root=gcc&view=rev > Log: > 2018-10-18 Paul Thomas <pa...@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 <pa...@gcc.gnu.org> > > PR fortran/58618 > * gfortran.dg/deferred_character_30.f90 : New test. > > > Added: > trunk/gcc/testsuite/gfortran.dg/deferred_character_30.f90 > Modified: > trunk/gcc/fortran/ChangeLog > trunk/gcc/fortran/trans-decl.c > trunk/gcc/testsuite/ChangeLog This bug was found during the fix of this PR but is a regression caused by the fix for PR70149. Paul