aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2003-07-15 01:04:21 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2003-07-15 01:04:21 +0000
commit1e7ee6ad1f1a5df7bad22cb7a7d1d44a88a085f4 (patch)
tree5a85df39199d70a737335d77920c9c0c7c131e4b
parentbf66f7b007c9e780f1ec665983545eb4df5b441a (diff)
downloadgcc-1e7ee6ad1f1a5df7bad22cb7a7d1d44a88a085f4.zip
gcc-1e7ee6ad1f1a5df7bad22cb7a7d1d44a88a085f4.tar.gz
gcc-1e7ee6ad1f1a5df7bad22cb7a7d1d44a88a085f4.tar.bz2
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/integrate.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 28a130c..4f904fd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/integrate.c b/gcc/integrate.c
index 6c5fdf4..d19ca65 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