[Bug fortran/82049] [6/7/8 Regression] ICE with character(*),parameter array constructor

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 7 20:46:00 GMT 2018


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

--- Comment #3 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Wed Feb  7 20:43:33 2018
New Revision: 257459

URL: https://gcc.gnu.org/viewcvs?rev=257459&root=gcc&view=rev
Log:
2018-02-06  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/82049
        * match.c (gfc_match_type_spec): If the charlen is non-NULL, then
        try to resolve it.  While here return early if possible.

2018-02-06  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/82049
        * gfortran.dg/assumed_charlen_parameter.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/assumed_charlen_parameter.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/match.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list