diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ada/misc.c | 2 | ||||
-rw-r--r-- | gcc/ada/utils2.c | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 183a7fb..5641887 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2007-02-03 Kazu Hirata <kazu@codesourcery.com> + + * misc.c, utils2.c: Fix comment typos. + 2007-01-24 Roger Sayle <roger@eyesopen.com> * decl.c (gnat_to_gnu_entity): Use TREE_OVERFLOW instead of diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c index c6fb0d9..67de3ff 100644 --- a/gcc/ada/misc.c +++ b/gcc/ada/misc.c @@ -776,7 +776,7 @@ gnat_type_max_size (tree gnu_type) { tree max_adasize = max_size (TYPE_ADA_SIZE (gnu_type), true); - /* If we have succeded in finding a constant, round it up to the + /* If we have succeeded in finding a constant, round it up to the type's alignment and return the result in byte units. */ if (host_integerp (max_adasize, 1)) diff --git a/gcc/ada/utils2.c b/gcc/ada/utils2.c index 04e968e..e987fa9 100644 --- a/gcc/ada/utils2.c +++ b/gcc/ada/utils2.c @@ -1526,7 +1526,7 @@ gnat_build_constructor (tree type, tree list) /* Propagate an NULL_EXPR from the size of the type. We won't ever be executing the code we generate here in that case, but handle it - specially to avoid the cmpiler blowing up. */ + specially to avoid the compiler blowing up. */ if (TREE_CODE (type) == RECORD_TYPE && (0 != (result = contains_null_expr (DECL_SIZE (TREE_PURPOSE (elmt)))))) |