This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Fix comment/doc typos.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 31 Mar 2005 23:33:41 -0500 (EST)
- Subject: [patch] Fix comment/doc typos.
Hi,
Committed as obvious. The patch to tree-ssa.texi has been committed
to the 4.0 branch as well.
Kazu Hirata
2005-03-31 Kazu Hirata <kazu@cs.umass.edu>
* tree-ssa-alias.c: Follow spelling conventions.
* doc/tree-ssa.texi: Fix a typo.
Index: tree-ssa-alias.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-alias.c,v
retrieving revision 2.77
diff -u -d -p -r2.77 tree-ssa-alias.c
--- tree-ssa-alias.c 30 Mar 2005 22:10:47 -0000 2.77
+++ tree-ssa-alias.c 31 Mar 2005 04:36:56 -0000
@@ -2709,7 +2709,7 @@ push_fields_onto_fieldstack (tree type,
{
size_t before = VEC_length (fieldoff_t, *fieldstack);
/* Empty structures may have actual size, like in C++. So see if we
- actually end up pushing a field, and if not, if the size is non-zero,
+ actually end up pushing a field, and if not, if the size is nonzero,
push the field onto the stack */
push_fields_onto_fieldstack (TREE_TYPE (field), fieldstack, offset);
if (before == VEC_length (fieldoff_t, *fieldstack)
@@ -2739,7 +2739,7 @@ push_fields_onto_fieldstack (tree type,
push_fields_onto_fieldstack (TREE_TYPE (field), fieldstack,
offset + bitpos_of_field (field));
/* Empty structures may have actual size, like in C++. So see if we
- actually end up pushing a field, and if not, if the size is non-zero,
+ actually end up pushing a field, and if not, if the size is nonzero,
push the field onto the stack */
if (before == VEC_length (fieldoff_t, *fieldstack)
&& DECL_SIZE (field)
Index: doc/tree-ssa.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/tree-ssa.texi,v
retrieving revision 1.18
diff -u -d -p -r1.18 tree-ssa.texi
--- doc/tree-ssa.texi 13 Mar 2005 00:46:06 -0000 1.18
+++ doc/tree-ssa.texi 31 Mar 2005 04:36:57 -0000
@@ -685,7 +685,7 @@ void f()
The optimizers need to associate attributes with statements and
variables during the optimization process. For instance, we need to
-know what basic block does a statement belong to or whether a variable
+know what basic block a statement belongs to or whether a variable
has aliases. All these attributes are stored in data structures
called annotations which are then linked to the field @code{ann} in
@code{struct tree_common}.