> 2011-05-02 Dmitry Gorbachev <[email protected]>
>
> * parser.c (cp_parser_init_declarator): Replace false by NULL.
I've installed the attached patch as obvious.
2011-05-02 Dmitry Gorbachev <[email protected]>
Eric Botcazou <[email protected]>
* parser.c (cp_parser_init_declarator): Set pushed_scope to NULL_TREE
instead of inappropriate zero values.
--
Eric Botcazou
Index: parser.c
===================================================================
--- parser.c (revision 173209)
+++ parser.c (working copy)
@@ -14302,7 +14302,7 @@ cp_parser_init_declarator (cp_parser* pa
bool is_non_constant_init;
int ctor_dtor_or_conv_p;
bool friend_p;
- tree pushed_scope = NULL;
+ tree pushed_scope = NULL_TREE;
bool range_for_decl_p = false;
/* Gather the attributes that were provided with the
@@ -14609,7 +14609,7 @@ cp_parser_init_declarator (cp_parser* pa
if (pushed_scope)
{
pop_scope (pushed_scope);
- pushed_scope = false;
+ pushed_scope = NULL_TREE;
}
decl = grokfield (declarator, decl_specifiers,
initializer, !is_non_constant_init,