Commit 8def1d52 by Jakub Jelinek

Typo fixes - functoin -> function [PR93796]

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.
parent abb48524
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> 2020-02-17 David Malcolm <dmalcolm@redhat.com>
* diagnostic.c (print_any_cwe): Don't call get_cwe_url if URLs * diagnostic.c (print_any_cwe): Don't call get_cwe_url if URLs
...@@ -5,7 +14,7 @@ ...@@ -5,7 +14,7 @@
(print_option_information): Don't call get_option_url if URLs (print_option_information): Don't call get_option_url if URLs
won't be printed. 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 * tree-emutls.c (new_emutls_decl, emutls_common_1): Complete
handling of register_common-less targets. handling of register_common-less targets.
......
...@@ -230,7 +230,7 @@ cgraph_externally_visible_p (struct cgraph_node *node, ...@@ -230,7 +230,7 @@ cgraph_externally_visible_p (struct cgraph_node *node,
if (node->resolution == LDPR_PREVAILING_DEF_IRONLY) if (node->resolution == LDPR_PREVAILING_DEF_IRONLY)
return false; 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 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 (in the case that we are not using plugin and link with object file
implementing same COMDAT) */ implementing same COMDAT) */
......
...@@ -236,7 +236,7 @@ Maximum number of operations in a parameter expression that can be handled by IP ...@@ -236,7 +236,7 @@ Maximum number of operations in a parameter expression that can be handled by IP
-param=ipa-max-switch-predicate-bounds= -param=ipa-max-switch-predicate-bounds=
Common Joined UInteger Var(param_ipa_max_switch_predicate_bounds) Init(5) Param Optimization 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= -param=ipa-sra-max-replacements=
Common Joined UInteger Var(param_ipa_sra_max_replacements) Optimization Init(8) IntegerRange(0, 16) Param Common Joined UInteger Var(param_ipa_sra_max_replacements) Optimization Init(8) IntegerRange(0, 16) Param
......
...@@ -5803,7 +5803,7 @@ free_lang_data_in_decl (tree decl, class free_lang_data_d *fld) ...@@ -5803,7 +5803,7 @@ free_lang_data_in_decl (tree decl, class free_lang_data_d *fld)
} }
else if (VAR_P (decl)) 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)) if (TREE_PUBLIC (decl))
TREE_ADDRESSABLE (decl) = true; TREE_ADDRESSABLE (decl) = true;
if ((DECL_EXTERNAL (decl) if ((DECL_EXTERNAL (decl)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment