diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-03 18:23:04 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-03 18:23:04 +0000 |
commit | f5712181cc5d07cf950746f517a26f2281e5de8c (patch) | |
tree | 48bd2ec66587d328da6da0a95a49e3ec358b2fea /gcc/doc | |
parent | 1eb2dd7f4a5fd705e2006d16d17fb3bc7d0e491d (diff) | |
download | gcc-f5712181cc5d07cf950746f517a26f2281e5de8c.tar.gz |
* stor-layout.c (do_type_align): New fn, split out from...
(layout_decl): ...here. Do all alignment calculations for
FIELD_DECLs here.
(update_alignment_for_field): Not here.
(start_record_layout, debug_rli): Remove unpadded_align.
* tree.h (struct record_layout_info_s): Remove unpadded_align.
* c-decl.c (finish_enum): Don't set DECL_SIZE, DECL_ALIGN
or DECL_MODE on the CONST_DECLs.
(finish_struct): Don't mess with DECL_ALIGN.
* cp/class.c (build_vtable): Set DECL_ALIGN here.
(get_vtable_decl): Not here.
(layout_vtable_decl): Or here.
(create_vtable_ptr): Or here.
(layout_class_type): Or here.
(check_bitfield_decl): Don't mess with field alignment.
* ada/misc.c (gnat_adjust_rli): #if 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65207 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/tm.texi | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 1723455535f..9ff8040a739 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -1160,8 +1160,7 @@ make it all fit in fewer cache lines. Alignment in bits to be given to a structure bit-field that follows an empty field such as @code{int : 0;}. -Note that @code{PCC_BITFIELD_TYPE_MATTERS} also affects the alignment -that results from an empty field. +If @code{PCC_BITFIELD_TYPE_MATTERS} is true, it overrides this macro. @findex STRUCTURE_SIZE_BOUNDARY @item STRUCTURE_SIZE_BOUNDARY |