From 1f838355766df4673e245f7bc17479919effa8ff Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 13 Nov 2004 21:11:04 +0000 Subject: [PATCH] c-cppbuiltin.c, [...]: Fix comment typos. * c-cppbuiltin.c, cgraph.c, domwalk.h, except.c, gimplify.c, lambda-code.c, postreload.c, predict.c, tree-sra.c, tree-ssa-loop-manip.c, tree.c: Fix comment typos. From-SVN: r90596 --- gcc/ChangeLog | 4 ++++ gcc/c-cppbuiltin.c | 2 +- gcc/cgraph.c | 2 +- gcc/domwalk.h | 2 +- gcc/except.c | 2 +- gcc/gimplify.c | 2 +- gcc/lambda-code.c | 2 +- gcc/postreload.c | 2 +- gcc/predict.c | 2 +- gcc/tree-sra.c | 2 +- gcc/tree-ssa-loop-manip.c | 2 +- gcc/tree.c | 2 +- 12 files changed, 15 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 481d95261f3..ef8f5357e35 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -3,6 +3,10 @@ * bitmap.c, bitmap.h, expmed.c, tree-cfg.c: Fix comment formatting. + * c-cppbuiltin.c, cgraph.c, domwalk.h, except.c, gimplify.c, + lambda-code.c, postreload.c, predict.c, tree-sra.c, + tree-ssa-loop-manip.c, tree.c: Fix comment typos. + 2004-11-13 Kelley Cook * doc/install.texi (automake): Correctly document that everything now diff --git a/gcc/c-cppbuiltin.c b/gcc/c-cppbuiltin.c index a970df5d538..cedf9e7a46e 100644 --- a/gcc/c-cppbuiltin.c +++ b/gcc/c-cppbuiltin.c @@ -347,7 +347,7 @@ c_cpp_builtins (cpp_reader *pfile) different from system to system. */ builtin_define_with_int_value ("__GXX_ABI_VERSION", 999999); else if (flag_abi_version == 1) - /* Due to an historical accident, this version had the value + /* Due to a historical accident, this version had the value "102". */ builtin_define_with_int_value ("__GXX_ABI_VERSION", 102); else diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 0908b6a02eb..8a570b394a1 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -44,7 +44,7 @@ The callgraph: The callgraph at the moment does not represent indirect calls or calls from other compilation unit. Flag NEEDED is set for each node that may - be accessed in such a invisible way and it shall be considered an + be accessed in such an invisible way and it shall be considered an entry point to the callgraph. Intraprocedural information: diff --git a/gcc/domwalk.h b/gcc/domwalk.h index b8f31f57eac..fbf549bbd98 100644 --- a/gcc/domwalk.h +++ b/gcc/domwalk.h @@ -55,7 +55,7 @@ struct dom_walk_data /* Function to call before the statement walk occurring before the recursive walk of the dominator children. - This typically initializes an block local data and pushes that + This typically initializes a block local data and pushes that data onto BLOCK_DATA_STACK. */ void (*before_dom_children_before_stmts) (struct dom_walk_data *, basic_block); diff --git a/gcc/except.c b/gcc/except.c index 71fc01153a6..c399eb11f7d 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -1304,7 +1304,7 @@ emit_to_new_bb_before (rtx seq, rtx insn) edge e; edge_iterator ei; - /* If there happens to be an fallthru edge (possibly created by cleanup_cfg + /* If there happens to be a fallthru edge (possibly created by cleanup_cfg call), we don't want it to go into newly created landing pad or other EH construct. */ for (ei = ei_start (BLOCK_FOR_INSN (insn)->preds); (e = ei_safe_edge (ei)); ) diff --git a/gcc/gimplify.c b/gcc/gimplify.c index 3d8ecdfd98e..669ec9f127d 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -724,7 +724,7 @@ unshare_expr (tree expr) return expr; } -/* A terser interface for building a representation of a exception +/* A terser interface for building a representation of an exception specification. */ tree diff --git a/gcc/lambda-code.c b/gcc/lambda-code.c index 0d066b936df..08f963e534b 100644 --- a/gcc/lambda-code.c +++ b/gcc/lambda-code.c @@ -53,7 +53,7 @@ A loop iteration space represents the points traversed by the loop. A point in the iteration space can be represented by a vector of size . You can - therefore represent the iteration space as a integral combinations of a set + therefore represent the iteration space as an integral combinations of a set of basis vectors. A loop iteration space is dense if every integer point between the loop diff --git a/gcc/postreload.c b/gcc/postreload.c index 2ff95b1a4a7..14dc7126883 100644 --- a/gcc/postreload.c +++ b/gcc/postreload.c @@ -427,7 +427,7 @@ reload_cse_simplify_operands (rtx insn, rtx testreg) extension. Punt on this for now. */ if (! set) continue; - /* If the destination is a also MEM or a STRICT_LOW_PART, no + /* If the destination is also a MEM or a STRICT_LOW_PART, no extension applies. Also, if there is an explicit extension, we don't have to worry about an implicit one. */ diff --git a/gcc/predict.c b/gcc/predict.c index 7be6b90fc3b..944a5565f22 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -919,7 +919,7 @@ expr_expected_value (tree expr, bitmap visited) /* If this PHI has itself as an argument, we cannot determine the string length of this argument. However, - if we can find a expected constant value for the other + if we can find an expected constant value for the other PHI args then we can still be sure that this is likely a constant. So be optimistic and just continue with the next argument. */ diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index 561585babaa..91314a5c83d 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -620,7 +620,7 @@ struct sra_walk_fns }; #ifdef ENABLE_CHECKING -/* Invoked via walk_tree, if *TP contains an candidate decl, return it. */ +/* Invoked via walk_tree, if *TP contains a candidate decl, return it. */ static tree sra_find_candidate_decl (tree *tp, int *walk_subtrees, diff --git a/gcc/tree-ssa-loop-manip.c b/gcc/tree-ssa-loop-manip.c index 99e1031ca8b..22324949e9b 100644 --- a/gcc/tree-ssa-loop-manip.c +++ b/gcc/tree-ssa-loop-manip.c @@ -681,7 +681,7 @@ lv_adjust_loop_header_phi (basic_block first, basic_block second, /* Adjust entry edge for lv. - e is a incoming edge. + e is an incoming edge. --- edge e ---- > [second_head] diff --git a/gcc/tree.c b/gcc/tree.c index 8774107e3d5..a05dab73f73 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -4054,7 +4054,7 @@ associative_tree_code (enum tree_code code) return false; } -/* Return true if CODE represents an commutative tree code. Otherwise +/* Return true if CODE represents a commutative tree code. Otherwise return false. */ bool commutative_tree_code (enum tree_code code) -- 2.30.2