From: Jakub Jelinek Date: Tue, 18 Feb 2020 07:54:52 +0000 (+0100) Subject: Typo fixes - functoin -> function [PR93796] X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8def1d525c52f0f7fccd90f3c4624a8fe6c42882;p=gcc.git Typo fixes - functoin -> function [PR93796] 2020-02-18 Jakub Jelinek 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. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9f8ad15a29c..e8eaf7efd12 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2020-02-18 Jakub Jelinek + + 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. + 2020-02-17 David Malcolm * diagnostic.c (print_any_cwe): Don't call get_cwe_url if URLs @@ -5,7 +14,7 @@ (print_option_information): Don't call get_option_url if URLs won't be printed. -2020-02-17 Alexandre Oliva +2020-02-17 Alexandre Oliva * tree-emutls.c (new_emutls_decl, emutls_common_1): Complete handling of register_common-less targets. diff --git a/gcc/ipa-visibility.c b/gcc/ipa-visibility.c index a3845372d7e..7c854f471e8 100644 --- a/gcc/ipa-visibility.c +++ b/gcc/ipa-visibility.c @@ -230,7 +230,7 @@ cgraph_externally_visible_p (struct cgraph_node *node, 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) */ diff --git a/gcc/params.opt b/gcc/params.opt index 8e4217dbb84..ea0c2bfc52b 100644 --- a/gcc/params.opt +++ b/gcc/params.opt @@ -236,7 +236,7 @@ Maximum number of operations in a parameter expression that can be handled by IP -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 diff --git a/gcc/tree.c b/gcc/tree.c index 298499fe876..66d52c71c99 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -5803,7 +5803,7 @@ free_lang_data_in_decl (tree decl, class free_lang_data_d *fld) } 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)