summaryrefslogtreecommitdiff
path: root/gcc/integrate.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/integrate.c')
-rw-r--r--gcc/integrate.c5
1 files changed, 1 insertions, 4 deletions
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))