]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR fortran/91716 (ICE in output_constant, at varasm.c:5026)
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Wed, 2 Oct 2019 13:22:37 +0000 (13:22 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Wed, 2 Oct 2019 13:22:37 +0000 (13:22 +0000)
commit091421018c0d22c4319830d2dbc2fd778d1cc778
tree1b4bc2d91327c15cc81ca2f8169b39bed114a43e
parent69e83e50177e65d3193eb002752d3e1711cd03bb
backport: re PR fortran/91716 (ICE in output_constant, at varasm.c:5026)

2019-10-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        Backport from mainline

        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.

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

From-SVN: r276458
gcc/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog