From 24fc18b98c30f23c5de5bce0fb6b90f5929fe453 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 22 Dec 2006 12:50:00 +0000 Subject: [PATCH] elfos.h, [...]: Fix comment typos. * config/elfos.h, config/spu/spu.c, tree-ssa-operands.h, tree-ssa-ter.c: Fix comment typos. From-SVN: r120149 --- gcc/ChangeLog | 5 +++++ gcc/config/elfos.h | 2 +- gcc/config/spu/spu.c | 4 ++-- gcc/tree-ssa-operands.h | 2 +- gcc/tree-ssa-ter.c | 2 +- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dadfa10..212d0ca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-12-22 Kazu Hirata + + * config/elfos.h, config/spu/spu.c, tree-ssa-operands.h, + tree-ssa-ter.c: Fix comment typos. + 2006-12-22 Paolo Bonzini PR rtl-optimization/29840 diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h index 7e7f071..e1abfcb 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 f7b2d08..b724b80 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 10fd145..35d59a4 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 d549ed4..ca67f91 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; -- 2.7.4