From 3bb4cd826e17bb95b3e98901f5e999ec34599352 Mon Sep 17 00:00:00 2001 From: hubicka Date: Sat, 18 Oct 2003 20:32:57 +0000 Subject: [PATCH] * integrate.c (copy_decl_for_inlining): Revert previous patch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72653 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/integrate.c | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a3f1dc46eeb..115d2fca051 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -42,6 +42,10 @@ 2003-10-18 Jan Hubicka + * integrate.c (copy_decl_for_inlining): Revert previous patch. + +2003-10-18 Jan Hubicka + * integrate.c (copy_decl_for_inlining): Fix copying of copies. 2003-10-18 Roger Sayle diff --git a/gcc/integrate.c b/gcc/integrate.c index 37a73265e6a..fa5d71efa00 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -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)) -- 2.11.4.GIT