OSDN Git Service

Undo patch from Nov/11/99 to init.c regarding misalignment of
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Nov 1999 17:45:10 +0000 (17:45 +0000)
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Nov 1999 17:45:10 +0000 (17:45 +0000)
cookie header for arrays of objects.

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

gcc/cp/ChangeLog
gcc/cp/init.c

index c37c04e..646c6e3 100644 (file)
@@ -1,3 +1,8 @@
+Fri Nov 12 10:42:02 MST 1999   Diego Novillo <dnovillo@cygnus.com>
+
+       * init.c (init_init_processing): Undo patch from Nov 11, 1999.
+       Patch had not been approved yet.
+
 1999-11-12  Mark Mitchell  <mark@codesourcery.com>
 
        * decl.c (compute_array_index_type): New function, split out from
index c44926d..07c45f4 100644 (file)
@@ -66,9 +66,8 @@ void init_init_processing ()
   BI_header_type = make_lang_type (RECORD_TYPE);
   nelts_identifier = get_identifier ("nelts");
   fields[0] = build_lang_decl (FIELD_DECL, nelts_identifier, sizetype);
-  TYPE_ALIGN (BI_header_type) = BIGGEST_ALIGNMENT;
   finish_builtin_type (BI_header_type, "__new_cookie", fields,
-                      0, BI_header_type);
+                      0, double_type_node);
   BI_header_size = size_in_bytes (BI_header_type);
 
   ggc_add_tree_root (&BI_header_type, 1);