* integrate.c (copy_decl_for_inlining): Fix copying of copies.
From-SVN: r72646
This commit is contained in:
parent
dafee8e307
commit
8a2b3848ff
|
@ -1,3 +1,7 @@
|
|||
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>
|
||||
|
||||
* libgcc.texi: Group multi-word types, such as "long double" and
|
||||
|
|
|
@ -381,7 +381,10 @@ 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. */
|
||||
DECL_ABSTRACT_ORIGIN (copy) = DECL_ORIGIN (decl);
|
||||
if (DECL_ABSTRACT_ORIGIN (decl))
|
||||
DECL_ABSTRACT_ORIGIN (copy) = DECL_ABSTRACT_ORIGIN (decl);
|
||||
else
|
||||
DECL_ABSTRACT_ORIGIN (copy) = DECL_ORIGIN (decl);
|
||||
|
||||
/* The new variable/label has no RTL, yet. */
|
||||
if (!TREE_STATIC (copy) && !DECL_EXTERNAL (copy))
|
||||
|
|
Loading…
Reference in New Issue