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

--- Comment #33 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Mon Jul 29 17:45:24 2019
New Revision: 273880

URL: https://gcc.gnu.org/viewcvs?rev=273880&root=gcc&view=rev
Log:
2019-07-29  Thomas Koenig  <tkoe...@gcc.gnu.org>

        PR fortran/90813
        * dump-parse-tree.c (show_global_symbol): New function.
        (gfc_dump_global_symbols): New function.
        * gfortran.h (gfc_traverse_gsymbol): Add prototype.
        (gfc_dump_global_symbols): Likewise.
        * invoke.texi: Document -fdump-fortran-global.
        * lang.opt: Add -fdump-fortran-global.
        * parse.c (gfc_parse_file): Handle flag_dump_fortran_global.
        * symbol.c (gfc_traverse_gsymbol): New function.
        * trans-decl.c (sym_identifier): New function.
        (mangled_identifier): New function, doing most of the work
        of gfc_sym_mangled_identifier.
        (gfc_sym_mangled_identifier): Use mangled_identifier.  Add mangled
        identifier to global symbol table.
        (get_proc_pointer_decl): Use backend decl from global identifier
        if present.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/dump-parse-tree.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/invoke.texi
    trunk/gcc/fortran/lang.opt
    trunk/gcc/fortran/parse.c
    trunk/gcc/fortran/symbol.c
    trunk/gcc/fortran/trans-decl.c

Reply via email to