Typo fixes - functoin -> function [PR93796]
authorJakub Jelinek <jakub@redhat.com>
Tue, 18 Feb 2020 07:54:52 +0000 (08:54 +0100)
committerJakub Jelinek <jakub@redhat.com>
Tue, 18 Feb 2020 07:54:52 +0000 (08:54 +0100)
2020-02-18  Jakub Jelinek  <jakub@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/ChangeLog
gcc/ipa-visibility.c
gcc/params.opt
gcc/tree.c

index 9f8ad15..e8eaf7e 100644 (file)
@@ -1,3 +1,12 @@
+2020-02-18  Jakub Jelinek  <jakub@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.
+
 2020-02-17  David Malcolm  <dmalcolm@redhat.com>
 
        * 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 <oliva@adacore.com>
+2020-02-17  Alexandre Oliva  <oliva@adacore.com>
 
        * tree-emutls.c (new_emutls_decl, emutls_common_1): Complete
        handling of register_common-less targets.
index a384537..7c854f4 100644 (file)
@@ -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)  */
index 8e4217d..ea0c2bf 100644 (file)
@@ -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
index 298499f..66d52c7 100644 (file)
@@ -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)