dwarf2out.c (dwarf2out_abstract_function): Don't emit in-class declaration at -g1.
* dwarf2out.c (dwarf2out_abstract_function): Don't emit in-class declaration at -g1. Fixes c++/2814. From-SVN: r44141
This commit is contained in:
parent
b2a4c43c0d
commit
8458e95401
@ -1,3 +1,8 @@
|
|||||||
|
2001-07-18 Jeff Sturm <jsturm@one-point.com>
|
||||||
|
|
||||||
|
* dwarf2out.c (dwarf2out_abstract_function): Don't emit
|
||||||
|
in-class declaration at -g1. Fixes c++/2814.
|
||||||
|
|
||||||
2001-07-18 Richard Henderson <rth@redhat.com>
|
2001-07-18 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* doc/md.texi (reload_in/out): Document restrictions in predicates
|
* doc/md.texi (reload_in/out): Document restrictions in predicates
|
||||||
|
@ -9634,10 +9634,13 @@ dwarf2out_abstract_function (decl)
|
|||||||
|
|
||||||
/* Be sure we've emitted the in-class declaration DIE (if any) first, so
|
/* Be sure we've emitted the in-class declaration DIE (if any) first, so
|
||||||
we don't get confused by DECL_ABSTRACT. */
|
we don't get confused by DECL_ABSTRACT. */
|
||||||
|
if (debug_info_level > DINFO_LEVEL_TERSE)
|
||||||
|
{
|
||||||
context = decl_class_context (decl);
|
context = decl_class_context (decl);
|
||||||
if (context)
|
if (context)
|
||||||
gen_type_die_for_member
|
gen_type_die_for_member
|
||||||
(context, decl, decl_function_context (decl) ? NULL : comp_unit_die);
|
(context, decl, decl_function_context (decl) ? NULL : comp_unit_die);
|
||||||
|
}
|
||||||
|
|
||||||
/* Pretend we've just finished compiling this function. */
|
/* Pretend we've just finished compiling this function. */
|
||||||
save_fn = current_function_decl;
|
save_fn = current_function_decl;
|
||||||
|
Loading…
Reference in New Issue
Block a user