aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-04-15 14:46:34 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-04-15 14:46:34 +0000
commit7fa7289d9a4495d59cc2e6ca98bdd5263d70bafe (patch)
tree5797a66bcb16ef96374728d29c0dca3daa23efa6 /gcc
parenta57a55dec3932d7d7ea08886300dc23fd2db4058 (diff)
downloadgcc-7fa7289d9a4495d59cc2e6ca98bdd5263d70bafe.zip
gcc-7fa7289d9a4495d59cc2e6ca98bdd5263d70bafe.tar.gz
gcc-7fa7289d9a4495d59cc2e6ca98bdd5263d70bafe.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/i386.c6
-rw-r--r--gcc/config/s390/s390.c4
-rw-r--r--gcc/config/s390/s390.md2
-rw-r--r--gcc/tree-ssa-loop-niter.c2
-rw-r--r--gcc/tree-ssa-structalias.c2
-rw-r--r--gcc/tree-vrp.c2
7 files changed, 15 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cc2aada..b3c2ae9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2007-04-15 Kazu Hirata <kazu@codesourcery.com>
+
+ * 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 <dvorakz@suse.cz>
* tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Ignore
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index a964b6a..9f4ed75 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 e0e3115..1bb9a3c 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 8642af7..949d94e 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 362be06..2e733f9 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 865770a..6fda265 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 9beddbf..ff07939 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)