From patchwork Thu Feb 23 10:26:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 60887 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp237835wrd; Thu, 23 Feb 2023 02:27:32 -0800 (PST) X-Google-Smtp-Source: AK7set/TjkcuMREW+Aauk/luz4WxrnM6HEu9Z790hA8MPtjQIzIRRW3mwnwDkY5dHef1+lxB7Rw+ X-Received: by 2002:a17:906:6d11:b0:87d:ed60:cb7e with SMTP id m17-20020a1709066d1100b0087ded60cb7emr21099576ejr.68.1677148052790; Thu, 23 Feb 2023 02:27:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677148052; cv=none; d=google.com; s=arc-20160816; b=iamNL8abg8bwLP19z2w12XtOJrbGGQCIQHIuX8ElI3GLEjSnCJ8zI7cR59MtFIA6I3 zn20yp/JMwCrpkwNAEv4qzAWaaFQHOstnSpkhTGH3uTO3/o8cq9uVbG3KW6hAkm7ljdG XEauCimN2CJ5B3u5Efwts5mbFuhwXn0+N0WnLltCSeZn/VgvJdT54FDwSaL7BJlXNNSS bgsS+jDaXnQbghA08N18vVxQYBke1hBEC2PHRm0Z10spZhQmNQ8D7N/AgavftT8ge3PU rxd7g/JNp9aBfeOdhpfu4q8Qmhg5z2la0vfS0vXHLWcL4FlwlWhmYVLbiiX/EJBXn+Wv URZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-disposition:mime-version:message-id:subject:cc:to:date :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=bZ+5FCsvvLUueqiQy6R6GZMM9qIOiToaBfvn3Zw1OaM=; b=XZBc832GYjI/+Gq8uvpW2koMjkqNg2P7HA5hvSdFm82x23iCfWAWq0tBxscXhP5vyU eL+nh2+BWogR/IcgMWJFFqajWlFkHOlSvIVzavrVDuVoxArqp3vCiiPSoLInvFpzfI48 PIkR+ixYvHxZdsTeJF8YZMgWnIuCv3NTka4V5pWbwcHZ0sVXKUM+cZKHtV2HNd1cLXMs PdKUaTIfnwAHlT3APIKcBfulB17p4d3w2V/AV/LiLELZHpW0tWer4qSNg/aRux3oJ60A qogfWXZUXamUiW+IfTES+b3pWj2X4uODdFOTZ8/Me8KZgI4B8W8EvC/yTlXtmSMF/Bz3 5WSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=fuzK00nd; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id vl23-20020a17090730d700b008cc93fd1626si11797295ejb.954.2023.02.23.02.27.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 02:27:32 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=fuzK00nd; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 93EED3858C5E for ; Thu, 23 Feb 2023 10:27:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 93EED3858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677148051; bh=bZ+5FCsvvLUueqiQy6R6GZMM9qIOiToaBfvn3Zw1OaM=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=fuzK00ndjKMn877rmtp1ok/g8Rzc/E2wDv2TadeAXDyPr020QUp/jPVNQbB6t+XHw Hp2/uSr2r/iqS7bsm842e1jHutOz9tzFl2sZAffoxO1eH7gxQRRzToLM1F/UZd7zuY 9KRQeS4J9lEpE4v2orPCVQlZ2N2fVGLbNRQs9xCg= 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.133.124]) by sourceware.org (Postfix) with ESMTPS id 2360C3858C5E for ; Thu, 23 Feb 2023 10:26:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2360C3858C5E Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-74-9ieGADcjNRepfFUeh0bZrw-1; Thu, 23 Feb 2023 05:26:31 -0500 X-MC-Unique: 9ieGADcjNRepfFUeh0bZrw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0A60D384D022 for ; Thu, 23 Feb 2023 10:26:31 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.62]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BBDD0C15BA0; Thu, 23 Feb 2023 10:26:30 +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 31NAQSCN507510 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 23 Feb 2023 11:26:28 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 31NAQSQM507509; Thu, 23 Feb 2023 11:26:28 +0100 Date: Thu, 23 Feb 2023 11:26:27 +0100 To: Jason Merrill Cc: gcc-patches@gcc.gnu.org Subject: [PATCH] c++: Fix up -fcontracts option description [PR108890] Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.7 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_H2, 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jakub Jelinek via Gcc-patches From: Jakub Jelinek Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758617196730198854?= X-GMAIL-MSGID: =?utf-8?q?1758617196730198854?= Hi! This translation PR mentioned the description is a little bit weird. Ok for trunk? 2023-02-23 Jakub Jelinek PR translation/108890 * c.opt (fcontracts): Fix description. Jakub --- gcc/c-family/c.opt.jj 2023-02-01 10:19:42.637146215 +0100 +++ gcc/c-family/c.opt 2023-02-23 10:25:06.084085718 +0100 @@ -1689,7 +1689,7 @@ C++ ObjC++ Joined RejectNegative Host_Wi fcontracts C++ ObjC++ Var(flag_contracts) Init(0) -Enable certain features present drafts of C++ Contracts. +Enable certain features present in drafts of C++ Contracts. Enum Name(on_off) Type(int) UnknownError(argument %qs must be either % or %)