diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-03 16:54:08 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-03 16:54:08 +0000 |
commit | 2545e97637a9ac95926897a45660021da054f75e (patch) | |
tree | 0ba5509091de239ba6c90a508163e87e5d5313eb /gcc/ada | |
parent | f2b3207650ca9ff335efab0b6e3209b671abbe6d (diff) | |
download | gcc-2545e97637a9ac95926897a45660021da054f75e.tar.gz |
* misc.c, utils2.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121547 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada')
-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 183a7fb9b0a..5641887a217 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 c6fb0d95a01..67de3ffa7bc 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 04e968ec8ad..e987fa9d22d 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)))))) |