public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-10091] Spelling fixes for translatable strings
@ 2024-04-23 12:51 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2024-04-23 12:51 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:4338ac149e270e7fc8a607779ce7f21cb8c640d6

commit r14-10091-g4338ac149e270e7fc8a607779ce7f21cb8c640d6
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Tue Apr 23 14:50:27 2024 +0200

    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.

Diff:
---
 gcc/c-family/c.opt               | 2 +-
 gcc/config/epiphany/epiphany.opt | 2 +-
 gcc/config/riscv/riscv.opt       | 2 +-
 gcc/cp/parser.cc                 | 2 +-
 gcc/m2/lang.opt                  | 2 +-
 gcc/params.opt                   | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index 848c2fda203..403abc1f26e 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 563e7ef2233..6cffea81250 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 8da0764eb4b..b14888e9816 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 50d3ad35b61..c23758cf5cf 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 206bd03d09f..3ffaf151f4c 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 5eb045b2e6c..d34ef545bf0 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-23 12:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-23 12:51 [gcc r14-10091] Spelling fixes for translatable strings Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).