From patchwork Mon Apr 22 21:30:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 88884 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F39E03849ACC for ; Mon, 22 Apr 2024 21:30:58 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 9256E384AB6E for ; Mon, 22 Apr 2024 21:30:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9256E384AB6E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9256E384AB6E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713821431; cv=none; b=QnEB+h+wyn3tbP23rUiJzmR5Byy0YLHHboQkM2AySG3VgpaCB5z396IwPzmLxt/4OY/Hwgqr4R62ZwijQDYAKG7/XcNFN4PFmhvKSIlu8sISmm7efgpW0ybKFFiSCL0QxtL5lo5kZU92d7qZZssyqH6KOReXQnpLr7bBbpG6rMY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713821431; c=relaxed/simple; bh=+HRj7kMZ/c0tZu2/Jcvi+n5nH6b6WyQY4JX8XZLwGGE=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=xOHDnWu4a1whaIXtJ777l36/EAtvjCXUVgkhxfqpWApcAUrh3jwhJBXhfzjlUYHKjdtdaQ00adhdJlHgh7LHhGANkgj6K2HowH2aONoVaP90V9zv13bwf7QGbcN+RrZL1JvfzsQR+PBcZChHqIuiwUUD67TIoKvKMkeAvRp7sp8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713821429; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type; bh=NvNjXJTXuaT4Z838qs4+6UUWlv3aj2tXpZVe/nk+Cfw=; b=SnBiwSRAT30JKf9MN29ImNjOJIzpmdLXTh4R1YsrnhYboUN37nRXPJG4yAskETvhGF46lC +GoINODqt0ifwiJZZujdo/n53d51YktqQAgC9GZ7dbryoReA7vF/Sm9W761Cotqo/QWs+l 7P4228zk7r8xrD2T+CwXZav3r8Wgl6E= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-235-_p-xeN6XMZKSEOw7iHvT6g-1; Mon, 22 Apr 2024 17:30:24 -0400 X-MC-Unique: _p-xeN6XMZKSEOw7iHvT6g-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2153F3C28642; Mon, 22 Apr 2024 21:30:24 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.45.224.5]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D104720128F3; Mon, 22 Apr 2024 21:30:23 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 43MLUMOi3666105 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 22 Apr 2024 23:30:22 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 43MLUMog3666104; Mon, 22 Apr 2024 23:30:22 +0200 Date: Mon, 22 Apr 2024 23:30:21 +0200 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Cc: Palmer Dabbelt , Jonathan Wakely Subject: [PATCH] Spelling fixes for translatable strings Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Hi! 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-22 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. Jakub Acked-by: Palmer Dabbelt Reviewed-by: Palmer Dabbelt --- gcc/config/epiphany/epiphany.opt.jj 2024-01-03 11:51:47.489509710 +0100 +++ gcc/config/epiphany/epiphany.opt 2024-04-22 22:53:56.581549745 +0200 @@ -105,7 +105,7 @@ Enum(attr_fp_mode) String(int) Value(FP_ 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) --- gcc/config/riscv/riscv.opt.jj 2024-04-09 08:12:29.379449739 +0200 +++ gcc/config/riscv/riscv.opt 2024-04-22 22:52:06.780080712 +0200 @@ -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. --- gcc/cp/parser.cc.jj 2024-04-22 18:12:35.326282135 +0200 +++ gcc/cp/parser.cc 2024-04-22 23:14:11.928605442 +0200 @@ -22431,7 +22431,7 @@ cp_parser_using_declaration (cp_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; --- gcc/m2/lang.opt.jj 2024-04-03 09:58:33.538770735 +0200 +++ gcc/m2/lang.opt 2024-04-22 22:47:59.120533842 +0200 @@ -260,7 +260,7 @@ optimize non var unbounded parameters by 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 --- gcc/c-family/c.opt.jj 2024-04-15 10:16:58.571245875 +0200 +++ gcc/c-family/c.opt 2024-04-22 22:41:48.188705755 +0200 @@ -1320,7 +1320,7 @@ C ObjC C++ ObjC++ LangEnabledBy(C ObjC C 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 --- gcc/params.opt.jj 2024-01-03 11:51:22.563855655 +0100 +++ gcc/params.opt 2024-04-22 23:06:47.466804309 +0200 @@ -263,7 +263,7 @@ Maximum size of a list of values associa -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