aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2020-09-22 10:45:06 +0200
committerJakub Jelinek <jakub@redhat.com>2020-09-22 10:45:06 +0200
commit46a274154786678e037fdce5dacd0305cddba0f9 (patch)
tree543941019db85a32b280b314c50a657bbdb08085 /gcc
parent466b907fad91075c1ac80acedd3314b190d52cc6 (diff)
downloadgcc-46a274154786678e037fdce5dacd0305cddba0f9.zip
gcc-46a274154786678e037fdce5dacd0305cddba0f9.tar.gz
gcc-46a274154786678e037fdce5dacd0305cddba0f9.tar.bz2
Fix some typos
2020-09-22 Jakub Jelinek <jakub@redhat.com> gcc/ * params.opt (--param=modref-max-tests=): Fix typo in help text: perofmed -> performed. * common.opt: Fix typo: incrmeental -> incremental. * ipa-modref.c: Fix typos: recroding -> recording, becaue -> because, analsis -> analysis. (class modref_summaries): Fix typo: betweehn -> between. (analyze_call): Fix typo: calle -> callee. (read_modref_records): Fix typo: expcted -> expected. (pass_ipa_modref::execute): Fix typo: calle -> callee. gcc/c-family/ * c.opt (Wbuiltin-declaration-mismatch): Fix typo in variable name: warn_builtin_declaraion_mismatch -> warn_builtin_declaration_mismatch.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-family/c.opt2
-rw-r--r--gcc/common.opt2
-rw-r--r--gcc/ipa-modref.c14
-rw-r--r--gcc/params.opt2
4 files changed, 10 insertions, 10 deletions
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index da6c3e1..7761eef 100644
--- a/gcc/c-family/c.opt
+++ b/gcc/c-family/c.opt
@@ -371,7 +371,7 @@ C ObjC C++ ObjC++ Var(warn_frame_address) Warning LangEnabledBy(C ObjC C++ ObjC+
Warn when __builtin_frame_address or __builtin_return_address is used unsafely.
Wbuiltin-declaration-mismatch
-C ObjC C++ ObjC++ Var(warn_builtin_declaraion_mismatch) Init(1) Warning
+C ObjC C++ ObjC++ Var(warn_builtin_declaration_mismatch) Init(1) Warning
Warn when a built-in function is declared with the wrong signature.
Wbuiltin-macro-redefined
diff --git a/gcc/common.opt b/gcc/common.opt
index 05fedc4..292c2de 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -47,7 +47,7 @@ Variable
bool in_lto_p = false
; This variable is set to non-0 only by LTO front-end. 1 indicates that
-; the output produced will be used for incrmeental linking (thus weak symbols
+; the output produced will be used for incremental linking (thus weak symbols
; can still be bound) and 2 indicates that the IL is going to be linked and
; and output to LTO object file.
Variable
diff --git a/gcc/ipa-modref.c b/gcc/ipa-modref.c
index af0b710..0411f66 100644
--- a/gcc/ipa-modref.c
+++ b/gcc/ipa-modref.c
@@ -35,10 +35,10 @@ along with GCC; see the file COPYING3. If not see
propagates across the callgraph and is able to handle recursion and works on
whole program during link-time analysis.
- LTO mode differs from the local mode by not recroding alias sets but types
+ LTO mode differs from the local mode by not recording alias sets but types
that are translated to alias sets later. This is necessary in order stream
- the information becaue the alias sets are rebuild at stream-in time and may
- not correspond to ones seen during analsis. For this reason part of analysis
+ the information because the alias sets are rebuild at stream-in time and may
+ not correspond to ones seen during analysis. For this reason part of analysis
is duplicated. */
#include "config.h"
@@ -77,7 +77,7 @@ public:
modref_summary *src_data,
modref_summary *dst_data);
/* This flag controls whether newly inserted functions should be analyzed
- in IPA or normal mode. Functions inserted betweehn IPA analysis and
+ in IPA or normal mode. Functions inserted between IPA analysis and
ipa-modref pass execution needs to be analyzed in IPA mode while all
other insertions leads to normal analysis. */
bool ipa;
@@ -413,7 +413,7 @@ analyze_call (modref_summary *cur_summary,
struct cgraph_node *callee_node = cgraph_node::get_create (callee);
- /* We can not safely optimize based on summary of calle if it does
+ /* We can not safely optimize based on summary of callee if it does
not always bind to current def: it is possible that memory load
was optimized out earlier which may not happen in the interposed
variant. */
@@ -815,7 +815,7 @@ write_modref_records (modref_records_lto *tt, struct output_block *ob)
/* Read a modref_tree from the input block IB using the data from DATA_IN.
This assumes that the tree was encoded using write_modref_tree.
Either nolto_ret or lto_ret is initialized by the tree depending whether
- LTO streaming is expcted or not. */
+ LTO streaming is expected or not. */
void
read_modref_records (lto_input_block *ib, struct data_in *data_in,
@@ -1238,7 +1238,7 @@ unsigned int pass_ipa_modref::execute (function *)
fprintf (dump_file, " Call to %s\n",
cur->dump_name ());
- /* We can not safely optimize based on summary of calle if it
+ /* We can not safely optimize based on summary of callee if it
does not always bind to current def: it is possible that
memory load was optimized out earlier which may not happen in
the interposed variant. */
diff --git a/gcc/params.opt b/gcc/params.opt
index 3c64daf..dcf5e02 100644
--- a/gcc/params.opt
+++ b/gcc/params.opt
@@ -882,7 +882,7 @@ Maximum number of refs stored in each modref tree.
-param=modref-max-tests=
Common Joined UInteger Var(param_modref_max_tests) Init(64)
-Maximum number of tests perofmed by modref query.
+Maximum number of tests performed by modref query.
-param=tm-max-aggregate-size=
Common Joined UInteger Var(param_tm_max_aggregate_size) Init(9) Param Optimization