From patchwork Fri Feb 17 00:42:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Gerald Pfeifer X-Patchwork-Id: 58300 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp613152wrn; Thu, 16 Feb 2023 16:43:13 -0800 (PST) X-Google-Smtp-Source: AK7set8NCA9wdDtzdQUUjEqI9Yt3WJzivPLkJRH06+vQmntZ/M7OY8IxdEwBJlU7KpTlwn5/j1TR X-Received: by 2002:a17:907:1623:b0:8b1:76dd:f5f6 with SMTP id hb35-20020a170907162300b008b176ddf5f6mr3719266ejc.50.1676594593524; Thu, 16 Feb 2023 16:43:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676594593; cv=none; d=google.com; s=arc-20160816; b=zjqh569HhfFAc++W5MRFNEre6Z9vEErTFSoAN9Fv9TA59gjHhDI7aUOSRbKNPl2NbW 91IbxWNtftFD/mkWMMrud2llkKD9p+rxnHC1b0gf5QtsUlfBcZBrZEmxfn1gISGvHyHG fBhooAfSVTG16Nw6YwQDhqrl+LdZloEIlcXBB1kaEZ8END+hEqZReuTR1+HTvz+FVttF FtgJq9Ylagx4s0g1KjbhHWzJBMyQ7fwxb538CbDVq/qxaV/fPhJEN5LTOcB9R8X6dSTI wPS0laMiJuONtn0tFPOanTrJAHPPmgBDraOk5b5Ht5/l50gzcf7LR5paDB+6gMmz4mup jvqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :message-id:mime-version:subject:to:from:date:dmarc-filter :delivered-to; bh=WY6WtFs07taNHLUS2YnRhBUuhUFim98daI96NowNsFI=; b=QE0xMXRQ2dsRZDbrWAJoC/fH9KX7exv1qPNQID3X4esd9f1aujqtDaoC5WHZZmBeMG d00XktL/b07T+SSeFlBr+iGtiLi8L0/xA/9bJ6VTAO1uxDbuE+cHxXWP3U+EMGT3ETxM CmSoDC/1u+6wQQj61P3QNzQpXder16LOPMxR/satLXnV+s62JysG+qBzVz1xRKh+qXnu h4oDgih+Fnk3uM2mFb0We8vDTs2w8VQwBGEVUQ4M8kwVhJnyeVzV1dQYvQpeNFX+l/Pw RWPu1hJRRhoXxGYDuA4UDTi8HQTW9qrA6nmWaRgrtthb7usCw7+Q1sC3LweVoXQJhzve yXfg== ARC-Authentication-Results: i=1; mx.google.com; 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" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id ez17-20020a1709070bd100b008b134f625a4si3069594ejc.80.2023.02.16.16.43.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 16:43:13 -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; 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6F9823858C78 for ; Fri, 17 Feb 2023 00:43:09 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from hamza.pair.com (hamza.pair.com [209.68.5.143]) by sourceware.org (Postfix) with ESMTPS id 0BCB03858D33 for ; Fri, 17 Feb 2023 00:42:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0BCB03858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=pfeifer.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=pfeifer.com Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id 070D233E6B for ; Thu, 16 Feb 2023 19:42:36 -0500 (EST) Received: from [192.168.1.80] (188-23-63-229.adsl.highway.telekom.at [188.23.63.229]) (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 hamza.pair.com (Postfix) with ESMTPSA id 9594F33EAD for ; Thu, 16 Feb 2023 19:42:35 -0500 (EST) Date: Fri, 17 Feb 2023 01:42:34 +0100 (CET) From: Gerald Pfeifer To: gcc-patches@gcc.gnu.org Subject: [pushed] doc: Reword how to get possible values of a parameter (was: Document all param values and remove defaults (PR middle-end/86078)) MIME-Version: 1.0 X-Scanned-By: mailmunge 3.10 on 209.68.5.143 Message-Id: <20230217004236.070D233E6B@hamza.pair.com> X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_NONE, SPF_PASS, 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-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: , 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?1758036852552954407?= X-GMAIL-MSGID: =?utf-8?q?1758036852552954407?= On Mon, 24 Sep 2018, Martin Liška wrote: > As mentioned in the PR we miss defaults for quite some param option. > I agreed with Richi that easiest way how to fix that would be to remove > that from documentation and use rather --help=param. It's done in the > patch. And here is a little follow-up patch after that, ahem, little while... Pushed. Gerald gcc/ChangeLog: * doc/invoke.texi (Optimize Options): Reword the explanation getting minimal, maximal and default values of a parameter. --- gcc/doc/invoke.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 6def1fd631e..7b308cd3c31 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -14678,8 +14678,8 @@ The names of specific parameters, and the meaning of the values, are tied to the internals of the compiler, and are subject to change without notice in future releases. -In order to get minimal, maximal and default value of a parameter, -one can use @option{--help=param -Q} options. +In order to get the minimal, maximal and default values of a parameter, +use the @option{--help=param -Q} options. In each case, the @var{value} is an integer. The following choices of @var{name} are recognized for all targets: