aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2003-04-03 13:23:04 -0500
committerJason Merrill <jason@gcc.gnu.org>2003-04-03 13:23:04 -0500
commit78d55cc86ecc681c975581dd3e7e20bb5315b83a (patch)
tree48bd2ec66587d328da6da0a95a49e3ec358b2fea /gcc/doc
parentd10f5ecf5c750f3107cd6d38fb9fd13837caedfc (diff)
downloadgcc-78d55cc86ecc681c975581dd3e7e20bb5315b83a.zip
gcc-78d55cc86ecc681c975581dd3e7e20bb5315b83a.tar.gz
gcc-78d55cc86ecc681c975581dd3e7e20bb5315b83a.tar.bz2
stor-layout.c (do_type_align): New fn, split out from...
* 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. From-SVN: r65207
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/tm.texi3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 1723455..9ff8040 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