From patchwork Fri Jan 27 00:18:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Arsen_Arsenovi=C4=87?= X-Patchwork-Id: 48998 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp565733wrn; Thu, 26 Jan 2023 16:33:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXuAMqSgAWyy5Joc93izs3iQDVg56BhbZH42WD5gyf0Bg5QWCdNas1c59D6HhLGGkPJyg7q3 X-Received: by 2002:a05:6402:24a0:b0:499:b4ce:b26e with SMTP id q32-20020a05640224a000b00499b4ceb26emr47915983eda.40.1674779617599; Thu, 26 Jan 2023 16:33:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674779617; cv=none; d=google.com; s=arc-20160816; b=l+jdQ8QkX8l3LFOBC+nBmMKEyQHYMDK5+zTs6ZUJOTaXHzSoL9mnFfThC/+G+n4t8B oAsUHpXLev3viRQA8FtMEI1s6ik4XR3x3xX9i+HK3s+Avk8Tl11Jb9ga0KAJhRsEHVkj zVvMgi6Wi1f5XuxevBpCePXQjgZTwhEXiVWNBQKzcbkne9rYyplgGTltX640HaXB960U DToVU6x9z2lSHltUNUJ+WHsVzD1srw1yX84dpY3FDxnBj+d6vvz80ndiKCoaqOI9zqAN ue/2LAG07z+ZFpDW9eajkKR47vE32Q6I+H5Zv04I9F2PlaTwToAK05yN0jdxZGxti/z1 O+7g== 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-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=byMmrfLeaBllWjJijv565r4JQfV05dOoE7yHxlsnpJE=; b=Tn8mO9cnUCKPFUG1vuYH0EN2Gdr5WOnKGCGVhKJJJ501wbYsAykio/K8t4Cx/54b8Q Prp/pRUBKLwyZfqerp7tLD22xY7tgI1kkK2YMN9UmnEIX+QfMbhscOOhpQHELZCOD7z6 aBBQd5z1HX4alsMVSsZWxd1oBsDrVHShO8GIPXYA4v2Iw+OIMYFau6s8jnBW1GXrbJy6 DKaVfySi6WlScvRC+mDE5qaOfiu2s/JMFbirtCMa3UeHcx7WJNzMlK2TOKD6srX+MwfP cRSR8Mjd/6hd9U24uWweLyIv55XzkdytrAO+Q1qHGl9/RLK+KjsbULDTZXh/+TRiHdW6 9Ezw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=Y9rZ+XYu; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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. [8.43.85.97]) by mx.google.com with ESMTPS id ds6-20020a0564021cc600b0049cb1901e95si3623564edb.563.2023.01.26.16.33.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 16:33:37 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=Y9rZ+XYu; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 EAD973858417 for ; Fri, 27 Jan 2023 00:33:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EAD973858417 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674779595; bh=byMmrfLeaBllWjJijv565r4JQfV05dOoE7yHxlsnpJE=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=Y9rZ+XYuwK8gedjc17q1WwFlLGZtGrlg30BSkhKDbYT6CTfZD3m74Z++kQ5PfRaFz /6ebWMu/a7bjSrL0DQNujMt+eCAUoLUeIm68XZGRXfmgcK6KVvTACt/Efy40hjJNQK W2N+bB/MjJgPUpYaFfi/3bG1QAxqgdyfEPTwzexQ= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [80.241.56.151]) by sourceware.org (Postfix) with ESMTPS id CA68E3858D28 for ; Fri, 27 Jan 2023 00:32:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CA68E3858D28 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4P2z6n0rGwz9sSj; Fri, 27 Jan 2023 01:32:17 +0100 (CET) To: gcc-patches@gcc.gnu.org Cc: =?utf-8?q?Arsen_Arsenovi=C4=87?= Subject: [PATCH 1/7] docs: Create Indices appendix Date: Fri, 27 Jan 2023 01:18:29 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-11.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_INFOUSMEBIZ, RCVD_IN_DNSWL_LOW, 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-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: =?utf-8?q?Arsen_Arsenovi=C4=87_via_Gcc-patches?= From: =?utf-8?q?Arsen_Arsenovi=C4=87?= Reply-To: =?utf-8?q?Arsen_Arsenovi=C4=87?= 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?1756133712062315575?= X-GMAIL-MSGID: =?utf-8?q?1756133712062315575?= gcc/ChangeLog: * doc/gcc.texi: Add the Indices appendix, to make texinfo generate nice indices overview page. (@copying): Move "This file documents the use of the GNU compilers" into @copying. Add quotations around copying. --- gcc/doc/gcc.texi | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/gcc/doc/gcc.texi b/gcc/doc/gcc.texi index 7019365429d..bc7cc6e6743 100644 --- a/gcc/doc/gcc.texi +++ b/gcc/doc/gcc.texi @@ -40,6 +40,9 @@ @c %**end of header @copying +This file documents the use of the GNU compilers. + +@quotation Copyright @copyright{} 1988-2023 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document @@ -59,6 +62,7 @@ Texts being (a) (see below), and with the Back-Cover Texts being (b) You have freedom to copy and modify this GNU Manual, like GNU software. Copies published by the Free Software Foundation raise funds for GNU development. +@end quotation @end copying @ifnottex @dircategory Software development @@ -71,7 +75,6 @@ Texts being (a) (see below), and with the Back-Cover Texts being (b) * lto-dump: (gcc) lto-dump. @command{lto-dump}---Tool for dumping LTO object files. @end direntry -This file documents the use of the GNU compilers. @sp 1 @insertcopying @sp 1 @@ -159,8 +162,7 @@ object files. * GNU Free Documentation License:: How you can copy and share this manual. * Contributors:: People who have contributed to GCC. -* Option Index:: Index to command line options. -* Keyword Index:: Index of concepts and symbol names. +* Indices:: List of indices in this manual. @end menu @include frontends.texi @@ -196,19 +198,28 @@ object files. @c Indexes @c --------------------------------------------------------------------- +@node Indices +@appendix Indices + +@menu +* Option Index:: Index to command line options. +* Concept and Symbol Index:: Index of concepts and symbols names. +@end menu + @node Option Index -@unnumbered Option Index +@appendixsec Option Index -GCC's command line options are indexed here without any initial @samp{-} -or @samp{--}. Where an option has both positive and negative forms -(such as @option{-f@var{option}} and @option{-fno-@var{option}}), -relevant entries in the manual are indexed under the most appropriate -form; it may sometimes be useful to look up both forms. +GCC's command line options are indexed here without any initial +@samp{-} or @samp{--}. Where an option has both positive and negative +forms (such as @option{-f@var{option}} and +@option{-fno-@var{option}}), relevant entries in the manual are +indexed under the most appropriate form; it may sometimes be useful to +look up both forms. @printindex op -@node Keyword Index -@unnumbered Keyword Index +@node Concept and Symbol Index +@appendixsec Concept and Symbol Index @printindex cp