c-decl.c (c_init_decl_processing): Remove useless calls to build_function_type.
authorKazu Hirata <kazu@cs.umass.edu>
Sun, 13 Mar 2005 14:23:31 +0000 (14:23 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sun, 13 Mar 2005 14:23:31 +0000 (14:23 +0000)
* c-decl.c (c_init_decl_processing): Remove useless calls to
build_function_type.

From-SVN: r96370

gcc/ChangeLog
gcc/c-decl.c

index b700c8f1fcaf7817ffcd0559907a209096e65cde..6dc339543e539bc8323bbd8af7c9b9e885e74169 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 fb03afb175b99992ec9f3570465f57fcbf5cb363..400c6cf293b580d08bc2140bc8800e636ab3451d 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;