diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2002-12-24 08:30:34 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2002-12-24 08:30:34 +0000 |
commit | 14b493d64dd504f79cd702bba4b8bae678740af9 (patch) | |
tree | f527a7be9da17e50c26bf10cb61c24606588c777 /gcc/stor-layout.c | |
parent | 02aef83470d501c4fd44035ebc41f6b9449e3288 (diff) | |
download | gcc-14b493d64dd504f79cd702bba4b8bae678740af9.zip gcc-14b493d64dd504f79cd702bba4b8bae678740af9.tar.gz gcc-14b493d64dd504f79cd702bba4b8bae678740af9.tar.bz2 |
regmove.c: Fix comment typos.
* 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.
From-SVN: r60473
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 6c81924..70eecc0 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) |