Commit 4c627087 by Jason Merrill Committed by Jason Merrill

re PR c++/33255 (A warning for "unused" typedefs?)

	PR c++/33255
	* decl.c (save_function_data): Clear local_typedefs.

From-SVN: r181100
parent b12e4c42
2011-11-07 Jason Merrill <jason@redhat.com> 2011-11-07 Jason Merrill <jason@redhat.com>
PR c++/33255
* decl.c (save_function_data): Clear local_typedefs.
* decl.c (cp_finish_decl): Only make_tree_vector if we're calling * decl.c (cp_finish_decl): Only make_tree_vector if we're calling
check_initializer. check_initializer.
......
...@@ -13021,6 +13021,7 @@ save_function_data (tree decl) ...@@ -13021,6 +13021,7 @@ save_function_data (tree decl)
f->base.x_stmt_tree.x_cur_stmt_list = NULL; f->base.x_stmt_tree.x_cur_stmt_list = NULL;
f->bindings = NULL; f->bindings = NULL;
f->x_local_names = NULL; f->x_local_names = NULL;
f->base.local_typedefs = NULL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment