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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Mark Eggleston
<markeggles...@gcc.gnu.org>:

https://gcc.gnu.org/g:f9f98e59a7f6663f31b671c44998190079097f97

commit r11-358-gf9f98e59a7f6663f31b671c44998190079097f97
Author: Mark Eggleston <markeggles...@gcc.gnu.org>
Date:   Thu May 7 08:29:14 2020 +0100

    Fortran  : ICE in gfc_conv_array_constructor_expr PR93497

    Invalid expressions, such as those involving array constructors,
    used for the length of character types will cause an ICE.

    2020-05-13  Steven G. Kargl  <ka...@gcc.gnu.org>

    gcc/fortran/

            PR fortran/93497
            * decl.c (char_len_param_value): Check whether character
            length expression is of type EXPR_OP and if so simplify it.
            * resolve.c (resolve_charlen): Reject length if it has a
            rank.

    2020-05-13  Mark Eggleston  <markeggles...@gcc.gnu.org>

    gcc/testsuite/

            PR fortran/93497
            * gfortran.dg/pr88025.f90: Change in wording of error.
            * gfortran.dg/pr93497.f90: New test.
            * gfortran.dg/pr93714_1.f90: Change in wording of errors.
            * gfortran.dg/pr93714_2.f90: Change in wording of errors.

Reply via email to