Commit 69ee8086 by Richard Henderson Committed by Richard Henderson

* decl.c (duplicate_decls): Copy DECL_SAVED_INSNS too.

From-SVN: r71959
parent bf9d3c27
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.
......
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