]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 9f8ad15a29c8b3c24170b86700833cf41bcb4b09..e8eaf7efd12fc10fa9f3260eb31eb21ec7a0d89a 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 a3845372d7ea020c8940ddcc34c569a753c7b9c9..7c854f471e81fc571dcc7ea87e705d283bac5379 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 8e4217dbb84c462fea56219670df7efd78d5de19..ea0c2bfc52bd7b9abff5090ed8dd1790aa087712 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 298499fe87692f6da9c84e969cd5e860d0638460..66d52c71c996e6db2b2de8c72bfba74d5837f5eb 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)