aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/elfos.h2
-rw-r--r--gcc/config/spu/spu.c4
-rw-r--r--gcc/tree-ssa-operands.h2
-rw-r--r--gcc/tree-ssa-ter.c2
5 files changed, 10 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index dadfa10f623..212d0ca1aab 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-12-22 Kazu Hirata <kazu@codesourcery.com>
+
+ * config/elfos.h, config/spu/spu.c, tree-ssa-operands.h,
+ tree-ssa-ter.c: Fix comment typos.
+
2006-12-22 Paolo Bonzini <bonzini@gnu.org>
PR rtl-optimization/29840
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h
index 7e7f0719d1f..e1abfcba444 100644
--- a/gcc/config/elfos.h
+++ b/gcc/config/elfos.h
@@ -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. */
#ifndef ASM_OUTPUT_EXTERNAL
diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c
index f7b2d080a36..b724b80613e 100644
--- a/gcc/config/spu/spu.c
+++ b/gcc/config/spu/spu.c
@@ -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, int *prun, int *pstart)
}
/* 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)
{
diff --git a/gcc/tree-ssa-operands.h b/gcc/tree-ssa-operands.h
index 10fd1459996..35d59a44e4c 100644
--- a/gcc/tree-ssa-operands.h
+++ b/gcc/tree-ssa-operands.h
@@ -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("%h.next")))
diff --git a/gcc/tree-ssa-ter.c b/gcc/tree-ssa-ter.c
index d549ed43461..ca67f91e66e 100644
--- a/gcc/tree-ssa-ter.c
+++ b/gcc/tree-ssa-ter.c
@@ -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;