aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/utils.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-04-01 05:28:01 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-04-01 05:28:01 +0000
commit45f7cb601829cd50ac80677edf22d3c03e9b6327 (patch)
tree639823f0b45b5a525e2e96e30ce0899ecb12b108 /gcc/ada/utils.c
parent38b974a6cf4ea5e2ea107c63aa4c2b6d64a89894 (diff)
downloadgcc-45f7cb601829cd50ac80677edf22d3c03e9b6327.zip
gcc-45f7cb601829cd50ac80677edf22d3c03e9b6327.tar.gz
gcc-45f7cb601829cd50ac80677edf22d3c03e9b6327.tar.bz2
adaint.c, [...]: Fix comment typos.
* adaint.c, cal.c, decl.c, gigi.h, gmem.c, init.c, link.c, raise.c, tracebak.c, trans.c, utils2.c, utils.c: Fix comment typos. From-SVN: r97369
Diffstat (limited to 'gcc/ada/utils.c')
-rw-r--r--gcc/ada/utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/utils.c b/gcc/ada/utils.c
index 484067d..f6ea29bb 100644
--- a/gcc/ada/utils.c
+++ b/gcc/ada/utils.c
@@ -1554,7 +1554,7 @@ value_factor_p (tree value, HOST_WIDE_INT factor)
/* Given 2 consecutive field decls PREV_FIELD and CURR_FIELD, return true
unless we can prove these 2 fields are laid out in such a way that no gap
- exist between the end of PREV_FIELD and the begining of CURR_FIELD. OFFSET
+ exist between the end of PREV_FIELD and the beginning of CURR_FIELD. OFFSET
is the distance in bits between the end of PREV_FIELD and the starting
position of CURR_FIELD. It is ignored if null. */
@@ -1573,7 +1573,7 @@ potential_alignment_gap (tree prev_field, tree curr_field, tree offset)
if (TREE_CODE (TREE_TYPE (prev_field)) == QUAL_UNION_TYPE)
return false;
- /* If the distance between the end of prev_field and the begining of
+ /* If the distance between the end of prev_field and the beginning of
curr_field is constant, then there is a gap if the value of this
constant is not null. */
if (offset && host_integerp (offset, 1))
@@ -2705,7 +2705,7 @@ convert (tree type, tree expr)
/* If the result type is a padded type with a self-referentially-sized
field and the expression type is a record, do this as an
- unchecked converstion. */
+ unchecked conversion. */
else if (TREE_CODE (etype) == RECORD_TYPE
&& CONTAINS_PLACEHOLDER_P (DECL_SIZE (TYPE_FIELDS (type))))
return unchecked_convert (type, expr, false);
@@ -3075,7 +3075,7 @@ maybe_unconstrained_array (tree exp)
return exp;
}
-/* Return an expression that does an unchecked converstion of EXPR to TYPE.
+/* Return an expression that does an unchecked conversion of EXPR to TYPE.
If NOTRUNC_P is true, truncation operations should be suppressed. */
tree