diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-24 08:30:34 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-24 08:30:34 +0000 |
commit | de132707b72cba464e8a7ee57ac76de342263096 (patch) | |
tree | f527a7be9da17e50c26bf10cb61c24606588c777 /gcc/stor-layout.c | |
parent | b3d5e11f9006d84b3359108c008ac6c88fa048c3 (diff) | |
download | gcc-de132707b72cba464e8a7ee57ac76de342263096.tar.gz |
* regmove.c: Fix comment typos.
* reload.c: Likewise.
* reload1.c: Likewise.
* resource.c: Likewise.
* rtl.def: Likewise.
* rtl.h: Likewise.
* rtlanal.c: Likewise.
* sched-deps.c: Likewise.
* sched-rgn.c: Likewise.
* sibcall.c: Likewise.
* simplify-rtx.c: Likewise.
* ssa-ccp.c: Likewise.
* ssa.c: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* system.h: Likewise.
* tlink.c: Likewise.
* toplev.c: Likewise.
* tracer.c: Likewise.
* tree-inline.c: Likewise.
* tree.c: Likewise.
* tree.h: Likewise.
* unroll.c: Likewise.
* varasm.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60473 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r-- | gcc/stor-layout.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 6c81924b69d..70eecc07a1c 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -1001,10 +1001,10 @@ place_field (rli, field) used in the record, and any additional adjacent long bitfields are packed into the same chunk of 32 bits. However, if the size changes, a new field of that size is allocated.) In an unpacked - record, this is the same as using alignment, but not eqivalent + record, this is the same as using alignment, but not equivalent when packing. - Note: for compatability, we use the type size, not the type alignment + Note: for compatibility, we use the type size, not the type alignment to determine alignment, since that matches the documentation */ if ((* targetm.ms_bitfield_layout_p) (rli->t) @@ -1103,7 +1103,7 @@ place_field (rli, field) TYPE_SIZE (TREE_TYPE (prev_saved))) : !integer_zerop (DECL_SIZE (field)) )) { - unsigned int type_align = 8; /* Never below 8 for compatability */ + unsigned int type_align = 8; /* Never below 8 for compatibility */ /* (When not a bitfield), we could be seeing a flex array (with no DECL_SIZE). Since we won't be using remaining_in_alignment @@ -1197,7 +1197,7 @@ place_field (rli, field) /* Assuming that all the fields have been laid out, this function uses RLI to compute the final TYPE_SIZE, TYPE_ALIGN, etc. for the type - inidicated by RLI. */ + indicated by RLI. */ static void finalize_record_size (rli) |