From patchwork Mon May 15 09:43: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: 94047 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp6793599vqo; Mon, 15 May 2023 02:51:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Ge4d5ZLis6IkevN1eUTGNw3s0ylZ4U91GZfgfjGaIlV15gWv4nAOzRPKdJOvgzOD4IrVf X-Received: by 2002:a17:907:3e05:b0:94e:988d:acc5 with SMTP id hp5-20020a1709073e0500b0094e988dacc5mr30998912ejc.46.1684144318984; Mon, 15 May 2023 02:51:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684144318; cv=none; d=google.com; s=arc-20160816; b=v0dnUIijur5FTWnyAuU1LTpgxyOjJHCk6nWRF147NsvWTQF0vznhVCDs84aX3eRHmz xbniXh4zTiIez6An25XTIYrtL7XkPXZkUl/BcPu5WHIj0iamQFrPXhbu91Da5Jrox0VI 6pYenipgueMQUj2YlEyCQ8OyZ5ZiK385PJHeltVv7OUiBk/pcyf+QgS2xqtE5AkRiIie l70tv9xqrLyOKo4jSREpvF5GEMn2N8hzwQ0NmnVOCDPS3nJsQXbb9iYLdUaXS6d6qkmR YL70VoSWVMynMDVkpiJfhFKuvSgXGA6TqpQcnDcyb3+cJ3TiYmnwPYglKnzTEeVGIQal Eiwg== 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=F+7CQSKJSsnk2e8qmW2fTQAjGzIeEe3qcv0Prm9Af38=; b=Ork6IlBfnpcCxfnMUK+3s2kvgO+v1ejJCbK5hfWMQPCBDS40hEj4NJFZkRVXi88rD5 Pl2v8jDhENE8T88jahfGXEF8DAyTroOSaxfMUEDMnYt+wrIzYsAIpcgwtMFA10w4GPuW n2pqOcBvZmvGYrpqx3VF+NIfwXi9Vyi+FA03EycWkfb3B8+CvFLi/PenBjAH9XjB5q8Z 58xYOdgfV+OLppTbFeDuVqtVq8WkDWV23SpitzrLGdra2r/J1DYVEwr67jRUU5ESv7tf wmKfrTb9+WIAfoqeV1W7U22XA8nk35gIPM5uwCvbG7SbDaZEMWXMWNiuiyEmvu1q2Zwo rKXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=WxlQt7SL; 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 z8-20020a170906944800b00960c27e06b6si11489190ejx.1043.2023.05.15.02.51.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 02:51:58 -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=WxlQt7SL; 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 7EE56385382D for ; Mon, 15 May 2023 09:47:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7EE56385382D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684144030; bh=F+7CQSKJSsnk2e8qmW2fTQAjGzIeEe3qcv0Prm9Af38=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=WxlQt7SLa0VDgKN3P9ZPzSkWQlxNnteaoPFna7xUkqt892zf3xY0jeyUu1lRletIP H42BHzOb3bQz84n02xq3AxHibjnXKkewX9IzVWkD8QDQ1oIMRbZJYk3LNd0m6kbD7q rODbYCJvkBrvJxws3NDONW/uCozT0rSiAByJ554w= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by sourceware.org (Postfix) with ESMTPS id B9B553854165 for ; Mon, 15 May 2023 09:43:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B9B553854165 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3f42711865eso54450425e9.0 for ; Mon, 15 May 2023 02:43:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684143804; x=1686735804; 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=F+7CQSKJSsnk2e8qmW2fTQAjGzIeEe3qcv0Prm9Af38=; b=NY8WOzi+wrttEnxL8trJdajKkFPtC14JpbRW4viv56H/ArFo5dWneVWHzEWqYo/0Gx 8NU2S/DC7IxnEzfnzEDU21y5Zg6O3eXOLDGtoKlpcK9KuCUfxQLSFDmLNM3Y4+MD011i Dcv87ohmWURS9V7uTjCdkbdl6McH1UgQ9zNP4H/NG/nHEOc/gmOHVuatB8Iz0uZEBSkA NmaLlVYrrvyjlbK8qebivZlBRAofAJeyUm4kOZYWFy5Us+iIrEMKbTEbN6Z/mus/VaLp ueBZmTrVN93AyV7PKAXm0/HorjIrfv/DlsrmXl1C0isquU50OuD3kDcB8fmagsjPLNJN 3Ifw== X-Gm-Message-State: AC+VfDxbS+6O/AHfZDIGOxCjKuazcLKoiQgTx6S0M2/9oTK8nuVhVzVz RO5qZP7b8n+M/0zVl2kAouyF4EwxfJy1rVTmuqM1Sw== X-Received: by 2002:adf:da48:0:b0:307:9a49:da8a with SMTP id r8-20020adfda48000000b003079a49da8amr16054226wrl.26.1684143804577; Mon, 15 May 2023 02:43:24 -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 i8-20020a5d6308000000b003079ed1f0a0sm20988236wru.44.2023.05.15.02.43.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 02:43:24 -0700 (PDT) To: gcc-patches@gcc.gnu.org Cc: Yannick Moy Subject: [COMMITTED] ada: Update comment after SPARK RM change Date: Mon, 15 May 2023 11:43:22 +0200 Message-Id: <20230515094322.1408160-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?1765953313093487594?= X-GMAIL-MSGID: =?utf-8?q?1765953313093487594?= From: Yannick Moy gcc/ada/ * sem_attr.adb: Update comment referring to rule number. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/sem_attr.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/sem_attr.adb b/gcc/ada/sem_attr.adb index ac0c4004930..452aabdd436 100644 --- a/gcc/ada/sem_attr.adb +++ b/gcc/ada/sem_attr.adb @@ -7608,7 +7608,7 @@ package body Sem_Attr is -- In SPARK certain attributes (see below) depend on Tasking_State. -- Ensure that the entity is available for gnat2why by loading it. - -- See SPARK RM 9(18) for the relevant rule. + -- See SPARK RM 9(19) for the relevant rule. if GNATprove_Mode then case Attr_Id is