(duplicate_decls): Add new paramter different_binding_level.
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 29 Nov 1995 18:55:34 +0000 (10:55 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 29 Nov 1995 18:55:34 +0000 (10:55 -0800)
commitbf44f7de98853f60f55246c1c385c4c878a501b4
tree13895fbf6cfabc15008f410474d91d4d9ebae8c3
parent1417e9bdd0b26cc19de6fea5a15aad895f710240
(duplicate_decls): Add new paramter different_binding_level.

Lots of changes to use new new parameter.
(pushdecl): Delete variable declared_global.  New variable
different_binding_level and code to set it.  Move extern/static
warning before duplicate_decls call.  Don't let global typedefs
conflict with nested extern declarations.  Move oldglobal test
inside code for setting IDENTIFIER_LIMBO_VALUE.
(lookup_name_current_level_global): Delete.

From-SVN: r10618
gcc/c-decl.c