* parser.c (cp_parser_init_declarator): Set pushed_scope to NULL_TREE
instead of inappropriate zero values.
Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
From-SVN: r173263
+2011-05-02 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
+ Eric Botcazou <ebotcazou@adacore.com>
+
+ * parser.c (cp_parser_init_declarator): Set pushed_scope to NULL_TREE
+ instead of inappropriate zero values.
+
2011-05-02 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/47969
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
if (pushed_scope)
{
pop_scope (pushed_scope);
- pushed_scope = false;
+ pushed_scope = NULL_TREE;
}
decl = grokfield (declarator, decl_specifiers,
initializer, !is_non_constant_init,