Commit 3ca7341a by Diego Novillo Committed by Diego Novillo

init.c (init_init_processing): Re-instated Nov 11 patch after approval.

	* init.c (init_init_processing): Re-instated Nov 11 patch after
	approval.

From-SVN: r30510
parent 8ad1aa56
Fri Nov 12 12:56:32 MST 1999 Diego Novillo <dnovillo@cygnus.com>
* init.c (init_init_processing): Re-instated Nov 11 patch after
approval.
Fri Nov 12 10:42:02 MST 1999 Diego Novillo <dnovillo@cygnus.com>
* init.c (init_init_processing): Undo patch from Nov 11, 1999.
......
......@@ -66,8 +66,12 @@ 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);
/* Use the biggest alignment supported by the target to prevent operator
new from returning misaligned pointers. */
TYPE_ALIGN (BI_header_type) = BIGGEST_ALIGNMENT;
finish_builtin_type (BI_header_type, "__new_cookie", fields,
0, double_type_node);
0, BI_header_type);
BI_header_size = size_in_bytes (BI_header_type);
ggc_add_tree_root (&BI_header_type, 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment