Set up also scope in create_decl.
@@ -6721,6 +6721,7 @@ static void create_decl (node_t scope, node_t decl_node, struct decl_spec decl_s
assert (decl_node->code == N_MEMBER || decl_node->code == N_SPEC_DECL
|| decl_node->code == N_FUNC_DEF);
init_decl (decl);
+ decl->scope = scope;
decl->decl_spec = decl_spec;
decl_node->attr = decl;
declarator = NL_EL (decl_node->ops, 1);
