Message ID | 20230516083949.1501084-1-poulhies@adacore.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp272046vqo; Tue, 16 May 2023 01:46:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5zJvM5XiY7p6X2RbIEngN+H97UskSXVsYnsPAbpl+gWlcdFrkOAqoZgSxrjh0wfNyys/1L X-Received: by 2002:a05:6402:2794:b0:508:3c23:ae95 with SMTP id b20-20020a056402279400b005083c23ae95mr32346663ede.3.1684226792281; Tue, 16 May 2023 01:46:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684226792; cv=none; d=google.com; s=arc-20160816; b=a6Jf1kTu/ffX61aUn5rmpay9dzDj8BwePB1oYNOKTtMQQ6I25P1wcXevW059ifq7Q5 WOZyOdjOlN2Yd4PfsScPNb4wrKvMhsJLn0wiQQ495Jl0InNCofYYTG2XdAaeABRf6Ccs T9gwCrIlfaA3B9FPp+W4nrGkrUerc0+uBlyT2GYGUj7iMakpq6ARlXlI8mWi9bFIhKIy ZyM8rl+oFUwBjgLu2qQohWNMvaSDdcZfnZ0Ssb7HqpGG0rsQC8wXtNEiDRobYv1SKVVU L6tyjRM3RsQVYYj618CKrRLqV+xXxVO2eEyr2YZvWRQM5Wa1bpSfJ+evDZ5mMtOEfsvo l6Wg== 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=wo0Lq2jKynfFRAB2cINgPdTvb2+4W6ljIczYdm0KTXQ=; b=Af6gDJt8y2FfRLhye8TcpyI5fnDphTYhtq9lqA26pGtdWTS8b9/gaaAYztWtu0WTnV 0BcKJhGW+rMRpIW+8otFwINfMHp+NN42xXBV37X6X/abiJlW31PmZ0ZmhuNy/JdhwBUx +HoytyGnVNc1ap9D+/XTMSjLSJCYCUnzpfUvPQdV9XHJ/WwEGyA4FCNKhdLCJYh4ukEq NaU8eWAzb2cZ9/EOC+LUgxGOqw2Ig6J9HBCLXVG3vY4MaJv8kjvpTVFbTHI94rilKb9A GZtgOSeBw1hFJBL69VyfGqhRUw4niI6XjM1Woji6Ot0lcm67ztQdABbXtFExu7c9y0rW uCZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=E2v7mRZI; 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 (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id n5-20020aa7c445000000b0050bc56c1ff8si12665705edr.184.2023.05.16.01.46.32 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 01:46:32 -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=E2v7mRZI; 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 4968D38768B0 for <ouuuleilei@gmail.com>; Tue, 16 May 2023 08:43:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4968D38768B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684226586; bh=wo0Lq2jKynfFRAB2cINgPdTvb2+4W6ljIczYdm0KTXQ=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=E2v7mRZInEK9apCDbHcUphWhom5MtDU4GXrmPy9rL6qfsMKWE4nadsms3ELGhBJuo DMdpMvktn5jWtC5RkPp95Rh3CVJj9ZnZqCDpPJz343QJbtmXlcSMqjtMEMNW0kkYyt gnfkDoT7TqPKDyQk4U2EwKm2mo/9mu7Ihqpp/rQY= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by sourceware.org (Postfix) with ESMTPS id 03B2E385701F for <gcc-patches@gcc.gnu.org>; Tue, 16 May 2023 08:39:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 03B2E385701F Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-3f509ec3196so16170105e9.1 for <gcc-patches@gcc.gnu.org>; Tue, 16 May 2023 01:39:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684226392; x=1686818392; 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=wo0Lq2jKynfFRAB2cINgPdTvb2+4W6ljIczYdm0KTXQ=; b=PPYaQvedfccN5EHWYfvAxKZmNqQlHvzchgWtwehEfW6ROI73KkGvXMhppGB5AsMu7L FDSNH/tTLyEvi5Ad1t1eXcnzNlz3bVUtb0iCIGkaZCPjmcWEDFwvwLxA7DlbUrXQksaQ iyzDY4KzCf2S6DRAx4BqOxsD6nOls67V41TE7Wv5OQ0e3xQLl3gbiO2j5NHkvwDKsC6+ GLIWm692ZvnKb9EncehON6/zDHIgQNCdkESvaglIvTNO3EUw/Vm6sPgulqObVmAI4mz1 QDD2+dESBvCQXBccwDBzkU1DzS6MtqHHKt84r4wDPuXt4d3DaRMww02JVFGMvDSNMgBL PpLg== X-Gm-Message-State: AC+VfDxsINyAPCDMV3pPINOolTcjBU5B7U2s8UXYyfHPBLGAPNURULX4 /d0ivEKycshqFCboUyDPJkSbupq16jENNxaegdFDhA== X-Received: by 2002:adf:ce8c:0:b0:306:2713:f7f with SMTP id r12-20020adfce8c000000b0030627130f7fmr29186023wrn.11.1684226391844; Tue, 16 May 2023 01:39:51 -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 m16-20020a7bce10000000b003f421979398sm1509251wmc.26.2023.05.16.01.39.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 01:39:51 -0700 (PDT) To: gcc-patches@gcc.gnu.org Cc: Richard Kenner <kenner@adacore.com> Subject: [COMMITTED] ada: Change Present_Expr field type to Uint Date: Tue, 16 May 2023 10:39:49 +0200 Message-Id: <20230516083949.1501084-1-poulhies@adacore.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.5 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: =?utf-8?q?Marc_Poulhi=C3=A8s_via_Gcc-patches?= <gcc-patches@gcc.gnu.org> Reply-To: =?utf-8?q?Marc_Poulhi=C3=A8s?= <poulhies@adacore.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766039792810660631?= X-GMAIL-MSGID: =?utf-8?q?1766039792810660631?= |
Series |
[COMMITTED] ada: Change Present_Expr field type to Uint
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Marc Poulhiès
May 16, 2023, 8:39 a.m. UTC
From: Richard Kenner <kenner@adacore.com>
We want the field to be initialized to No_Uint because we want to be
able to test in GNAT LLVM whether we've already set it so we can be
sure we only set it once.
gcc/ada/
* gen_il-gen-gen_nodes.adb (Present_Expr): Type is now Uint.
Tested on x86_64-pc-linux-gnu, committed on master.
---
gcc/ada/gen_il-gen-gen_nodes.adb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ada/gen_il-gen-gen_nodes.adb b/gcc/ada/gen_il-gen-gen_nodes.adb index 389c9a0f005..44da1d1d924 100644 --- a/gcc/ada/gen_il-gen-gen_nodes.adb +++ b/gcc/ada/gen_il-gen-gen_nodes.adb @@ -1604,7 +1604,7 @@ begin -- Gen_IL.Gen.Gen_Nodes Sm (Dcheck_Function, Node_Id), Sm (Enclosing_Variant, Node_Id), Sm (Has_SP_Choice, Flag), - Sm (Present_Expr, Valid_Uint))); + Sm (Present_Expr, Uint))); Cc (N_Variant_Part, Node_Kind, (Sy (Name, Node_Id, Default_Empty),