aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-02-03 16:54:08 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-02-03 16:54:08 +0000
commit326f9a757c64d1d6c37e45184d4da7a44ee720e2 (patch)
tree0ba5509091de239ba6c90a508163e87e5d5313eb /gcc
parent9f5ed61a800c20ae8b3cda028af18027c2884952 (diff)
downloadgcc-326f9a757c64d1d6c37e45184d4da7a44ee720e2.zip
gcc-326f9a757c64d1d6c37e45184d4da7a44ee720e2.tar.gz
gcc-326f9a757c64d1d6c37e45184d4da7a44ee720e2.tar.bz2
* misc.c, utils2.c: Fix comment typos.
From-SVN: r121547
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/ChangeLog4
-rw-r--r--gcc/ada/misc.c2
-rw-r--r--gcc/ada/utils2.c2
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))))))