From 7fa7289d9a4495d59cc2e6ca98bdd5263d70bafe Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 15 Apr 2007 14:46:34 +0000 Subject: [PATCH] i386.c, [...]: Fix comment typos. * config/i386/i386.c, config/s390/s390.c, config/s390/s390.md, tree-ssa-loop-niter.c, tree-ssa-structalias.c, tree-vrp.c: Fix comment typos. From-SVN: r123847 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/i386.c | 6 +++--- gcc/config/s390/s390.c | 4 ++-- gcc/config/s390/s390.md | 2 +- gcc/tree-ssa-loop-niter.c | 2 +- gcc/tree-ssa-structalias.c | 2 +- gcc/tree-vrp.c | 2 +- 7 files changed, 15 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cc2aada1a86..b3c2ae9c53e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-04-15 Kazu Hirata + + * config/i386/i386.c, config/s390/s390.c, config/s390/s390.md, + tree-ssa-loop-niter.c, tree-ssa-structalias.c, tree-vrp.c: Fix + comment typos. + 2007-04-11 Zdenek Dvorak * tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Ignore diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index a964b6a0053..9f4ed758079 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -13566,8 +13566,8 @@ scale_counter (rtx countreg, int scale) return sc; } -/* Return mode for the memcpy/memset loop counter. Preffer SImode over DImode - for constant loop counts. */ +/* Return mode for the memcpy/memset loop counter. Prefer SImode over + DImode for constant loop counts. */ static enum machine_mode counter_mode (rtx count_exp) @@ -21141,7 +21141,7 @@ ix86_md_asm_clobbers (tree outputs ATTRIBUTE_UNUSED, return clobbers; } -/* Implementes target vector targetm.asm.encode_section_info. This +/* Implements target vector targetm.asm.encode_section_info. This is not used by netware. */ static void ATTRIBUTE_UNUSED diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index e0e3115cd37..1bb9a3cda20 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -2656,7 +2656,7 @@ s390_secondary_reload (bool in_p, rtx x, enum reg_class class, sri->icode = (TARGET_64BIT ? CODE_FOR_reloaddi_plus : CODE_FOR_reloadsi_plus); - /* Peforming a multiword move from or to memory we have to make sure the + /* Performing a multiword move from or to memory we have to make sure the second chunk in memory is addressable without causing a displacement overflow. If that would be the case we calculate the address in a scratch register. */ @@ -2666,7 +2666,7 @@ s390_secondary_reload (bool in_p, rtx x, enum reg_class class, && !DISP_IN_RANGE (INTVAL (XEXP (XEXP (x, 0), 1)) + GET_MODE_SIZE (mode) - 1)) { - /* For GENERAL_REGS a displacement overflow is no problem if occuring + /* For GENERAL_REGS a displacement overflow is no problem if occurring in a s_operand address since we may fallback to lm/stm. So we only have to care about overflows in the b+i+d case. */ if ((reg_classes_intersect_p (GENERAL_REGS, class) diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md index 8642af778ba..949d94e53a1 100644 --- a/gcc/config/s390/s390.md +++ b/gcc/config/s390/s390.md @@ -308,7 +308,7 @@ ;; within instruction mnemonics. (define_mode_attr bt [(TF "b") (DF "b") (SF "b") (TD "t") (DD "t") (SD "t")]) -;; Although it is unprecise for z9-ec we handle all dfp instructions like +;; Although it is imprecise for z9-ec we handle all dfp instructions like ;; bfp regarding the pipeline description. (define_mode_attr bfp [(TF "tf") (DF "df") (SF "sf") (TD "tf") (DD "df") (SD "sf")]) diff --git a/gcc/tree-ssa-loop-niter.c b/gcc/tree-ssa-loop-niter.c index 362be0699d3..2e733f93168 100644 --- a/gcc/tree-ssa-loop-niter.c +++ b/gcc/tree-ssa-loop-niter.c @@ -2474,7 +2474,7 @@ record_estimate (struct loop *loop, tree bound, double_int i_bound, delta = double_int_two; i_bound = double_int_add (i_bound, delta); - /* If an overflow occured, ignore the result. */ + /* If an overflow occurred, ignore the result. */ if (double_int_ucmp (i_bound, delta) < 0) return; diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 865770ad8a8..6fda265797e 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -3226,7 +3226,7 @@ update_alias_info (tree stmt, struct alias_info *ai) combination of direct symbol references and pointer dereferences (e.g., MEMORY_VAR = *PTR) or if a call site has memory symbols in its argument list, but these cases do not - occur so frequently as to constitue a serious problem. */ + occur so frequently as to constitute a serious problem. */ if (STORED_SYMS (stmt)) EXECUTE_IF_SET_IN_BITMAP (STORED_SYMS (stmt), 0, i, bi) { diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index 9beddbf068b..ff07939b2d2 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -1815,7 +1815,7 @@ extract_range_from_binary_expr (value_range_t *vr, tree expr) /* If we have a RSHIFT_EXPR with any shift values outside [0..prec-1], then drop to VR_VARYING. Outside of this range we get undefined - behaviour from the shift operation. We cannot even trust + behavior from the shift operation. We cannot even trust SHIFT_COUNT_TRUNCATED at this stage, because that applies to rtl shifts, and the operation at the tree level may be widened. */ if (code == RSHIFT_EXPR)