[Bug fortran/83744] ICE in ../../gcc/gcc/fortran/dump-parse-tree.c:3093 while using -fc-prototypes

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jan 13 18:23:00 GMT 2018


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

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sat Jan 13 18:22:36 2018
New Revision: 256645

URL: https://gcc.gnu.org/viewcvs?rev=256645&root=gcc&view=rev
Log:
2018-01-13  Thomas Koenig <tkoenig@gcc.gnu.org>

        PR fortran/83744
        * dump-parse-tree.c (get_c_type_name): Remove extra line.
        Change for loop to use declaration in for loop. Handle BT_LOGICAL
        and BT_CHARACTER.
        (write_decl): Add where argument. Fix indentation. Replace
        assert with error message. Add typename to warning
        in comment.
        (write_type): Adjust locus to call of write_decl.
        (write_variable): Likewise.
        (write_proc): Likewise. Replace assert with error message.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/dump-parse-tree.c


More information about the Gcc-bugs mailing list