From 256f6afde0abe69a7aa24b7e1da2eaa099409efc Mon Sep 17 00:00:00 2001 From: kazu Date: Mon, 1 Aug 2005 12:31:40 +0000 Subject: [PATCH] * decl.c, utils.c: Fix comment typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102630 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ada/ChangeLog | 4 ++++ gcc/ada/decl.c | 2 +- gcc/ada/utils.c | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 2b6b5189650..68df881057e 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2005-08-01 Kazu Hirata + + * decl.c, utils.c: Fix comment typos. + 2005-07-29 Kazu Hirata * decl.c, init.c, initialize.c: Fix comment typos. diff --git a/gcc/ada/decl.c b/gcc/ada/decl.c index 3909d953ff5..65fa60f356d 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 baec9ff82cb..1bf00075e54 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, -- 2.11.4.GIT