diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/cfglayout.c | 2 | ||||
-rw-r--r-- | gcc/cgraphunit.c | 2 | ||||
-rw-r--r-- | gcc/config/avr/avr.c | 2 | ||||
-rw-r--r-- | gcc/doc/cpp.texi | 2 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 4 | ||||
-rw-r--r-- | gcc/fold-const.c | 2 | ||||
-rw-r--r-- | gcc/haifa-sched.c | 2 | ||||
-rw-r--r-- | gcc/optabs.h | 4 | ||||
-rw-r--r-- | gcc/tree-affine.c | 2 | ||||
-rw-r--r-- | gcc/tree-data-ref.c | 4 | ||||
-rw-r--r-- | gcc/tree-predcom.c | 10 | ||||
-rw-r--r-- | gcc/tree-ssa-alias-warnings.c | 6 | ||||
-rw-r--r-- | gcc/tree-ssa-forwprop.c | 2 | ||||
-rw-r--r-- | gcc/tree-vect-analyze.c | 2 | ||||
-rw-r--r-- | gcc/tree-vrp.c | 2 |
16 files changed, 33 insertions, 24 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4967fc5a..3b03140 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c index 7e309c1..38e3d7b 100644 --- a/gcc/cfglayout.c +++ b/gcc/cfglayout.c @@ -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; diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 7a043d0..a81b3b2 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -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 diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 950777c..d5930fa 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -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); diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index 54941a9..a3cb74d 100644 --- a/gcc/doc/cpp.texi +++ b/gcc/doc/cpp.texi @@ -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. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 023cf72..f93aeb1 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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 diff --git a/gcc/fold-const.c b/gcc/fold-const.c index c4c6edc..a2cf43b 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -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)) { diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 3149fb0..5696db0 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -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)) diff --git a/gcc/optabs.h b/gcc/optabs.h index 7df2669..4fe7785 100644 --- a/gcc/optabs.h +++ b/gcc/optabs.h @@ -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, diff --git a/gcc/tree-affine.c b/gcc/tree-affine.c index 87f379c..a25d551 100644 --- a/gcc/tree-affine.c +++ b/gcc/tree-affine.c @@ -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. */ diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c index ce0b3fe..ef3353f 100644 --- a/gcc/tree-data-ref.c +++ b/gcc/tree-data-ref.c @@ -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))) { diff --git a/gcc/tree-predcom.c b/gcc/tree-predcom.c index 8745969..bae23ed 100644 --- a/gcc/tree-predcom.c +++ b/gcc/tree-predcom.c @@ -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. */ diff --git a/gcc/tree-ssa-alias-warnings.c b/gcc/tree-ssa-alias-warnings.c index 149731a..8bd5388 100644 --- a/gcc/tree-ssa-alias-warnings.c +++ b/gcc/tree-ssa-alias-warnings.c @@ -154,7 +154,7 @@ 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. */ diff --git a/gcc/tree-ssa-forwprop.c b/gcc/tree-ssa-forwprop.c index 95f1c00..143268e3 100644 --- a/gcc/tree-ssa-forwprop.c +++ b/gcc/tree-ssa-forwprop.c @@ -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 { diff --git a/gcc/tree-vect-analyze.c b/gcc/tree-vect-analyze.c index f928973..6636cfd 100644 --- a/gcc/tree-vect-analyze.c +++ b/gcc/tree-vect-analyze.c @@ -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, diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index dda5dd1..b5654f6 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -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 |