dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is NULL.
authorJason Merrill <jason@redhat.com>
Fri, 16 Feb 2001 13:03:10 +0000 (08:03 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 16 Feb 2001 13:03:10 +0000 (08:03 -0500)
commit1edf43d63f1f23b070786a1da29edbc63cdebae1
tree5ae76ee139c95d2ba34d0cb6fa406f2f92e70519
parenta901fa64045a73517d8c212740b57e8b7650f3ad
dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is NULL.

        * dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is
        NULL.
        (gen_subprogram_die): Don't abort on seeing a second definition if
        the previous one was abstract.  Don't replace an abstract instance
        in the lookup table.

        * dwarf2out.c (dwarf2out_abstract_function): Rename from
        gen_abstract_function.
        * dwarf2out.h: Declare it.
        * toplev.c (note_outlining_of_inline_function): New fn.
        * toplev.h: Declare it.
        * integrate.c (output_inline_function): Call it.
        * c-decl.c (duplicate_decls): Call it when redefining an extern
        inline.  Don't inline the new defn.

From-SVN: r39763
gcc/ChangeLog
gcc/c-decl.c
gcc/dwarf2out.c
gcc/dwarf2out.h
gcc/integrate.c
gcc/toplev.c
gcc/toplev.h