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

--- Comment #8 from Bernd Edlinger <edlinger at gcc dot gnu.org> ---
Author: edlinger
Date: Wed Oct  2 13:22:37 2019
New Revision: 276458

URL: https://gcc.gnu.org/viewcvs?rev=276458&root=gcc&view=rev
Log:
2019-10-02  Bernd Edlinger  <bernd.edlin...@hotmail.de>

        Backport from mainline

        2019-09-13  Bernd Edlinger  <bernd.edlin...@hotmail.de>

        PR fortran/91716
        * trans-array.c (gfc_conv_array_initializer): Always assign the
        array type of the field to the string constant.

        PR fortran/91716
        * gfortran.dg/pr91716.f90: New test.

Modified:
    branches/gcc-9-branch/gcc/ChangeLog
    branches/gcc-9-branch/gcc/fortran/trans-array.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog

Reply via email to