]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR debug/12389 ([testcase needed] ICE in gen_subprogram_die for nested function)
authorJan Hubicka <jh@suse.cz>
Wed, 22 Oct 2003 11:58:10 +0000 (13:58 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 22 Oct 2003 11:58:10 +0000 (11:58 +0000)
commit1bb17c2144248180a1b00f5e5e6cf607fba0d46c
tree9d18905bfe933c3bc24bcf7b89cb85d08790b337
parente97c30aaa713e64309e3c0df2592f56e2a26e70e
re PR debug/12389 ([testcase needed] ICE in gen_subprogram_die for nested function)

PR debug/12389
* Makefile.in (dwarf2out.o): Depend on cgraph.h.
* cgraph.c (cgraph_function_possibly_inlined_p): New function.
* cgraph.h (cgraph_function_possibly_inlined_p): Declare.
(cgraph_global_info): Add flag inlined
* dwarf2out.c (gen_subprogram_die, gen_decl_die): Use
cgraph_function_possibly_inded_p
* cgraphunit.c (mark_inline): Set inlined flag.
* toplev.c (rest_of_decl_compilation): Call outlining_inline_function
only for possibly inlined functions.
* c-decl.c (duplicate_decls): Never output abstract DIE representing old
body of function.

From-SVN: r72795
gcc/ChangeLog
gcc/Makefile.in
gcc/c-decl.c
gcc/cgraph.c
gcc/cgraph.h
gcc/cgraphunit.c
gcc/dwarf2out.c
gcc/toplev.c