2018-09-17 Paul Thomas <pault@gcc.gnu.org>
commit9fe80e3061cdbfe4285671525bb04a6282e1c024
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Sep 2018 11:22:27 +0000 (17 11:22 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Sep 2018 11:22:27 +0000 (17 11:22 +0000)
treec57268dca7f97e743b78d13dc2c8485eaef52229
parent12df02d596156448125538cf4e8c456b9751d2bc
2018-09-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/64120
* trans-decl.c (gfc_get_symbol_decl): Flag allocatable, scalar
characters with a variable length expression for deferred init.
(gfc_trans_deferred_vars): Perform the assignment for these
symbols by calling gfc_conv_string_length.

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

PR fortran/64120
* gfortran.dg/allocatable_scalar_14.f90 : New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264365 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocatable_scalar_14.f90 [new file with mode: 0644]