re PR debug/11098 ([dwarf2] g++ doesn't emit complete debugging information for local...
authorMark Mitchell <mark@codesourcery.com>
Tue, 15 Jul 2003 01:04:21 +0000 (01:04 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 15 Jul 2003 01:04:21 +0000 (01:04 +0000)
PR debug/11098
* integrate.c (copy_decl_for_inlining): Do not mark copied decls
as DECL_ABSTRACT.

From-SVN: r69374

gcc/ChangeLog
gcc/integrate.c

index 28a130c..4f904fd 100644 (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
index 6c5fdf4..d19ca65 100644 (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