* decl.c (duplicate_decls): Copy DECL_SAVED_INSNS too.
From-SVN: r71959
This commit is contained in:
parent
bf9d3c2774
commit
69ee808667
@ -1,3 +1,7 @@
|
||||
2003-09-30 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* decl.c (duplicate_decls): Copy DECL_SAVED_INSNS too.
|
||||
|
||||
2003-09-30 Kelley Cook <kelleycoook@wideopenwest.com>
|
||||
|
||||
* g++spec.c: Convert to ISO C90 prototypes.
|
||||
|
@ -3198,7 +3198,10 @@ duplicate_decls (tree newdecl, tree olddecl)
|
||||
if (CAN_HAVE_FULL_LANG_DECL_P (newdecl)
|
||||
&& DECL_LANG_SPECIFIC (newdecl)
|
||||
&& DECL_LANG_SPECIFIC (olddecl))
|
||||
DECL_SAVED_TREE (newdecl) = DECL_SAVED_TREE (olddecl);
|
||||
{
|
||||
DECL_SAVED_TREE (newdecl) = DECL_SAVED_TREE (olddecl);
|
||||
DECL_SAVED_INSNS (newdecl) = DECL_SAVED_INSNS (olddecl);
|
||||
}
|
||||
}
|
||||
|
||||
/* Merge the section attribute.
|
||||
|
Loading…
Reference in New Issue
Block a user