This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/67805] ICE on array constructor with wrong character specification


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

--- Comment #5 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sat Oct 24 16:20:26 2015
New Revision: 229287

URL: https://gcc.gnu.org/viewcvs?rev=229287&root=gcc&view=rev
Log:
2015-10-24  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/67805
        * array.c (gfc_match_array_constructor): Check for error from type
        spec matching.
        * decl.c (char_len_param_value): Check for valid of charlen parameter.
        Reap dead code dating to 2008.
        match.c (gfc_match_type_spec): Special case the keyword use in REAL.

2015-10-24  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/67805
        * gfortran.dg/pr67805.f90: New testcase.
        * gfortran.dg/array_constructor_26.f03: Update testcase.
        * gfortran.dg/array_constructor_27.f03: Ditto.
        * gfortran.dg/char_type_len_2.f90: Ditto.
        * gfortran.dg/pr67802.f90: Ditto.
        * gfortran.dg/used_before_typed_3.f90: Ditto.

Added:
    trunk/gcc/testsuite/gfortran.dg/pr67805.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/array.c
    trunk/gcc/fortran/decl.c
    trunk/gcc/fortran/match.c
    trunk/gcc/testsuite/gfortran.dg/array_constructor_26.f03
    trunk/gcc/testsuite/gfortran.dg/array_constructor_27.f03
    trunk/gcc/testsuite/gfortran.dg/char_type_len_2.f90
    trunk/gcc/testsuite/gfortran.dg/large_real_kind_3.F90
    trunk/gcc/testsuite/gfortran.dg/pr67802.f90
    trunk/gcc/testsuite/gfortran.dg/used_before_typed_3.f90


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]