cp-tree.h (init_init_processing): Remove declaration.
authorRichard Sandiford <rsandifo@redhat.com>
Wed, 13 Mar 2002 17:12:24 +0000 (17:12 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 13 Mar 2002 17:12:24 +0000 (17:12 +0000)
* cp-tree.h (init_init_processing): Remove declaration.
* init.c (BI_header_type, init_init_processing): Remove old ABI stuff.
* decl.c (cxx_init_decl_processing): Don't call init_init_processing.

From-SVN: r50740

gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/init.c

index 7ff6499fef302e5a68eda6a53057bb47a8d64b46..a6617a21e2cc7597e48c828b9a833945c154401a 100644 (file)
@@ -1,3 +1,9 @@
+2002-03-12  Richard Sandiford  <rsandifo@redhat.com>
+
+       * cp-tree.h (init_init_processing): Remove declaration.
+       * init.c (BI_header_type, init_init_processing): Remove old ABI stuff.
+       * decl.c (cxx_init_decl_processing): Don't call init_init_processing.
+
 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * cp-lang.c (tree_code_type, tree_code_length, tree_code_name):
index cae147550177fba369e8b698a1b984e6beb113a2..33e09e3457b6f4a6283539806672ca7f01706a2d 100644 (file)
@@ -3900,7 +3900,6 @@ extern void add_friend                          PARAMS ((tree, tree));
 extern tree do_friend                          PARAMS ((tree, tree, tree, tree, tree, enum overload_flags, tree, int));
 
 /* in init.c */
-extern void init_init_processing               PARAMS ((void));
 extern void emit_base_init                     PARAMS ((tree, tree));
 extern tree expand_member_init                 PARAMS ((tree, tree, tree));
 extern tree build_aggr_init                    PARAMS ((tree, tree, int));
index 2417202f4efe3a50bb224feebcd6bfba83339488..12028df385d2b48b05a39b2bcc738f69f0b70854 100644 (file)
@@ -6586,7 +6586,6 @@ cxx_init_decl_processing ()
 
   /* Perform other language dependent initializations.  */
   init_class_processing ();
-  init_init_processing ();
   init_search_processing ();
   init_rtti_processing ();
 
index 7eaafc99354376173896c297f578859f2250ed66..05ccf33e1031671c79bfd9d58847330d5ef236b1 100644 (file)
@@ -56,26 +56,6 @@ static tree build_dtor_call PARAMS ((tree, special_function_kind, int));
 static tree build_field_list PARAMS ((tree, tree, int *));
 static tree build_vtbl_address PARAMS ((tree));
 
-/* Set up local variable for this file.  MUST BE CALLED AFTER
-   INIT_DECL_PROCESSING.  */
-
-static tree BI_header_type;
-
-void init_init_processing ()
-{
-  tree fields[1];
-
-  /* Define the structure that holds header information for
-     arrays allocated via operator new.  */
-  BI_header_type = make_aggr_type (RECORD_TYPE);
-  fields[0] = build_decl (FIELD_DECL, nelts_identifier, sizetype);
-
-  finish_builtin_type (BI_header_type, "__new_cookie", fields,
-                      0, double_type_node);
-
-  ggc_add_tree_root (&BI_header_type, 1);
-}
-
 /* We are about to generate some complex initialization code.
    Conceptually, it is all a single expression.  However, we may want
    to include conditionals, loops, and other such statement-level