diff options
author | Diego Novillo <dnovillo@cygnus.com> | 1999-11-12 17:45:10 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 1999-11-12 12:45:10 -0500 |
commit | aafc9fd60d37df62284e8a7b73d4530795cce0b8 (patch) | |
tree | d28b539032a113a7e678d5551ee10d40b1324079 /gcc | |
parent | 2848ad0fd63d89a3e9989b93f6b31ad1498386b6 (diff) | |
download | gcc-aafc9fd60d37df62284e8a7b73d4530795cce0b8.zip gcc-aafc9fd60d37df62284e8a7b73d4530795cce0b8.tar.gz gcc-aafc9fd60d37df62284e8a7b73d4530795cce0b8.tar.bz2 |
Undo patch from Nov/11/99 to init.c regarding misalignment of
cookie header for arrays of objects.
From-SVN: r30505
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/init.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c37c04e..646c6e3 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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 diff --git a/gcc/cp/init.c b/gcc/cp/init.c index c44926d..07c45f4 100644 --- a/gcc/cp/init.c +++ b/gcc/cp/init.c @@ -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); |