Hi! Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk as obvious.
2020-02-18 Jakub Jelinek <ja...@redhat.com> PR driver/93796 * params.opt (-param=ipa-max-switch-predicate-bounds=): Fix help typo, functoin -> function. * tree.c (free_lang_data_in_decl): Fix comment typo, functoin -> function. * ipa-visibility.c (cgraph_externally_visible_p): Likewise. --- gcc/params.opt.jj 2020-01-17 23:34:48.325980708 +0100 +++ gcc/params.opt 2020-02-18 00:47:41.041749841 +0100 @@ -236,7 +236,7 @@ Maximum number of operations in a parame -param=ipa-max-switch-predicate-bounds= Common Joined UInteger Var(param_ipa_max_switch_predicate_bounds) Init(5) Param Optimization -Maximal number of boundary endpoints of case ranges of switch statement used during IPA functoin summary generation. +Maximal number of boundary endpoints of case ranges of switch statement used during IPA function summary generation. -param=ipa-sra-max-replacements= Common Joined UInteger Var(param_ipa_sra_max_replacements) Optimization Init(8) IntegerRange(0, 16) Param --- gcc/tree.c.jj 2020-01-27 22:40:57.044420315 +0100 +++ gcc/tree.c 2020-02-18 00:47:56.004531197 +0100 @@ -5803,7 +5803,7 @@ free_lang_data_in_decl (tree decl, class } else if (VAR_P (decl)) { - /* See comment above why we set the flag for functoins. */ + /* See comment above why we set the flag for functions. */ if (TREE_PUBLIC (decl)) TREE_ADDRESSABLE (decl) = true; if ((DECL_EXTERNAL (decl) --- gcc/ipa-visibility.c.jj 2020-01-14 20:02:46.203618522 +0100 +++ gcc/ipa-visibility.c 2020-02-18 00:47:23.504006116 +0100 @@ -230,7 +230,7 @@ cgraph_externally_visible_p (struct cgra if (node->resolution == LDPR_PREVAILING_DEF_IRONLY) return false; - /* When doing LTO or whole program, we can bring COMDAT functoins static. + /* When doing LTO or whole program, we can bring COMDAT functions static. This improves code quality and we know we will duplicate them at most twice (in the case that we are not using plugin and link with object file implementing same COMDAT) */ Jakub