This is the mail archive of the mailing 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]

[patch] gcc/*: Fix comment typos.


Committed as obvious.

Kazu Hirata

2006-12-22  Kazu Hirata  <>

	* config/elfos.h, config/spu/spu.c, tree-ssa-operands.h,
	tree-ssa-ter.c: Fix comment typos.

Index: config/elfos.h
--- config/elfos.h	(revision 120147)
+++ config/elfos.h	(working copy)
@@ -507,7 +507,7 @@ Boston, MA 02110-1301, USA.  */
 /* A C statement (sans semicolon) to output to the stdio stream STREAM
    any text necessary for declaring the name of an external symbol
-   named NAME whch is referenced in this compilation but not defined.
+   named NAME which is referenced in this compilation but not defined.
    It is needed to properly support non-default visibility.  */
Index: config/spu/spu.c
--- config/spu/spu.c	(revision 120147)
+++ config/spu/spu.c	(working copy)
@@ -1606,7 +1606,7 @@ spu_expand_prologue (void)
       if (flag_stack_check)
-	  /* We compare agains total_size-1 because
+	  /* We compare against total_size-1 because
 	     ($sp >= total_size) <=> ($sp > total_size-1) */
 	  rtx scratch_v4si = gen_rtx_REG (V4SImode, REGNO (scratch_reg_0));
 	  rtx sp_v4si = gen_rtx_REG (V4SImode, STACK_POINTER_REGNUM);
@@ -2386,7 +2386,7 @@ cpat_info(unsigned char *arr, int size, 
 /* OP is a CONSTANT_P.  Determine what instructions can be used to load
-   it into a regiser.  MODE is only valid when OP is a CONST_INT. */
+   it into a register.  MODE is only valid when OP is a CONST_INT. */
 static enum immediate_class
 classify_immediate (rtx op, enum machine_mode mode)
Index: tree-ssa-operands.h
--- tree-ssa-operands.h	(revision 120147)
+++ tree-ssa-operands.h	(working copy)
@@ -108,7 +108,7 @@ struct voptype_d
 typedef struct voptype_d *voptype_p;
 /* This structure represents a variable sized buffer which is allocated by the
-   operand memory manager.  Operands are subalocated out of this block.  The
+   operand memory manager.  Operands are suballocated out of this block.  The
    MEM array varies in size.  */
 struct ssa_operand_memory_d GTY((chain_next("")))
Index: tree-ssa-ter.c
--- tree-ssa-ter.c	(revision 120147)
+++ tree-ssa-ter.c	(working copy)
@@ -402,7 +402,7 @@ is_replaceable_p (tree stmt)
 	return false;
-  /* Leave any stmt with voltile operands alone as well.  */
+  /* Leave any stmt with volatile operands alone as well.  */
   if (stmt_ann (stmt)->has_volatile_ops)
     return false;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]