Kazu Hirata - [patch] ada/*.c: Fix comment typos. (original) (raw)
This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
- From: Kazu Hirata
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 3 Feb 2007 08:54:20 -0800
- Subject: [patch] ada/*.c: Fix comment typos.
Hi,
Committed as obvious.
Kazu Hirata
2007-02-03 Kazu Hirata kazu@codesourcery.com
* misc.c, utils2.c: Fix comment typos.
Index: ada/misc.c
--- ada/misc.c (revision 121545) +++ ada/misc.c (working copy) @@ -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)) Index: ada/utils2.c
--- ada/utils2.c (revision 121545) +++ ada/utils2.c (working copy) @@ -1526,7 +1526,7 @@ gnat_build_constructor (tree type, tree
/* 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))))))
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |