re PR fortran/91716 (ICE in output_constant, at varasm.c:5026)
commit22cd031212e2376221435db5e9c6a298f24d7046
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 13 Sep 2019 11:33:18 +0000 (13 11:33 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Fri, 13 Sep 2019 11:33:18 +0000 (13 11:33 +0000)
tree1e57e5edf8dbc98fb09ef9e5ca11b32f313cd7c8
parent0d1cfeed7f7c5dbd3524fc64ab3f84dc4ed6ee17
re PR fortran/91716 (ICE in output_constant, at varasm.c:5026)

2019-09-13  Bernd Edlinger  <bernd.edlinger@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.edlinger@hotmail.de>

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

From-SVN: r275698
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr91716.f90 [new file with mode: 0644]