https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85603
--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Sat Sep 22 10:21:25 2018 New Revision: 264502 URL: https://gcc.gnu.org/viewcvs?rev=264502&root=gcc&view=rev Log: 2018-09-22 Paul Thomas <pa...@gcc.gnu.org> PR fortran/85603 * trans-array.c (gfc_alloc_allocatable_for_assignment): Test the charlen backend_decl before using the VAR_P macro. 2018-09-22 Paul Thomas <pa...@gcc.gnu.org> PR fortran/85603 * gfortran.dg/deferred_character_23.f90 : New test. Added: trunk/gcc/testsuite/gfortran.dg/deferred_character_23.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-array.c trunk/gcc/testsuite/ChangeLog