[patch] gcc/*.c: Fix comment typos.

Kazu Hirata kazu@cs.umass.edu
Sun Nov 14 23:38:00 GMT 2004


Hi,

Committed as obvious.

Kazu Hirata

2004-11-14  Kazu Hirata  <kazu@cs.umass.edu>

	* global.c, tree-ssa-copy.c, tree-ssa-loop-ivopts.c,
	value-prof.c: Fix comment typos.

Index: global.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/global.c,v
retrieving revision 1.115
diff -u -d -p -r1.115 global.c
--- global.c	4 Nov 2004 08:57:52 -0000	1.115
+++ global.c	14 Nov 2004 23:30:44 -0000
@@ -695,7 +695,7 @@ global_conflicts (void)
 	 since one hard reg can be used with various sizes.
 	 Therefore, we must require that all the hard regs
 	 implicitly live as part of a multi-word hard reg
-	 are explicitly marked in basic_block_live_at_start.  */
+	 be explicitly marked in basic_block_live_at_start.  */
 
       {
 	regset old = b->global_live_at_start;
Index: tree-ssa-copy.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-copy.c,v
retrieving revision 2.19
diff -u -d -p -r2.19 tree-ssa-copy.c
--- tree-ssa-copy.c	28 Oct 2004 23:24:41 -0000	2.19
+++ tree-ssa-copy.c	14 Nov 2004 23:30:45 -0000
@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA.  */
    annotations up-to-date.
 
    We require that for any copy operation where the RHS and LHS have
-   a non-null memory tag that the memory tag be the same.   It is OK
+   a non-null memory tag the memory tag be the same.   It is OK
    for one or both of the memory tags to be NULL.
 
    We also require tracking if a variable is dereferenced in a load or
Index: tree-ssa-loop-ivopts.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-loop-ivopts.c,v
retrieving revision 2.29
diff -u -d -p -r2.29 tree-ssa-loop-ivopts.c
--- tree-ssa-loop-ivopts.c	14 Nov 2004 04:08:05 -0000	2.29
+++ tree-ssa-loop-ivopts.c	14 Nov 2004 23:30:46 -0000
@@ -1305,7 +1305,7 @@ idx_find_step (tree base, tree *idx, voi
     return false;
 
   /* If base is a component ref, require that the offset of the reference
-     is invariant.  */
+     be invariant.  */
   if (TREE_CODE (base) == COMPONENT_REF)
     {
       off = component_ref_field_offset (base);
Index: value-prof.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/value-prof.c,v
retrieving revision 1.15
diff -u -d -p -r1.15 value-prof.c
--- value-prof.c	10 Sep 2004 10:44:48 -0000	1.15
+++ value-prof.c	14 Nov 2004 23:30:46 -0000
@@ -595,7 +595,7 @@ divmod_fixed_value_transform (rtx insn)
   histogram = XEXP (histogram, 1);
   all = INTVAL (XEXP (histogram, 0));
 
-  /* We require that count is at least half of all; this means
+  /* We require that count be at least half of all; this means
      that for the transformation to fire the value must be constant
      at least 50% of time (and 75% gives the guarantee of usage).  */
   if (!rtx_equal_p (op2, value) || 2 * count < all)
@@ -969,7 +969,7 @@ speculative_prefetching_transform (rtx i
   if (all < 4)
     return false;
 
-  /* We require that count is at least half of all; this means
+  /* We require that count be at least half of all; this means
      that for the transformation to fire the value must be constant
      at least 50% of time (and 75% gives the guarantee of usage).  */
   if (!rtx_equal_p (address, value) || 2 * count < all)



More information about the Gcc-patches mailing list