This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] gcc/*: Fix comment typos.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 30 Jun 2006 12:29:56 -0700
- Subject: [patch] gcc/*: Fix comment typos.
Hi,
Committed as obvious.
Kazu Hirata
2006-06-30 Kazu Hirata <kazu@codesourcery.com>
* cfgexpand.c, config/i386/i386.c, genpreds.c, tree-cfg.c: Fix
comment typos.
Index: cfgexpand.c
===================================================================
--- cfgexpand.c (revision 115097)
+++ cfgexpand.c (working copy)
@@ -1626,7 +1626,7 @@ tree_expand_cfg (void)
init_block = construct_init_block ();
/* Clear EDGE_EXECUTABLE on the entry edge(s). It is cleaned from the
- remainining edges in expand_gimple_basic_block. */
+ remaining edges in expand_gimple_basic_block. */
FOR_EACH_EDGE (e, ei, ENTRY_BLOCK_PTR->succs)
e->flags &= ~EDGE_EXECUTABLE;
Index: config/i386/i386.c
===================================================================
--- config/i386/i386.c (revision 115097)
+++ config/i386/i386.c (working copy)
@@ -68,7 +68,7 @@ Boston, MA 02110-1301, USA. */
#define COSTS_N_BYTES(N) ((N) * 2)
static const
-struct processor_costs size_cost = { /* costs for tunning for size */
+struct processor_costs size_cost = { /* costs for tuning for size */
COSTS_N_BYTES (2), /* cost of an add instruction */
COSTS_N_BYTES (3), /* cost of a lea instruction */
COSTS_N_BYTES (2), /* variable shift costs */
Index: genpreds.c
===================================================================
--- genpreds.c (revision 115097)
+++ genpreds.c (working copy)
@@ -373,7 +373,7 @@ add_mode_tests (struct pred_data *p)
case AND:
/* The switch code generation in write_predicate_stmts prefers
rtx code tests to be at the top of the expression tree. So
- push this AND down into the second operand of an exisiting
+ push this AND down into the second operand of an existing
AND expression. */
if (generate_switch_p (XEXP (subexp, 0)))
pos = &XEXP (subexp, 1);
@@ -563,7 +563,7 @@ write_match_code_switch (rtx exp)
}
}
-/* Given a predictate expression EXP, write out a sequence of stmts
+/* Given a predicate expression EXP, write out a sequence of stmts
to evaluate it. This is similar to write_predicate_expr but can
generate efficient switch statements. */
Index: tree-cfg.c
===================================================================
--- tree-cfg.c (revision 115097)
+++ tree-cfg.c (working copy)
@@ -3121,7 +3121,7 @@ reinstall_phi_args (edge new_edge, edge
PENDING_STMT (old_edge) = NULL;
}
-/* Returns the basic block after that the new basic block created
+/* Returns the basic block after which the new basic block created
by splitting edge EDGE_IN should be placed. Tries to keep the new block
near its "logical" location. This is of most help to humans looking
at debugging dumps. */