Commit bb8eaf4a by Doug Evans

c-decl.c (duplicate_decls): Set DECL_ABSTRACT_ORIGIN to olddecl if inline…

c-decl.c (duplicate_decls): Set DECL_ABSTRACT_ORIGIN to olddecl if inline function and not new definition.

	* c-decl.c (duplicate_decls): Set DECL_ABSTRACT_ORIGIN to olddecl
	if inline function and not new definition.

From-SVN: r14480
parent cbfc3ad3
......@@ -1942,6 +1942,8 @@ duplicate_decls (newdecl, olddecl, different_binding_level)
DECL_INITIAL (newdecl) = DECL_INITIAL (olddecl);
DECL_SAVED_INSNS (newdecl) = DECL_SAVED_INSNS (olddecl);
DECL_ARGUMENTS (newdecl) = DECL_ARGUMENTS (olddecl);
if (DECL_INLINE (newdecl))
DECL_ABSTRACT_ORIGIN (newdecl) = olddecl;
}
}
if (different_binding_level)
......
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