From c83eecadfde96f31d483f70c043572cfb24d9575 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 5 Nov 2005 20:24:18 +0000 Subject: [PATCH] c-typeck.c, [...]: Fix comment typos. * c-typeck.c, config/i386/netware.h, config/m32c/cond.md, config/ms1/ms1.h, config/rs6000/predicates.md, config/s390/s390.c, params.def, postreload-gcse.c, tree-flow-inline.h, tree-ssa-operands.c, tree-vectorizer.c, tree-vrp.c, tree.c: Fix comment typos. * doc/invoke.texi: Fix typos. From-SVN: r106532 --- gcc/ChangeLog | 9 +++++++++ gcc/c-typeck.c | 2 +- gcc/config/i386/netware.h | 2 +- gcc/config/m32c/cond.md | 2 +- gcc/config/ms1/ms1.h | 2 +- gcc/config/rs6000/predicates.md | 2 +- gcc/config/s390/s390.c | 2 +- gcc/doc/invoke.texi | 4 ++-- gcc/params.def | 2 +- gcc/postreload-gcse.c | 2 +- gcc/tree-flow-inline.h | 2 +- gcc/tree-ssa-operands.c | 2 +- gcc/tree-vectorizer.c | 4 ++-- gcc/tree-vrp.c | 2 +- gcc/tree.c | 2 +- 15 files changed, 25 insertions(+), 16 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ec270296769a..826d89e97bcf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2005-11-05 Kazu Hirata + + * c-typeck.c, config/i386/netware.h, config/m32c/cond.md, + config/ms1/ms1.h, config/rs6000/predicates.md, + config/s390/s390.c, params.def, postreload-gcse.c, + tree-flow-inline.h, tree-ssa-operands.c, tree-vectorizer.c, + tree-vrp.c, tree.c: Fix comment typos. + * doc/invoke.texi: Fix typos. + 2005-11-05 Sebastian Pop * lambda-code.c (lambda_transform_legal_p): Use DDR_NUM_DIST_VECTS diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index cf9798adc8a4..d32261546611 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -917,7 +917,7 @@ alloc_tagged_tu_seen_cache (tree t1, tree t2) struct a *next; }; If we are comparing this against a similar struct in another TU, - and did not assume they were compatiable, we end up with an infinite + and did not assume they were compatible, we end up with an infinite loop. */ tu->val = 1; return tu; diff --git a/gcc/config/i386/netware.h b/gcc/config/i386/netware.h index d5e79b4a7cfe..197bdc5a6a27 100644 --- a/gcc/config/i386/netware.h +++ b/gcc/config/i386/netware.h @@ -142,7 +142,7 @@ Boston, MA 02110-1301, USA. */ differently depending on something about the variable or function named by the symbol (such as what section it is in). - On i386 running NetWare, modify the assembler name with an undercore (_) + On i386 running NetWare, modify the assembler name with an underscore (_) prefix and a suffix consisting of an atsign (@) followed by a string of digits that represents the number of bytes of arguments passed to the function, if it has the attribute STDCALL. Alternatively, if it has the diff --git a/gcc/config/m32c/cond.md b/gcc/config/m32c/cond.md index 7ef695fa8b65..c6b42c797026 100644 --- a/gcc/config/m32c/cond.md +++ b/gcc/config/m32c/cond.md @@ -28,7 +28,7 @@ ; so instead we invert the conditional and jump around a regular jump. ; Note that we can, at some point in the future, add code to omit the -; "cmp" portion of the insn if the preceeding insn happened to set the +; "cmp" portion of the insn if the preceding insn happened to set the ; right flags already. For example, a mov followed by a "cmp *,0" is ; redundant; the move already set the Z flag. diff --git a/gcc/config/ms1/ms1.h b/gcc/config/ms1/ms1.h index 477c9ccdbffb..cf24671a5965 100644 --- a/gcc/config/ms1/ms1.h +++ b/gcc/config/ms1/ms1.h @@ -42,7 +42,7 @@ extern enum processor_type ms1_cpu; #undef ASM_SPEC #define ASM_SPEC "%{march=ms1-16-002: -march=ms1-16-002} %{march=ms1-16-003: -march=ms1-16-003} %{!march=*: -march=ms1-16-002}" -/* A string to pass to at the end of the comman given to the linker. */ +/* A string to pass to at the end of the command given to the linker. */ #undef LIB_SPEC #define LIB_SPEC "--start-group -lc -lsim --end-group \ %{msim: ; \ diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md index ff475053cad9..da813dad5a73 100644 --- a/gcc/config/rs6000/predicates.md +++ b/gcc/config/rs6000/predicates.md @@ -55,7 +55,7 @@ (match_test "INTVAL (op) >= 0 && INTVAL (op) <= 31"))) ;; Return 1 if op is a signed 8-bit constant integer. -;; Integer multiplcation complete more quickly +;; Integer multiplication complete more quickly (define_predicate "s8bit_cint_operand" (and (match_code "const_int") (match_test "INTVAL (op) >= -128 && INTVAL (op) <= 127"))) diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 03e5a0ee83ba..cbb382d6dfb9 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -3879,7 +3879,7 @@ s390_expand_insv (rtx dest, rtx op1, rtx op2, rtx src) int bitsize = INTVAL (op1); int bitpos = INTVAL (op2); - /* We need byte alignement. */ + /* We need byte alignment. */ if (bitsize % BITS_PER_UNIT) return false; diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 3e2189625a93..3e25d390ae09 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -5939,8 +5939,8 @@ function given basic block needs to have to be considered hot The maximum number of loop iterations we predict statically. This is useful in cases where function contain single loop with known bound and other loop with unknown. We predict the known number of iterations correctly, while -the unknown nummber of iterations average to roughly 10. This means that the -loop without bounds would appear artifically cold relative to the other one. +the unknown number of iterations average to roughly 10. This means that the +loop without bounds would appear artificially cold relative to the other one. @item tracer-dynamic-coverage @itemx tracer-dynamic-coverage-feedback diff --git a/gcc/params.def b/gcc/params.def index a68557bce091..af0fbdcb3c12 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -314,7 +314,7 @@ DEFPARAM(HOT_BB_FREQUENCY_FRACTION, are predicted to iterate relatively few (10) times at average. For functions containing one loop with large known number of iterations and other loops having unbounded loops we would end up predicting all - the other loops cold that is not usually the case. So we need to artifically + the other loops cold that is not usually the case. So we need to artificially flatten the profile. We need to cut the maximal predicted iterations to large enought iterations diff --git a/gcc/postreload-gcse.c b/gcc/postreload-gcse.c index ea9c0ef74360..191d7965eeb2 100644 --- a/gcc/postreload-gcse.c +++ b/gcc/postreload-gcse.c @@ -1095,7 +1095,7 @@ eliminate_partially_redundant_load (basic_block bb, rtx insn, } else { - /* Adding a load on a critical edge will cuase a split. */ + /* Adding a load on a critical edge will cause a split. */ if (EDGE_CRITICAL_P (pred)) critical_edge_split = true; not_ok_count += pred->count; diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h index e31db442a5d6..e1c19fc6dd46 100644 --- a/gcc/tree-flow-inline.h +++ b/gcc/tree-flow-inline.h @@ -1036,7 +1036,7 @@ op_iter_next_tree (ssa_op_iter *ptr) /* This functions clears the iterator PTR, and marks it done. This is normally - used to prevent warnings in the compile about might be uninitailzied + used to prevent warnings in the compile about might be uninitialized components. */ static inline void diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index 024762961236..c902ff980f69 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -156,7 +156,7 @@ static maydef_optype_p free_maydefs = NULL; static mustdef_optype_p free_mustdefs = NULL; -/* Return the DECL_UID of the base varaiable of T. */ +/* Return the DECL_UID of the base variable of T. */ static inline unsigned get_name_decl (tree t) diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c index bc0f11ee3c7b..d096788fd207 100644 --- a/gcc/tree-vectorizer.c +++ b/gcc/tree-vectorizer.c @@ -1879,7 +1879,7 @@ vect_is_simple_reduction (struct loop *loop, tree phi) /* CHECKME: check for !flag_finite_math_only too? */ if (SCALAR_FLOAT_TYPE_P (type) && !flag_unsafe_math_optimizations) { - /* Changing the order of operations changes the sematics. */ + /* Changing the order of operations changes the semantics. */ if (vect_print_dump_info (REPORT_DETAILS)) { fprintf (vect_dump, "reduction: unsafe fp math optimization: "); @@ -1889,7 +1889,7 @@ vect_is_simple_reduction (struct loop *loop, tree phi) } else if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type) && flag_trapv) { - /* Changing the order of operations changes the sematics. */ + /* Changing the order of operations changes the semantics. */ if (vect_print_dump_info (REPORT_DETAILS)) { fprintf (vect_dump, "reduction: unsafe int math optimization: "); diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index 7642ced28631..7269fb5029a6 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -904,7 +904,7 @@ extract_range_from_assert (value_range_t *vr_p, tree expr) anything dominated by 'if (i_5 < 5)' will be optimized away. Note, due to the wa in which simulation proceeds, the statement i_7 = ASSERT_EXPR <...> we would never be visited because the - conditiona 'if (i_5 < 5)' always evaluates to false. However, + conditional 'if (i_5 < 5)' always evaluates to false. However, this extra check does not hurt and may protect against future changes to VRP that may get into a situation similar to the NULL pointer dereference example. diff --git a/gcc/tree.c b/gcc/tree.c index 48375d7f32d1..ccd6cf538ccb 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -3584,7 +3584,7 @@ handle_dll_attribute (tree * pnode, tree name, tree args, int flags, any damage. */ if (is_attribute_p ("dllimport", name)) { - /* Honor any target-specific overides. */ + /* Honor any target-specific overrides. */ if (!targetm.valid_dllimport_attribute_p (node)) *no_add_attrs = true;