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

From-SVN: r72653
This commit is contained in:
Jan Hubicka 2003-10-18 22:32:57 +02:00 committed by Jan Hubicka
parent 6074164e3e
commit 99ceae26e8
2 changed files with 5 additions and 4 deletions

View File

@ -40,6 +40,10 @@
* 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.

View 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))