Commit c0d18c6c by Mike Stump

Fix typos.

From-SVN: r201108
parent 9b110be2
...@@ -4383,7 +4383,7 @@ cleanup_all_empty_eh (void) ...@@ -4383,7 +4383,7 @@ cleanup_all_empty_eh (void)
2) MUST_NOT_THROW regions that became dead because of 1) are optimized out 2) MUST_NOT_THROW regions that became dead because of 1) are optimized out
3) Info about regions that are containing instructions, and regions 3) Info about regions that are containing instructions, and regions
reachable via local EH edges is collected reachable via local EH edges is collected
4) Eh tree is pruned for regions no longer neccesary. 4) Eh tree is pruned for regions no longer necessary.
TODO: Push MUST_NOT_THROW regions to the root of the EH tree. TODO: Push MUST_NOT_THROW regions to the root of the EH tree.
Unify those that have the same failure decl and locus. Unify those that have the same failure decl and locus.
......
...@@ -1110,7 +1110,7 @@ forward_edge_to_pdom (edge e, basic_block post_dom_bb) ...@@ -1110,7 +1110,7 @@ forward_edge_to_pdom (edge e, basic_block post_dom_bb)
e2 = redirect_edge_and_branch (e, post_dom_bb); e2 = redirect_edge_and_branch (e, post_dom_bb);
cfg_altered = true; cfg_altered = true;
/* If edge was already around, no updating is neccesary. */ /* If edge was already around, no updating is necessary. */
if (e2 != e) if (e2 != e)
return e2; return e2;
......
...@@ -376,7 +376,7 @@ tree_estimate_loop_size (struct loop *loop, edge exit, edge edge_to_cancel, stru ...@@ -376,7 +376,7 @@ tree_estimate_loop_size (struct loop *loop, edge exit, edge edge_to_cancel, stru
is dead and that some instructions will be eliminated after is dead and that some instructions will be eliminated after
peeling. peeling.
Loop body is likely going to simplify futher, this is difficult Loop body is likely going to simplify further, this is difficult
to guess, we just decrease the result by 1/3. */ to guess, we just decrease the result by 1/3. */
static unsigned HOST_WIDE_INT static unsigned HOST_WIDE_INT
...@@ -782,7 +782,7 @@ try_unroll_loop_completely (struct loop *loop, ...@@ -782,7 +782,7 @@ try_unroll_loop_completely (struct loop *loop,
storing or cumulating the return value. */ storing or cumulating the return value. */
else if (size.num_pure_calls_on_hot_path else if (size.num_pure_calls_on_hot_path
/* One IV increment, one test, one ivtmp store /* One IV increment, one test, one ivtmp store
and one usefull stmt. That is about minimal loop and one useful stmt. That is about minimal loop
doing pure call. */ doing pure call. */
&& (size.non_call_stmts_on_hot_path && (size.non_call_stmts_on_hot_path
<= 3 + size.num_pure_calls_on_hot_path)) <= 3 + size.num_pure_calls_on_hot_path))
......
...@@ -1386,7 +1386,7 @@ undistribute_ops_list (enum tree_code opcode, ...@@ -1386,7 +1386,7 @@ undistribute_ops_list (enum tree_code opcode,
} }
} }
/* Process the (operand, code) pairs in order of most occurence. */ /* Process the (operand, code) pairs in order of most occurrence. */
candidates2 = sbitmap_alloc (length); candidates2 = sbitmap_alloc (length);
while (!cvec.is_empty ()) while (!cvec.is_empty ())
{ {
......
...@@ -4457,7 +4457,7 @@ find_func_aliases_for_builtin_call (gimple t) ...@@ -4457,7 +4457,7 @@ find_func_aliases_for_builtin_call (gimple t)
} }
/* printf-style functions may have hooks to set pointers to /* printf-style functions may have hooks to set pointers to
point to somewhere into the generated string. Leave them point to somewhere into the generated string. Leave them
for a later excercise... */ for a later exercise... */
default: default:
/* Fallthru to general call handling. */; /* Fallthru to general call handling. */;
} }
...@@ -5015,7 +5015,7 @@ find_func_clobbers (gimple origt) ...@@ -5015,7 +5015,7 @@ find_func_clobbers (gimple origt)
return; return;
/* printf-style functions may have hooks to set pointers to /* printf-style functions may have hooks to set pointers to
point to somewhere into the generated string. Leave them point to somewhere into the generated string. Leave them
for a later excercise... */ for a later exercise... */
default: default:
/* Fallthru to general call handling. */; /* Fallthru to general call handling. */;
} }
......
...@@ -1615,7 +1615,7 @@ tail_merge_optimize (unsigned int todo) ...@@ -1615,7 +1615,7 @@ tail_merge_optimize (unsigned int todo)
|| max_iterations == 0 || max_iterations == 0
/* We try to be conservative with respect to loop structure, since: /* We try to be conservative with respect to loop structure, since:
- the cases where tail-merging could both affect loop structure and be - the cases where tail-merging could both affect loop structure and be
benificial are rare, beneficial are rare,
- it prevents us from having to fixup the loops using - it prevents us from having to fixup the loops using
loops_state_set (LOOPS_NEED_FIXUP), and loops_state_set (LOOPS_NEED_FIXUP), and
- keeping loop structure may allow us to simplify the pass. - keeping loop structure may allow us to simplify the pass.
......
...@@ -585,7 +585,7 @@ cond_arg_set_in_bb (edge e, basic_block bb) ...@@ -585,7 +585,7 @@ cond_arg_set_in_bb (edge e, basic_block bb)
gimple last = last_stmt (e->dest); gimple last = last_stmt (e->dest);
/* E->dest does not have to end with a control transferring /* E->dest does not have to end with a control transferring
instruction. This can occurr when we try to extend a jump instruction. This can occur when we try to extend a jump
threading opportunity deeper into the CFG. In that case threading opportunity deeper into the CFG. In that case
it is safe for this check to return false. */ it is safe for this check to return false. */
if (!last) if (!last)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment