diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-16 13:03:10 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-16 13:03:10 +0000 |
commit | f414ade28263516299b50fbfd3c78b814875c493 (patch) | |
tree | 5ae76ee139c95d2ba34d0cb6fa406f2f92e70519 /gcc/integrate.c | |
parent | 7b7cc58a14ae9e2f194cec0ec7767aceb1ed4be6 (diff) | |
download | gcc-f414ade28263516299b50fbfd3c78b814875c493.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39763 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/integrate.c')
-rw-r--r-- | gcc/integrate.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c index 9f28a37258d..bcb3619458f 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -2846,6 +2846,10 @@ output_inline_function (fndecl) if (f->no_debugging_symbols) write_symbols = NO_DEBUG; + /* Do any preparation, such as emitting abstract debug info for the inline + before it gets mangled by optimization. */ + note_outlining_of_inline_function (fndecl); + /* Compile this function all the way down to assembly code. */ rest_of_compilation (fndecl); |