aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/gimple-parser.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2020-02-25 22:10:48 +0100
committerJakub Jelinek <jakub@redhat.com>2020-02-25 22:10:48 +0100
commit9c3da8cc5d01dcccfd98cda20753081414f12877 (patch)
tree5af30e712860d104c3f805afc1a358d3617d68df /gcc/c/gimple-parser.c
parent68f8763d57ab6e90f9d78ec0b0e6b71241676a5c (diff)
downloadgcc-9c3da8cc5d01dcccfd98cda20753081414f12877.zip
gcc-9c3da8cc5d01dcccfd98cda20753081414f12877.tar.gz
gcc-9c3da8cc5d01dcccfd98cda20753081414f12877.tar.bz2
typo fix: Fix probablity, becuse, sucessor and destinarion typos [PR93912]
2020-02-25 Jakub Jelinek <jakub@redhat.com> PR other/93912 * config/sh/sh.c (expand_cbranchdi4): Fix comment typo, probablity -> probability. * cfghooks.c (verify_flow_info): Likewise. * predict.c (combine_predictions_for_bb): Likewise. * bb-reorder.c (connect_better_edge_p): Likewise. Fix comment typo, sucessor -> successor. (find_traces_1_round): Fix comment typo, destinarion -> destination. * omp-expand.c (expand_oacc_for): Fix comment typo, sucessors -> successors. * tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Fix dump message typo, sucessors -> successors. c/ * gimple-parser.c (c_parser_gimple_parse_bb_spec_edge_probability): Rename last argument from probablity to probability.
Diffstat (limited to 'gcc/c/gimple-parser.c')
-rw-r--r--gcc/c/gimple-parser.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/c/gimple-parser.c b/gcc/c/gimple-parser.c
index 3370178..4e8ff5b 100644
--- a/gcc/c/gimple-parser.c
+++ b/gcc/c/gimple-parser.c
@@ -149,12 +149,13 @@ static bool
c_parser_gimple_parse_bb_spec_edge_probability (tree val,
gimple_parser &parser,
int *index,
- profile_probability *probablity)
+ profile_probability
+ *probability)
{
bool return_p = c_parser_gimple_parse_bb_spec (val, index);
if (return_p)
{
- *probablity = profile_probability::uninitialized ();
+ *probability = profile_probability::uninitialized ();
/* Parse frequency if provided. */
if (c_parser_next_token_is (parser, CPP_OPEN_PAREN))
{
@@ -188,7 +189,7 @@ c_parser_gimple_parse_bb_spec_edge_probability (tree val,
}
unsigned int value = TREE_INT_CST_LOW (f);
- *probablity = profile_probability (value, quality);
+ *probability = profile_probability (value, quality);
c_parser_consume_token (parser);
if (!c_parser_require (parser, CPP_CLOSE_PAREN, "expected %<)%>"))