From patchwork Mon May 15 09:44:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Marc_Poulhi=C3=A8s?= X-Patchwork-Id: 94050 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp6794185vqo; Mon, 15 May 2023 02:53:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4K82Srdhc8rbmGb19FKp+Ds3hI02gQbZtRso+E3/sdJRnniEVvcmwEeV+OsamQbfRUrnk4 X-Received: by 2002:a17:907:6e12:b0:96a:78ee:7e27 with SMTP id sd18-20020a1709076e1200b0096a78ee7e27mr13061565ejc.59.1684144417890; Mon, 15 May 2023 02:53:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684144417; cv=none; d=google.com; s=arc-20160816; b=ssGizOWfteX5VIgW0pHElzsbB9n/04jVC91orCBxUSbqwco/tx4i9a3YQdM+QcAWZ3 dGi7llUNRZZNdcSHlUCeKQoOJ0rsh8trDBz5TSdnv+KNUBNBnCXzNPyY45be06jo7k2/ dK7/WOCdBMOz+/3fXw63foPEwAUB91VKGo2TMi7K/tu1uzB7skI5i/ChTupUr0zdu9wZ 2Svtlnh7mA9RA0FF0n+M4pGhnp8BcmwXTLXwbGX9NeZVSv3tgvxThSwLBAJoH5g8u/8A ySHgLdQELbXtvpXemt3jbG4c+fsQlNredbk21vkxMuqBtP3J2ligKyEMJL8hFgBzZNLu QRUg== 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:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=p09TdctElCGHLzv7J7aE3ebbsljRnhQvZbQjfVpxgo0=; b=pqFU0TLSQDeIyPnS00TNOeu9pqiDefTsH7cJUbcqy3OzaiM6UBrMyWK9N0X80Totx8 sNw1QGT+anFCa/iW7p7WTsYOHFo6uPtzfE+w6RuiTLwSBzMHL+CjbPGN3/bDuGczpzl9 S9Q6mw4v3Vu1PZnUJ2obyzuAo/mC+NTzqOSNkKVHZ7e57cnelPvVkSNc+pFbLXQdjx+K etJKK6l0n9atzIayH3P38vO6lcmTzJ52N37FkYOczZ6SU9RvXQSdqKbO298Nw/746NZz QYQkXZu7BeT1qn1M1AAS2zLa1oG1Zv6WikY/302C5IDW7TIhS9OqnLcZJKqyIoEv/Dvt Z2RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=JKil7XeJ; 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 wi19-20020a170906fd5300b00965ff948233si11616845ejb.1035.2023.05.15.02.53.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 02:53:37 -0700 (PDT) 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=JKil7XeJ; 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 605803943408 for ; Mon, 15 May 2023 09:47:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 605803943408 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684144079; bh=p09TdctElCGHLzv7J7aE3ebbsljRnhQvZbQjfVpxgo0=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=JKil7XeJ5Lu/NB4DbCKohnYW5LQrbWik79ZXqtcaNxHKPa5HwV/9WD4PAQKo6qIZD +mtZIB16J93qWrBonpp4LMiYkw89PR6c7xfMYTHTlCTcDa6r7Lgw9YiTzTYY7Ab/J2 KaP62Ly0aQ0kFjKYuVnKreyKAVO+qXrbr+/nqrTA= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by sourceware.org (Postfix) with ESMTPS id 2B5B83870901 for ; Mon, 15 May 2023 09:44:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2B5B83870901 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3078a3f3b5fso9540926f8f.0 for ; Mon, 15 May 2023 02:44:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684143864; x=1686735864; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=p09TdctElCGHLzv7J7aE3ebbsljRnhQvZbQjfVpxgo0=; b=aXJJt7v5jsTS/kKXWyDW+qu63dgec/oGIm6cLMOaOGpG5UJehTMMa+b1Zb12e7Ukh9 YZZiQey+fnSOqmdGKP0zpG29khMweTGyzaI9hOGF7F/EA0SGP5olqgrP/CwoMPnBlY16 Y9qp3vjWvpKVAyks273ZFttWB8fois50r8rqSfaaJOPFAtjyYXbTeTkayCzVbXj3VmeX GFQ70zpEAyTh8sOqvfufmy6YL3QtGlLobkSe/fs7QHsrYwCnReEnvAuqP/B7i2MbkGJM uofnlKoCjyDEvayD4cgUTEGSZaCUNWJxMOmm2IBPyfFTI2QC878zeGUoQfy04MWs+ZFW hWOQ== X-Gm-Message-State: AC+VfDyIKVQhYO+5fl4DPP26LdwfGDVT8FwR2hDxZUzSz8u5oeYNekl3 W0sv09JF9hh6jj2uqdcwJ7+sG0Vo/d5j4BoOrLZoXw== X-Received: by 2002:a5d:6645:0:b0:306:35d2:c33a with SMTP id f5-20020a5d6645000000b0030635d2c33amr22663220wrw.50.1684143863856; Mon, 15 May 2023 02:44:23 -0700 (PDT) Received: from poulhies-Precision-5550.telnowedge.local (lmontsouris-659-1-24-67.w81-250.abo.wanadoo.fr. [81.250.175.67]) by smtp.gmail.com with ESMTPSA id j18-20020adfff92000000b00307bc4e39e5sm16005621wrr.117.2023.05.15.02.44.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 02:44:23 -0700 (PDT) To: gcc-patches@gcc.gnu.org Cc: Bob Duff Subject: [COMMITTED] ada: Fix comment related to inlining Date: Mon, 15 May 2023 11:44:22 +0200 Message-Id: <20230515094422.1408878-1-poulhies@adacore.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-Spam-Status: No, score=-13.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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?Marc_Poulhi=C3=A8s_via_Gcc-patches?= From: =?utf-8?q?Marc_Poulhi=C3=A8s?= Reply-To: =?utf-8?q?Marc_Poulhi=C3=A8s?= 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?1765953417120281106?= X-GMAIL-MSGID: =?utf-8?q?1765953417120281106?= From: Bob Duff Correction to previous check-in: Remove comment about Proc_Next_... procedures, which were deleted. gcc/ada/ * einfo-utils.ads: Remove comment. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/einfo-utils.ads | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gcc/ada/einfo-utils.ads b/gcc/ada/einfo-utils.ads index 028665439bb..174994647bc 100644 --- a/gcc/ada/einfo-utils.ads +++ b/gcc/ada/einfo-utils.ads @@ -368,9 +368,7 @@ package Einfo.Utils is -- Iterators -- --------------- - -- The call to Next_xxx (obj) is equivalent to obj := Next_xxx (obj) - -- We define the set of Proc_Next_xxx routines simply for the purposes - -- of inlining them without necessarily inlining the function. + -- Next_xxx (obj) is equivalent to obj := Next_xxx (obj) procedure Next_Component (N : in out Node_Id) with Inline; procedure Next_Component_Or_Discriminant (N : in out Node_Id) with Inline;