diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-22 11:58:10 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-22 11:58:10 +0000 |
commit | 5bd742318306e25c73c344689f1668c0cae093e6 (patch) | |
tree | 9d18905bfe933c3bc24bcf7b89cb85d08790b337 /gcc/cgraphunit.c | |
parent | 418d5594b6fe4a8989f87b2819b1c7a0a3f15da8 (diff) | |
download | gcc-5bd742318306e25c73c344689f1668c0cae093e6.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72795 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index c20367d1d00..673419fa008 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -833,6 +833,7 @@ cgraph_mark_inline (struct cgraph_node *to, struct cgraph_node *what, bool called = false; int new_insns; + what->global.inlined = 1; for (e = what->callers; e; e = e->next_caller) { if (e->caller == to) |