[patch, committed] Fix comment typos in gcc/gcc/

Volker Reichelt reichelt@igpm.rwth-aachen.de
Thu Jul 21 11:54:00 GMT 2005


The following patch fixes a couple of comment typos in the gcc/gcc/
directory.

Committed to mainline as obvious.

Regards,
Volker


2005-07-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>

	* reg-stack.c: Fix comment typo(s).
	* tree-ssa-operands.c: Likewise.
	* tree-vectorizer: Likewise.

===================================================================
--- reg-stack.c	14 Jul 2005 07:39:54 -0000	1.188
+++ reg-stack.c	21 Jul 2005 11:27:22 -0000
@@ -228,7 +228,7 @@ enum emit_where
 static basic_block current_block;
 
 /* In the current_block, whether we're processing the first register
-   stack or call instruction, i.e. the the regstack is currently the
+   stack or call instruction, i.e. the regstack is currently the
    same as BLOCK_INFO(current_block)->stack_in.  */
 static bool starting_stack_p;
 
===================================================================
--- tree-ssa-operands.c	20 Jul 2005 01:18:26 -0000	2.97
+++ tree-ssa-operands.c	21 Jul 2005 11:34:33 -0000
@@ -459,10 +459,10 @@ ssa_operand_alloc (unsigned size)
 }
 
 
-/* Make sure PTR is inn the correct immediate use list.  Since uses are simply
+/* Make sure PTR is in the correct immediate use list.  Since uses are simply
    pointers into the stmt TREE, there is no way of telling if anyone has
    changed what this pointer points to via TREE_OPERANDS (exp, 0) = <...>.
-   THe contents are different, but the the pointer is still the same.  This
+   The contents are different, but the pointer is still the same.  This
    routine will check to make sure PTR is in the correct list, and if it isn't
    put it in the correct list.  We cannot simply check the previous node 
    because all nodes in the same stmt might have be changed.  */
@@ -482,7 +482,7 @@ correct_use_link (use_operand_p ptr, tre
     {
       bool stmt_mod = true;
       /* Find the first element which isn't a SAFE iterator, is in a different
-	 stmt, and is not a a modified stmt,  That node is in the correct list,
+	 stmt, and is not a modified stmt.  That node is in the correct list,
 	 see if we are too.  */
 
       while (stmt_mod)
===================================================================
--- tree-vectorizer.c	6 Jul 2005 02:25:06 -0000	2.102
+++ tree-vectorizer.c	21 Jul 2005 11:28:25 -0000
@@ -1792,7 +1792,7 @@ reduction_code_for_scalar_code (enum tre
   
    such that:
    1. operation is commutative and associative and it is safe to 
-      change the the order of the computation.
+      change the order of the computation.
    2. no uses for a2 in the loop (a2 is used out of the loop)
    3. no uses of a1 in the loop besides the reduction operation.
 
===================================================================




More information about the Gcc-patches mailing list