Commit 99ceae26 by Jan Hubicka Committed by Jan Hubicka

* integrate.c (copy_decl_for_inlining): Revert previous patch.

From-SVN: r72653
parent 6074164e
......@@ -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>
......
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment