Commit 13d21cb7 by Kazu Hirata Committed by Kazu Hirata

c-decl.c (c_init_decl_processing): Remove useless calls to build_function_type.

	* c-decl.c (c_init_decl_processing): Remove useless calls to
	build_function_type.

From-SVN: r96370
parent d4ff96d5
......@@ -6,6 +6,9 @@
* builtin-attrs.def, c-lex.c, c-pragma.h, reg-stack.c,
config/mips/vr.h: Update copyright.
* c-decl.c (c_init_decl_processing): Remove useless calls to
build_function_type.
2005-03-13 Andy Hutchinson <HutchinsonAndy@netscape.net>
PR target/18251
......
......@@ -2577,7 +2577,6 @@ lookup_name_in_scope (tree name, struct c_scope *scope)
void
c_init_decl_processing (void)
{
tree endlink;
location_t save_loc = input_location;
/* Initialize reserved words for parser. */
......@@ -2614,11 +2613,6 @@ c_init_decl_processing (void)
pushdecl (build_decl (TYPE_DECL, get_identifier ("_Bool"),
boolean_type_node));
endlink = void_list_node;
build_function_type (ptr_type_node, endlink);
build_function_type (ptr_type_node,
tree_cons (NULL_TREE, ptr_type_node, endlink));
input_location = save_loc;
pedantic_lvalues = true;
......
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