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

--- Comment #3 from Bernd Edlinger <edlinger at gcc dot gnu.org> ---
Author: edlinger
Date: Fri Sep 13 11:33:18 2019
New Revision: 275698

URL: https://gcc.gnu.org/viewcvs?rev=275698&root=gcc&view=rev
Log:
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.

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

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

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

Reply via email to