aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-10-18 22:32:57 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-10-18 20:32:57 +0000
commit99ceae26e85dbb4e5034eed29d46c745581d19e8 (patch)
treef81fc01d3f340196ef6e03da1e92100707ed9f3c
parent6074164e3e1deadf9014408aa6f6717703899758 (diff)
downloadgcc-99ceae26e85dbb4e5034eed29d46c745581d19e8.zip
gcc-99ceae26e85dbb4e5034eed29d46c745581d19e8.tar.gz
gcc-99ceae26e85dbb4e5034eed29d46c745581d19e8.tar.bz2
* integrate.c (copy_decl_for_inlining): Revert previous patch.
From-SVN: r72653
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/integrate.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a3f1dc4..115d2fc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -42,6 +42,10 @@
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>
diff --git a/gcc/integrate.c b/gcc/integrate.c
index 37a7326..fa5d71e 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))