mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-31 07:25:01 +08:00
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
This commit is contained in:
parent
d4ff96d5fc
commit
13d21cb725
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user