From: Gabriel Dos Reis Date: Sun, 16 Mar 2003 09:16:59 +0000 (+0000) Subject: * decl.c (binding_for_name): Fix initialization thinko. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f907b595a4f1242abc1ce2f5d2aaf0c9d020945;p=gcc.git * decl.c (binding_for_name): Fix initialization thinko. From-SVN: r64429 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 3a9e210cce7..7cb5c9f931f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2003-03-16 Gabriel Dos Reis + + * decl.c (binding_for_name): Fix initialization thinko. + 2003-03-15 Gabriel Dos Reis Compile-time improvement: 2/n. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index db116e1f7a8..75ac6d3b88e 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -2089,6 +2089,9 @@ binding_for_name (tree name, tree scope) BINDING_TYPE (result) = NULL_TREE; BINDING_VALUE (result) = NULL_TREE; BINDING_SCOPE (result) = scope; + result->is_local = false; + result->value_is_inherited = false; + result->has_level = true; IDENTIFIER_NAMESPACE_BINDINGS (name) = result; return result; }