OSDN Git Service

* c-decl.c (c_init_decl_processing): Remove useless calls to
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Mar 2005 14:23:31 +0000 (14:23 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Mar 2005 14:23:31 +0000 (14:23 +0000)
build_function_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96370 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c-decl.c

index b700c8f..6dc3395 100644 (file)
@@ -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
index fb03afb..400c6cf 100644 (file)
@@ -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;