https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64120

--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Mon Sep 17 11:22:27 2018
New Revision: 264365

URL: https://gcc.gnu.org/viewcvs?rev=264365&root=gcc&view=rev
Log:
2018-09-17  Paul Thomas  <pa...@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  <pa...@gcc.gnu.org>

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


Added:
    trunk/gcc/testsuite/gfortran.dg/allocatable_scalar_14.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to