]> git.ipfire.org Git - thirdparty/gcc.git/commit
c-decl.c (duplicate_decls): Revert rth's patch.
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 4 Dec 2001 10:34:40 +0000 (10:34 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Tue, 4 Dec 2001 10:34:40 +0000 (10:34 +0000)
commit23700f650874c9406df42967f0ede7c3f203dc82
tree5f796d4a540cf14b9ff9cbc2a69e91812776ca98
parent961eacce43e97fa61b625d38480a89927faa64d8
c-decl.c (duplicate_decls): Revert rth's patch.

* c-decl.c (duplicate_decls): Revert rth's patch.  If newdecl
is in a different binding level, get its abstract origin to be
olddecl.
* tree-inline.c (expand_call_inline): Move DECL_INITIAL sanity
check earlier.
* tree.c (get_callee_fndecl): Follow DECL_ABSTRACT_ORIGIN if
DECL_INITIAL is NULL.

From-SVN: r47610
gcc/ChangeLog
gcc/c-decl.c
gcc/tree-inline.c
gcc/tree.c