]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cfglayout.c, [...]: Fix comment typos.
authorKazu Hirata <kazu@codesourcery.com>
Fri, 25 May 2007 22:58:16 +0000 (22:58 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 25 May 2007 22:58:16 +0000 (22:58 +0000)
* cfglayout.c, cgraphunit.c, config/avr/avr.c, fold-const.c,
haifa-sched.c, optabs.h, tree-affine.c, tree-data-ref.c,
tree-predcom.c, tree-ssa-alias-warnings.c,
tree-ssa-forwprop.c, tree-vect-analyze.c, tree-vrp.c: Fix
comment typos.  Follow spelling conventions.
* doc/cpp.texi, doc/invoke.texi: Fix typos.

From-SVN: r125080

16 files changed:
gcc/ChangeLog
gcc/cfglayout.c
gcc/cgraphunit.c
gcc/config/avr/avr.c
gcc/doc/cpp.texi
gcc/doc/invoke.texi
gcc/fold-const.c
gcc/haifa-sched.c
gcc/optabs.h
gcc/tree-affine.c
gcc/tree-data-ref.c
gcc/tree-predcom.c
gcc/tree-ssa-alias-warnings.c
gcc/tree-ssa-forwprop.c
gcc/tree-vect-analyze.c
gcc/tree-vrp.c

index 4967fc5a7935fa258f94aec051fbfcd612b8a3d5..3b03140a4483943dbc0e8032a8faf3a56a479cbb 100644 (file)
@@ -1,3 +1,12 @@
+2007-05-25  Kazu Hirata  <kazu@codesourcery.com>
+
+       * cfglayout.c, cgraphunit.c, config/avr/avr.c, fold-const.c,
+       haifa-sched.c, optabs.h, tree-affine.c, tree-data-ref.c,
+       tree-predcom.c, tree-ssa-alias-warnings.c,
+       tree-ssa-forwprop.c, tree-vect-analyze.c, tree-vrp.c: Fix
+       comment typos.  Follow spelling conventions.
+       * doc/cpp.texi, doc/invoke.texi: Fix typos.
+
 2007-05-26  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/32065
index 7e309c149e222989d2353ec2e5816687b65b1af0..38e3d7b1e18da506bfcea095904550dfbc69b6ca 100644 (file)
@@ -237,7 +237,7 @@ int prologue_locator;
 int epilogue_locator;
 
 /* Hold current location information and last location information, so the
-   datastructures are built lazilly only when some instructions in given
+   datastructures are built lazily only when some instructions in given
    place are needed.  */
 location_t curr_location, last_location;
 static tree curr_block, last_block;
index 7a043d0edea0a5fa1eaee7d9c3144c28ed9699f3..a81b3b29529e77e577b081870443367b2eb0ea3c 100644 (file)
@@ -172,7 +172,7 @@ static GTY (()) tree static_ctors;
 static GTY (()) tree static_dtors;
 
 /* When target does not have ctors and dtors, we call all constructor
-   and destructor by special initialization/destruction functio
+   and destructor by special initialization/destruction function
    recognized by collect2.  
    
    When we are going to build this function, collect all constructors and
index 950777c7c1582d0973dcb5ba187dcd63c0c127e4..d5930fac1b0b269cb6f9eb759a8994712b401f5d 100644 (file)
@@ -623,7 +623,7 @@ expand_prologue (void)
       char buffer[40];
       sprintf (buffer, "%s - %d", avr_init_stack, (int) size);
       rtx sym = gen_rtx_SYMBOL_REF (HImode, ggc_strdup (buffer));
-      /*  Initialise stack pointer using frame pointer.  */
+      /* Initialize stack pointer using frame pointer.  */
       insn = emit_move_insn (frame_pointer_rtx, sym);
       RTX_FRAME_RELATED_P (insn) = 1;
       insn = emit_move_insn (stack_pointer_rtx, frame_pointer_rtx);
index 54941a9f3c6deb61728550df98868d8cd4accbb6..a3cb74d66112e810372f166ea4ec2d7e8cdf5a7c 100644 (file)
@@ -1919,7 +1919,7 @@ underscores.
 
 @item __COUNTER__
 This macro expands to sequential integral values starting from 0.  In
-conjuction with the @code{##} operator, this provides a convenient means to
+conjunction with the @code{##} operator, this provides a convenient means to
 generate unique identifiers.  Care must be taken to ensure that
 @code{__COUNTER__} is not expanded prior to inclusion of precompiled headers
 which use it.  Otherwise, the precompiled headers will not be used.
index 023cf720fef6fcb0c39dbd81630ae084f94b53ed..f93aeb1697cb5e3e9980028fb07c11796313f845 100644 (file)
@@ -7727,8 +7727,8 @@ The @code{print-asm-header} function takes no arguments and simply
 prints a banner like:
 
 @smallexample
-Assember options
-================
+Assembler options
+=================
 
 Use "-Wa,OPTION" to pass "OPTION" to the assembler.
 @end smallexample
index c4c6edce9f77e6348893562fdd3d3f6e701f1c9c..a2cf43b060222800d60e4411bf5121e411d2df34 100644 (file)
@@ -888,7 +888,7 @@ div_if_zero_remainder (enum tree_code code, tree arg1, tree arg2)
 
   int1l = TREE_INT_CST_LOW (arg1);
   int1h = TREE_INT_CST_HIGH (arg1);
-  /* &obj[0] + -128 really should be compiled as &obj[-8] rahter than
+  /* &obj[0] + -128 really should be compiled as &obj[-8] rather than
      &obj[some_exotic_number].  */
   if (POINTER_TYPE_P (type))
     {
index 3149fb040b61bebd335f277035e257150e1c959d..5696db044390420f05eae04f04aa1ce4c108c8c9 100644 (file)
@@ -738,7 +738,7 @@ priority (rtx insn)
   if (! INSN_P (insn))
     return 0;
 
-  /* We should not be insterested in priority of an already scheduled insn.  */
+  /* We should not be interested in priority of an already scheduled insn.  */
   gcc_assert (QUEUE_INDEX (insn) != QUEUE_SCHEDULED);
 
   if (!INSN_PRIORITY_KNOWN (insn))
index 7df2669e2ae1cf401e691dd82ac05539bc846b16..4fe778565b64264056729c0379d8cfa5ea9168eb 100644 (file)
@@ -89,13 +89,13 @@ enum optab_index
   /* Signed multiply and add with the result and addend one machine mode
      wider than the multiplicand and multiplier.  */
   OTI_smadd_widen,
-  /* Unigned multiply and add with the result and addend one machine mode
+  /* Unsigned multiply and add with the result and addend one machine mode
      wider than the multiplicand and multiplier.  */
   OTI_umadd_widen,
   /* Signed multiply and subtract the result and minuend one machine mode
      wider than the multiplicand and multiplier.  */
   OTI_smsub_widen,
-  /* Unigned multiply and subtract the result and minuend one machine mode
+  /* Unsigned multiply and subtract the result and minuend one machine mode
      wider than the multiplicand and multiplier.  */
   OTI_umsub_widen,
 
index 87f379c8003bc407c271e789023cbbc6f81ec342..a25d55111694d1222ff67bc65c1277f94698b366 100644 (file)
@@ -637,7 +637,7 @@ free_affine_expand_cache (struct pointer_map_t **cache)
 /* If VAL != CST * DIV for any constant CST, returns false.
    Otherwise, if VAL != 0 (and hence CST != 0), and *MULT_SET is true,
    additionally compares CST and MULT, and if they are different,
-   returns false.  Finally, if neither of these two cases occcur,
+   returns false.  Finally, if neither of these two cases occur,
    true is returned, and if CST != 0, CST is stored to MULT and
    MULT_SET is set to true.  */
 
index ce0b3fe52f9e987c56e25c58adbc3594d430bd30..ef3353fccb1de3db423fcaa94d9390158aa7bcc9 100644 (file)
@@ -660,7 +660,7 @@ dr_analyze_innermost (struct data_reference *dr)
 }
 
 /* Determines the base object and the list of indices of memory reference
-   DR, analysed in loop nest NEST.  */
+   DR, analyzed in loop nest NEST.  */
 
 static void
 dr_analyze_indices (struct data_reference *dr, struct loop *nest)
@@ -1225,7 +1225,7 @@ initialize_data_dependence_relation (struct data_reference *a,
 
   /* If the base of the object is not invariant in the loop nest, we cannot
      analyse it.  TODO -- in fact, it would suffice to record that there may
-     be arbitrary depencences in the loops where the base object varies.  */
+     be arbitrary dependences in the loops where the base object varies.  */
   if (!object_address_invariant_in_loop_p (VEC_index (loop_p, loop_nest, 0),
                                           DR_BASE_OBJECT (a)))
     {
index 87459695413c59d8b1016fa6e212d7f9f310a079..bae23ed527280e8eca0405352f36ecdf91c2c7ab 100644 (file)
@@ -793,7 +793,7 @@ end:
 }
 
 /* Returns true if the component COMP satisfies the conditions
-   described in 2) at the begining of this file.  LOOP is the current
+   described in 2) at the beginning of this file.  LOOP is the current
    loop.  */
       
 static bool
@@ -850,7 +850,7 @@ suitable_component_p (struct loop *loop, struct component *comp)
 /* Check the conditions on references inside each of components COMPS,
    and remove the unsuitable components from the list.  The new list
    of components is returned.  The conditions are described in 2) at
-   the begining of this file.  LOOP is the current loop.  */
+   the beginning of this file.  LOOP is the current loop.  */
 
 static struct component *
 filter_suitable_components (struct loop *loop, struct component *comps)
@@ -1752,7 +1752,7 @@ execute_pred_commoning (struct loop *loop, VEC (chain_p, heap) *chains,
   update_ssa (TODO_update_ssa_only_virtuals);
 }
 
-/* For each reference in CHAINS, if its definining statement is
+/* For each reference in CHAINS, if its defining statement is
    ssa name, set it to phi node that defines it.  */
 
 static void
@@ -1771,7 +1771,7 @@ replace_phis_by_defined_names (VEC (chain_p, heap) *chains)
       }
 }
 
-/* For each reference in CHAINS, if its definining statement is
+/* For each reference in CHAINS, if its defining statement is
    phi node, set it to the ssa name that is defined by it.  */
 
 static void
@@ -2018,7 +2018,7 @@ find_associative_operation_root (tree stmt, unsigned *distance)
 
 /* Returns the common statement in that NAME1 and NAME2 have a use.  If there
    is no such statement, returns NULL_TREE.  In case the operation used on
-   NAME1 and NAME2 is associative and comutative, returns the root of the
+   NAME1 and NAME2 is associative and commutative, returns the root of the
    tree formed by this operation instead of the statement that uses NAME1 or
    NAME2.  */
 
index 149731a19c54e8d5cdc7321a76f35dcc7f9b0074..8bd5388fe885cbed577d596ea67d591148e39e0a 100644 (file)
       associate different tags with MEM while building points-to information,
       thus before we get to analyze it.
       XXX: this could be solved by either running with -fno-strict-aliasing
-      or by recording the points-to information before splitting the orignal
+      or by recording the points-to information before splitting the original
       tag based on type.
 
    Example 3.
@@ -316,7 +316,7 @@ struct match_info
   tree object;
   bool is_ptr;
   /* The difference between the number of references to OBJECT
-     and the number of occurences of &OBJECT.  */
+     and the number of occurrences of &OBJECT.  */
   int found;
 };
 
@@ -565,7 +565,7 @@ find_references_in_function (void)
 
 
 /* Find the reference site for OBJECT.
-   If IS_PTR is true, look for derferences of OBJECT instead.
+   If IS_PTR is true, look for dereferences of OBJECT instead.
    XXX: only the first site is returned in the current
    implementation.  If there are no matching sites, return NULL_TREE.  */
 
index 95f1c003c25b526aaab5df06a9e5be7e734f9113..143268e3b9f181b063f0fcb4d948b8a0f0ac2ce4 100644 (file)
@@ -1165,7 +1165,7 @@ phiprop_insert_phi (basic_block bb, tree phi, tree use_stmt,
        }
 
       if (TREE_CODE (old_arg) == SSA_NAME)
-       /* Reuse a formely created dereference.  */
+       /* Reuse a formerly created dereference.  */
        new_var = phivn[SSA_NAME_VERSION (old_arg)].value;
       else
        {
index f928973a408331b41d95f8d21be2865f342d7c09..6636cfd2758830ba212b712c2802771ab8f34aea 100644 (file)
@@ -2210,7 +2210,7 @@ vect_stmt_relevant_p (tree stmt, loop_vec_info loop_vinfo,
    - case 2: If STMT is a reduction phi and DEF_STMT is a reduction stmt, we 
    skip DEF_STMT cause it had already been processed.  
 
-   Return true if everyting is as expected. Return false otherwise.  */
+   Return true if everything is as expected. Return false otherwise.  */
 
 static bool
 process_use (tree stmt, tree use, loop_vec_info loop_vinfo, bool live_p, 
index dda5dd18cb06afaec84b619693e614c6cc431292..b5654f69eac4782b8ae9f86d2f4903c4364f5ec2 100644 (file)
@@ -4627,7 +4627,7 @@ vrp_visit_assignment (tree stmt, tree *output_p)
 }
 
 /* Helper that gets the value range of the SSA_NAME with version I
-   or a symbolic range contaning the SSA_NAME only if the value range
+   or a symbolic range containing the SSA_NAME only if the value range
    is varying or undefined.  */
 
 static inline value_range_t