[Bug fortran/78739] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1477

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Aug 17 18:15:00 GMT 2019


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

--- Comment #4 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sat Aug 17 18:14:26 2019
New Revision: 274611

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

        PR fortran/78739
        * match.c (gfc_match_st_function):  When matching a statement function,
        need to check if the statement function name shadows the function
        name.

2019-08-17  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/78739
        * fortran.dg/pr78739.f90: New test.

Added:
    branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr78739.f90
Modified:
    branches/gcc-9-branch/gcc/fortran/ChangeLog
    branches/gcc-9-branch/gcc/fortran/match.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list