From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2153) id B44253858C42; Tue, 23 Apr 2024 12:51:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B44253858C42 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713876670; bh=wntYlJge21FtdLTXmDFJzAibaSKqZsc+A9klMmqZH9U=; h=From:To:Subject:Date:From; b=h2Sj1Srgk1/2hK5wvXpv88ieBJKGe2PWmH8mQWcCzBzPbSBQKuwaoGs1yqp7EIl03 c3tvP8inIhmXAtlKkpxuKMxRsAkZty1synfLCQkm1C1kLNpPNQDIibTJnP0ayS+zTK kMDBF5uSTVpWKxHXYkhNn9F9HC8Y9ABx25HdQO7c= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jakub Jelinek To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-10091] Spelling fixes for translatable strings X-Act-Checkin: gcc X-Git-Author: Jakub Jelinek X-Git-Refname: refs/heads/master X-Git-Oldrev: 3d5699930fe6cfc595e5a920ab36a1bc065be534 X-Git-Newrev: 4338ac149e270e7fc8a607779ce7f21cb8c640d6 Message-Id: <20240423125110.B44253858C42@sourceware.org> Date: Tue, 23 Apr 2024 12:51:10 +0000 (GMT) List-Id: https://gcc.gnu.org/g:4338ac149e270e7fc8a607779ce7f21cb8c640d6 commit r14-10091-g4338ac149e270e7fc8a607779ce7f21cb8c640d6 Author: Jakub Jelinek 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 * 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 % 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