summaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-29 13:16:44 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-29 13:16:44 +0000
commit9cb8e99fb0eb82cb99f6450180c17ce54384671b (patch)
tree24cbb8cf9da08986b3e7df17c094d53287981603 /gcc/stor-layout.c
parent92d27c95908cefb0cdac944ab16081630764420c (diff)
downloadgcc-9cb8e99fb0eb82cb99f6450180c17ce54384671b.tar.gz
* builtins.def: Fix comment formatting.
* c-common.def: Likewise. * cfgcleanup.c: Likewise. * combine.c: Likewise. * gengtype.c: Likewise. * params.def: Likewise. * predict.def: Likewise. * rtl.def: Likewise. * stab.def: Likewise. * stor-layout.c: Likewise. * tree.def: Likewise. * config/darwin.c: Likewise. * config/darwin.h: Likewise. * config/dbxcoff.h: Likewise. * config/elfos.h: Likewise. * config/fp-bit.c: Likewise. * config/freebsd-spec.h: Likewise. * config/interix.h: Likewise. * config/libgloss.h: Likewise. * config/linux-aout.h: Likewise. * config/linux.h: Likewise. * config/lynx-ng.h: Likewise. * config/lynx.h: Likewise. * config/netbsd-aout.h: Likewise. * config/netbsd.h: Likewise. * config/netware.h: Likewise. * config/psos.h: Likewise. * config/ptx4.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57624 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r--gcc/stor-layout.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index 67b657908ee..e468a2b8ebe 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -1022,12 +1022,12 @@ place_field (rli, field)
|| (rli->prev_field && ! DECL_PACKED (rli->prev_field))))
{
/* At this point, either the prior or current are bitfields,
- (possibly both), and we're dealing with MS packing. */
+ (possibly both), and we're dealing with MS packing. */
tree prev_saved = rli->prev_field;
/* Is the prior field a bitfield? If so, handle "runs" of same
- type size fields. */
- if (rli->prev_field /* necessarily a bitfield if it exists. */)
+ type size fields. */
+ if (rli->prev_field /* necessarily a bitfield if it exists. */)
{
/* If both are bitfields, nonzero, and the same size, this is
the middle of a run. Zero declared size fields are special
@@ -1049,7 +1049,7 @@ place_field (rli, field)
if (rli->remaining_in_alignment < bitsize)
{
- /* out of bits; bump up to next 'word'. */
+ /* out of bits; bump up to next 'word'. */
rli->bitpos = size_binop (PLUS_EXPR,
type_size,
DECL_FIELD_BIT_OFFSET(rli->prev_field));
@@ -1079,12 +1079,12 @@ place_field (rli, field)
else
{
/* We "use up" size zero fields; the code below should behave
- as if the prior field was not a bitfield. */
+ as if the prior field was not a bitfield. */
prev_saved = NULL;
}
/* Cause a new bitfield to be captured, either this time (if
- currently a bitfield) or next time we see one. */
+ currently a bitfield) or next time we see one. */
if (!DECL_BIT_FIELD_TYPE(field)
|| integer_zerop (DECL_SIZE (field)))
{
@@ -1124,7 +1124,7 @@ place_field (rli, field)
= TREE_INT_CST_LOW (TYPE_SIZE(TREE_TYPE(field)))
- TREE_INT_CST_LOW (DECL_SIZE (field));
- /* Now align (conventionally) for the new type. */
+ /* Now align (conventionally) for the new type. */
if (!DECL_PACKED(field))
type_align = MAX(TYPE_ALIGN (type), type_align);
@@ -1142,7 +1142,7 @@ place_field (rli, field)
rli->bitpos = round_up (rli->bitpos, type_align);
/* If we really aligned, don't allow subsequent bitfields
- to undo that. */
+ to undo that. */
rli->prev_field = NULL;
}
}
@@ -1173,7 +1173,7 @@ place_field (rli, field)
if (known_align != actual_align)
layout_decl (field, actual_align);
- /* Only the MS bitfields use this. */
+ /* Only the MS bitfields use this. */
if (rli->prev_field == NULL && DECL_BIT_FIELD_TYPE(field))
rli->prev_field = field;