[Bug fortran/91715] ICE in resolve_fntype, at fortran/resolve.c:16884

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 11 20:20:00 GMT 2019


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

--- Comment #3 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri Oct 11 20:19:28 2019
New Revision: 276905

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

        PR fortran/91715
        * decl.c (gfc_match_prefix): If matching a type-spec returns an error,
        it's an error so re-act correctly.

2019-10-11  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/91715
        * gfortran.dg/function_kinds_5.f90: Prune run-on error.
        * gfortran.dg/pr85543.f90: Ditto.
        * gfortran.dg/pr91715.f90: New test.

Added:
    branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr91715.f90
Modified:
    branches/gcc-9-branch/gcc/fortran/ChangeLog
    branches/gcc-9-branch/gcc/fortran/decl.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog
    branches/gcc-9-branch/gcc/testsuite/gfortran.dg/function_kinds_5.f90
    branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr85543.f90


More information about the Gcc-bugs mailing list