* integrate.c (copy_decl_for_inlining): Revert previous patch.
authorJan Hubicka <jh@suse.cz>
Sat, 18 Oct 2003 20:32:57 +0000 (22:32 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 18 Oct 2003 20:32:57 +0000 (20:32 +0000)
From-SVN: r72653

gcc/ChangeLog
gcc/integrate.c

index a3f1dc46eeb2c17c4d578cb3f6a885f7bf5b3832..115d2fca051ee5fd7979a29cced42255715def49 100644 (file)
        * rtlanal.c (loc_mentioned_in_p): Adjust for new rtx_def layout.
        * gdbinit.in (pi): Likewise.
 
+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.
index 37a73265e6a439c35ee1bb8ec7fb936089f71a13..fa5d71efa000a060a4b68d301dca3cb5647baa69 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))