From: Jakub Jelinek Date: Wed, 20 Mar 2024 09:35:56 +0000 (+0100) Subject: tree-ssa-loop-ch: Fix comment typos X-Git-Tag: basepoints/gcc-15~571 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0ba773df160ab1552d76eb51248d0b4d4ca86fae;p=thirdparty%2Fgcc.git tree-ssa-loop-ch: Fix comment typos When looking at PR109596, I've noticed some comment typos. 2024-03-20 Jakub Jelinek * tree-ssa-loop-ch.cc (update_profile_after_ch): Fix comment typo: probabbility -> probability. (ch_base::copy_headers): Fix comment typo: itrations -> iterations. --- diff --git a/gcc/tree-ssa-loop-ch.cc b/gcc/tree-ssa-loop-ch.cc index 6c6e562d5a0a..1f0033be4c43 100644 --- a/gcc/tree-ssa-loop-ch.cc +++ b/gcc/tree-ssa-loop-ch.cc @@ -568,7 +568,7 @@ do_while_loop_p (class loop *loop) // region start loop_header: - if (cond1) <- we need to update probabbility here + if (cond1) <- we need to update probability here goto loop_exit; if (cond2) <- and determine scaling factor here. moreover cond2 is now always true @@ -1049,7 +1049,7 @@ ch_base::copy_headers (function *fun) fprintf (dump_file, "\n"); } - /* We possibly decreased number of itrations by 1. */ + /* We possibly decreased number of iterations by 1. */ auto_vec exits = get_loop_exit_edges (loop); bool precise = (nexits == (int) exits.length ()); /* Check that loop may not terminate in other way than via