From 1e7ee6ad1f1a5df7bad22cb7a7d1d44a88a085f4 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Tue, 15 Jul 2003 01:04:21 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/integrate.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 28a130ce69f..4f904fd24eb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-07-14 Mark Mitchell + + PR debug/11098 + * integrate.c (copy_decl_for_inlining): Do not mark copied decls + as DECL_ABSTRACT. + 2003-07-14 Nathanael Nerode * fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass diff --git a/gcc/integrate.c b/gcc/integrate.c index 6c5fdf4739a..d19ca65fe27 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -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 -- 2.30.2