re PR debug/11098 ([dwarf2] g++ doesn't emit complete debugging information for local variables in destructors)

PR debug/11098
	* integrate.c (copy_decl_for_inlining): Do not mark copied decls
	as DECL_ABSTRACT.

From-SVN: r69374
This commit is contained in:
Mark Mitchell 2003-07-15 01:04:21 +00:00 committed by Mark Mitchell
parent bf66f7b007
commit 1e7ee6ad1f
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2003-07-14 Mark Mitchell <mark@codesourcery.com>
PR debug/11098
* integrate.c (copy_decl_for_inlining): Do not mark copied decls
as DECL_ABSTRACT.
2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
* fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass

View File

@ -368,6 +368,8 @@ copy_decl_for_inlining (tree decl, tree from_fn, tree to_fn)
else
{
copy = copy_node (decl);
/* The COPY is not abstract; it will be generated in TO_FN. */
DECL_ABSTRACT (copy) = 0;
(*lang_hooks.dup_lang_specific_decl) (copy);
/* TREE_ADDRESSABLE isn't used to indicate that a label's