Commit 326f9a75 by Kazu Hirata Committed by Kazu Hirata

* misc.c, utils2.c: Fix comment typos.

From-SVN: r121547
parent 9f5ed61a
2007-02-03 Kazu Hirata <kazu@codesourcery.com>
* misc.c, utils2.c: Fix comment typos.
2007-01-24 Roger Sayle <roger@eyesopen.com> 2007-01-24 Roger Sayle <roger@eyesopen.com>
* decl.c (gnat_to_gnu_entity): Use TREE_OVERFLOW instead of * decl.c (gnat_to_gnu_entity): Use TREE_OVERFLOW instead of
...@@ -776,7 +776,7 @@ gnat_type_max_size (tree gnu_type) ...@@ -776,7 +776,7 @@ gnat_type_max_size (tree gnu_type)
{ {
tree max_adasize = max_size (TYPE_ADA_SIZE (gnu_type), true); 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. */ type's alignment and return the result in byte units. */
if (host_integerp (max_adasize, 1)) if (host_integerp (max_adasize, 1))
......
...@@ -1526,7 +1526,7 @@ gnat_build_constructor (tree type, tree list) ...@@ -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 /* 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 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 if (TREE_CODE (type) == RECORD_TYPE
&& (0 != (result && (0 != (result
= contains_null_expr (DECL_SIZE (TREE_PURPOSE (elmt)))))) = contains_null_expr (DECL_SIZE (TREE_PURPOSE (elmt))))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment