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
This commit is contained in:
Doug Evans 1997-07-19 02:16:12 +00:00
parent cbfc3ad345
commit bb8eaf4acd
1 changed files with 2 additions and 0 deletions

View File

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