aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2024-04-23 14:50:27 +0200
committerJakub Jelinek <jakub@redhat.com>2024-04-23 14:50:27 +0200
commit4338ac149e270e7fc8a607779ce7f21cb8c640d6 (patch)
tree9931d67923b75222b1b9d3a73a294298c4037a21
parent3d5699930fe6cfc595e5a920ab36a1bc065be534 (diff)
downloadgcc-4338ac149e270e7fc8a607779ce7f21cb8c640d6.zip
gcc-4338ac149e270e7fc8a607779ce7f21cb8c640d6.tar.gz
gcc-4338ac149e270e7fc8a607779ce7f21cb8c640d6.tar.bz2
Spelling fixes for translatable strings
I've run aspell on gcc.pot (just quickly skimming, so pressing I key hundreds of times and just stopping when I catch something that looks like a misspelling). I plan to commit this tomorrow as obvious unless somebody finds some issues in it, you know, I'm not a native English speaker. Yes, I know favour is valid UK spelling, but we spell the US way I think. I've left some *ise* -> *ize* cases (recognise, initialise), those had too many hits, though in translatable strings just 4, so maybe worth changing too: msgid "recognise the specified suffix as a definition module filename" msgid "recognise the specified suffix as implementation and module filenames" "initialiser for a dylib." msgid "%qE attribute argument %qE is not recognised" 2024-04-23 Jakub Jelinek <jakub@redhat.com> * config/epiphany/epiphany.opt (may-round-for-trunc): Spelling fix: floatig -> floating. * config/riscv/riscv.opt (mcsr-check): Spelling fix: CRS -> CSR. * params.opt (-param=ipa-cp-profile-count-base=): Spelling fix: frequncy -> frequency. gcc/c-family/ * c.opt (Wstrict-flex-arrays): Spelling fix: inproper -> improper. gcc/cp/ * parser.cc (cp_parser_using_declaration): Spelling fix: favour -> favor. gcc/m2/ * lang.opt (fuse-list=): Spelling fix: finalializations -> finalizations.
-rw-r--r--gcc/c-family/c.opt2
-rw-r--r--gcc/config/epiphany/epiphany.opt2
-rw-r--r--gcc/config/riscv/riscv.opt2
-rw-r--r--gcc/cp/parser.cc2
-rw-r--r--gcc/m2/lang.opt2
-rw-r--r--gcc/params.opt2
6 files changed, 6 insertions, 6 deletions
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index 848c2fd..403abc1 100644
--- a/gcc/c-family/c.opt
+++ b/gcc/c-family/c.opt
@@ -1320,7 +1320,7 @@ C ObjC C++ ObjC++ LangEnabledBy(C ObjC C++ ObjC++,Wall, 3, 0) IntegerRange(0, 3)
Wstrict-flex-arrays
C C++ Var(warn_strict_flex_arrays) Warning
-Warn about inproper usages of flexible array members
+Warn about improper usages of flexible array members
according to the level of -fstrict-flex-arrays.
Wstrict-null-sentinel
diff --git a/gcc/config/epiphany/epiphany.opt b/gcc/config/epiphany/epiphany.opt
index 563e7ef..6cffea8 100644
--- a/gcc/config/epiphany/epiphany.opt
+++ b/gcc/config/epiphany/epiphany.opt
@@ -105,7 +105,7 @@ Enum(attr_fp_mode) String(int) Value(FP_MODE_INT)
may-round-for-trunc
Target Mask(MAY_ROUND_FOR_TRUNC)
-A floatig point to integer truncation may be replaced with rounding to save mode switching.
+A floating point to integer truncation may be replaced with rounding to save mode switching.
mvect-double
Target Mask(VECT_DOUBLE)
diff --git a/gcc/config/riscv/riscv.opt b/gcc/config/riscv/riscv.opt
index 8da0764..b14888e 100644
--- a/gcc/config/riscv/riscv.opt
+++ b/gcc/config/riscv/riscv.opt
@@ -152,7 +152,7 @@ required to materialize symbol addresses.
mcsr-check
Target Var(riscv_mcsr_check) Init(0)
-Enable the CSR checking for the ISA-dependent CRS and the read-only CSR.
+Enable the CSR checking for the ISA-dependent CSR and the read-only CSR.
The ISA-dependent CSR are only valid when the specific ISA is set. The
read-only CSR can not be written by the CSR instructions.
diff --git a/gcc/cp/parser.cc b/gcc/cp/parser.cc
index 50d3ad3..c23758c 100644
--- a/gcc/cp/parser.cc
+++ b/gcc/cp/parser.cc
@@ -22406,7 +22406,7 @@ cp_parser_using_declaration (cp_parser* parser,
if (access_declaration_p && errorcount == oldcount)
warning_at (diag_token->location, OPT_Wdeprecated,
"access declarations are deprecated "
- "in favour of using-declarations; "
+ "in favor of using-declarations; "
"suggestion: add the %<using%> keyword");
return true;
diff --git a/gcc/m2/lang.opt b/gcc/m2/lang.opt
index 206bd03..3ffaf15 100644
--- a/gcc/m2/lang.opt
+++ b/gcc/m2/lang.opt
@@ -260,7 +260,7 @@ optimize non var unbounded parameters by passing it by reference, providing it i
fuse-list=
Modula-2 Joined
-orders the initialization/finalializations for scaffold-static or force linking of modules if scaffold-dynamic
+orders the initialization/finalizations for scaffold-static or force linking of modules if scaffold-dynamic
fversion
Modula-2
diff --git a/gcc/params.opt b/gcc/params.opt
index 5eb045b..d34ef54 100644
--- a/gcc/params.opt
+++ b/gcc/params.opt
@@ -263,7 +263,7 @@ Maximum size of a list of values associated with each parameter for interprocedu
-param=ipa-cp-profile-count-base=
Common Joined UInteger Var(param_ipa_cp_profile_count_base) Init(10) IntegerRange(0, 100) Param Optimization
-When using profile feedback, use the edge at this percentage position in frequncy histogram as the bases for IPA-CP heuristics.
+When using profile feedback, use the edge at this percentage position in frequency histogram as the bases for IPA-CP heuristics.
-param=ipa-jump-function-lookups=
Common Joined UInteger Var(param_ipa_jump_function_lookups) Init(8) Param Optimization