From 9c3da8cc5d01dcccfd98cda20753081414f12877 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 25 Feb 2020 22:10:48 +0100 Subject: typo fix: Fix probablity, becuse, sucessor and destinarion typos [PR93912] 2020-02-25 Jakub Jelinek 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. --- gcc/c/ChangeLog | 6 ++++++ gcc/c/gimple-parser.c | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'gcc/c') diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index e88337b..83bf651 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,9 @@ +2020-02-25 Jakub Jelinek + + PR other/93912 + * gimple-parser.c (c_parser_gimple_parse_bb_spec_edge_probability): + Rename last argument from probablity to probability. + 2020-02-13 Jakub Jelinek PR c/93576 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 %<)%>")) -- cgit v1.1