aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2005-08-01 12:31:40 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-08-01 12:31:40 +0000
commitb15341b8efe5498ec3e5637124317c0c3ea6e94f (patch)
tree2acb02e52515dad543043259c3f7efc7eefacb86 /gcc/ada
parent5ded72541370aaeb3dd3d07c46ad16302df0329f (diff)
downloadgcc-b15341b8efe5498ec3e5637124317c0c3ea6e94f.zip
gcc-b15341b8efe5498ec3e5637124317c0c3ea6e94f.tar.gz
gcc-b15341b8efe5498ec3e5637124317c0c3ea6e94f.tar.bz2
* decl.c, utils.c: Fix comment typos.
From-SVN: r102630
Diffstat (limited to 'gcc/ada')
-rw-r--r--gcc/ada/ChangeLog4
-rw-r--r--gcc/ada/decl.c2
-rw-r--r--gcc/ada/utils.c4
3 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 2b6b518..68df881 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,7 @@
+2005-08-01 Kazu Hirata <kazu@codesourcery.com>
+
+ * decl.c, utils.c: Fix comment typos.
+
2005-07-29 Kazu Hirata <kazu@codesourcery.com>
* decl.c, init.c, initialize.c: Fix comment typos.
diff --git a/gcc/ada/decl.c b/gcc/ada/decl.c
index 3909d95..65fa60f 100644
--- a/gcc/ada/decl.c
+++ b/gcc/ada/decl.c
@@ -1100,7 +1100,7 @@ gnat_to_gnu_entity (Entity_Id gnat_entity, tree gnu_expr, int definition)
SET_DECL_CONST_CORRESPONDING_VAR (gnu_decl, gnu_corr_var);
}
- /* If this is declared in a block that contains an block with an
+ /* If this is declared in a block that contains a block with an
exception handler, we must force this variable in memory to
suppress an invalid optimization. */
if (Has_Nested_Block_With_Handler (Scope (gnat_entity))
diff --git a/gcc/ada/utils.c b/gcc/ada/utils.c
index baec9ff..1bf0007 100644
--- a/gcc/ada/utils.c
+++ b/gcc/ada/utils.c
@@ -712,7 +712,7 @@ finish_record_type (tree record_type, tree fieldlist, bool has_rep,
tree this_ada_size = DECL_SIZE (field);
/* We need to make an XVE/XVU record if any field has variable size,
- whether or not the record does. For example, if we have an union,
+ whether or not the record does. For example, if we have a union,
it may be that all fields, rounded up to the alignment, have the
same size, in which case we'll use that size. But the debug
output routines (except Dwarf2) won't be able to output the fields,
@@ -826,7 +826,7 @@ write_record_type_debug_info (tree record_type)
for (field = fieldlist; field; field = TREE_CHAIN (field))
{
/* We need to make an XVE/XVU record if any field has variable size,
- whether or not the record does. For example, if we have an union,
+ whether or not the record does. For example, if we have a union,
it may be that all fields, rounded up to the alignment, have the
same size, in which case we'll use that size. But the debug
output routines (except Dwarf2) won't be able to output the fields,