OSDN Git Service

(duplicate_decls): Add new paramter different_binding_level.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Nov 1995 18:55:34 +0000 (18:55 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Nov 1995 18:55:34 +0000 (18:55 +0000)
commitb33f0698089364738a90ec1ae6b083ddc39ce96c
tree13895fbf6cfabc15008f410474d91d4d9ebae8c3
parenta4b000b016814246710d6a57eabb9a5856157c8f
(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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10618 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-decl.c