From 326f9a757c64d1d6c37e45184d4da7a44ee720e2 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 3 Feb 2007 16:54:08 +0000 Subject: [PATCH] * misc.c, utils2.c: Fix comment typos. From-SVN: r121547 --- gcc/ada/ChangeLog | 4 ++++ gcc/ada/misc.c | 2 +- gcc/ada/utils2.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 183a7fb9b0af..5641887a2176 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2007-02-03 Kazu Hirata + + * misc.c, utils2.c: Fix comment typos. + 2007-01-24 Roger Sayle * decl.c (gnat_to_gnu_entity): Use TREE_OVERFLOW instead of diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c index c6fb0d95a01f..67de3ffa7bcf 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 04e968ec8ad6..e987fa9d22d8 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)))))) -- 2.43.5