OSDN Git Service

* integrate.c (copy_decl_for_inlining): Revert previous patch.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Oct 2003 20:32:57 +0000 (20:32 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Oct 2003 20:32:57 +0000 (20:32 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72653 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/integrate.c

index a3f1dc4..115d2fc 100644 (file)
 
 2003-10-18  Jan Hubicka  <jh@suse.cz>
 
+       * integrate.c (copy_decl_for_inlining): Revert previous patch.
+
+2003-10-18  Jan Hubicka  <jh@suse.cz>
+
        * integrate.c (copy_decl_for_inlining): Fix copying of copies.
 
 2003-10-18  Roger Sayle  <roger@eyesopen.com>
index 37a7326..fa5d71e 100644 (file)
@@ -381,10 +381,7 @@ copy_decl_for_inlining (tree decl, tree from_fn, tree to_fn)
 
   /* Set the DECL_ABSTRACT_ORIGIN so the debugging routines know what
      declaration inspired this copy.  */
-  if (DECL_ABSTRACT_ORIGIN (decl))
-    DECL_ABSTRACT_ORIGIN (copy) = DECL_ABSTRACT_ORIGIN (decl);
-  else
-    DECL_ABSTRACT_ORIGIN (copy) = DECL_ORIGIN (decl);
+  DECL_ABSTRACT_ORIGIN (copy) = DECL_ORIGIN (decl);
 
   /* The new variable/label has no RTL, yet.  */
   if (!TREE_STATIC (copy) && !DECL_EXTERNAL (copy))