diff options
author | Jason Merrill <jason@casey.cygnus.com> | 2000-04-26 00:36:56 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-04-25 20:36:56 -0400 |
commit | 1cfdcc15effc096604f32fb88ddc1ad8f67aab07 (patch) | |
tree | 86eb94bf7bf8baa171b95fd2c33f84eafa1c186c /gcc/toplev.c | |
parent | d25ed420a21ee1692ab894f53effeb3a0eac0207 (diff) | |
download | gcc-1cfdcc15effc096604f32fb88ddc1ad8f67aab07.zip gcc-1cfdcc15effc096604f32fb88ddc1ad8f67aab07.tar.gz gcc-1cfdcc15effc096604f32fb88ddc1ad8f67aab07.tar.bz2 |
dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
* dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
* dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
* dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
is the primary DIE for a member function.
(gen_decl_die): Call set_decl_origin_self here.
* dwarfout.c (output_decl): And here.
* integrate.c (output_inline_function): Not here.
Don't clear DECL_INLINE until after calling rest_of_compilation.
(set_decl_origin_self): No longer static.
* tree.h: Add prototype.
* toplev.c (note_deferral_of_defined_inline_function): Only write
out abstract instance for actual inlines.
* cp/decl.c (finish_function): Don't play games with DECL_INLINE.
From-SVN: r33430
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index b479c84..8e02178 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -2727,7 +2727,7 @@ note_deferral_of_defined_inline_function (decl) /* Generate the DWARF info for the "abstract" instance of a function which we may later generate inlined and/or out-of-line instances of. */ - if (write_symbols == DWARF_DEBUG) + if (write_symbols == DWARF_DEBUG && DECL_INLINE (decl)) { /* The front-end may not have set CURRENT_FUNCTION_DECL, but the DWARF code expects it to be set in this case. Intuitively, |