From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by sourceware.org (Postfix) with ESMTPS id A7C993858416 for ; Mon, 16 Jan 2023 14:49:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A7C993858416 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-wm1-x331.google.com with SMTP id j17so1637425wms.0 for ; Mon, 16 Jan 2023 06:49:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=o/JALMK/lZhHZYzO0TMw9/Nh0mdqVN0L+FvBPm8VDi8=; b=BooB4gqcJ5D7HMtlrdFlkOg3e/Sm1L+P9FsoKwtRuLmqqkDOOOs7tWUAV++iIXrsD3 KLu9LP28iYSiQWmrwa4w5SUF+A3m+f0+itTM+AXQy7sbk/y550D/aiI/nSOJzkxqQvfH SUDvZfFWowDn+m6wQtBX2Z+zAvEbfmS56VAyVvd5BJVur89e/zbJ7Rv2ns3uJD3LsLRh xznNUwfGI4TGeD1zykXAXyMKJMeI1OgTw98W36QdsUVMj8jdH9lpUSJxHI07otMry1E2 DyrPXbIPQPv52GDWEwzjxODAJ4nRYyOoP4149+/3wFTMFJDFUU28Urw18odkAHFs14Vx Qybg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=o/JALMK/lZhHZYzO0TMw9/Nh0mdqVN0L+FvBPm8VDi8=; b=m6oQsDRWh9ssaJ3Bi4+Ayt4WntJ3BOWO6DuQpUHDEYFnjnfqitM1sad0zs8+G7rk5A WOcor0F3YeCB3CNHGlpFJN2DVR01agNZ3pn5/esIx0D4FKZ6tYoz8UTW7BC7QQtWYrO7 z5fu0vpbP64YaZHZLqSVX+fg7vkenDEuTLpA9GfldTwBYhNeIPN6LU3aqfz43j/jxzM/ 9UOZH0lG0GNgEqQuRsGW/OxH00TfmnKPg6JLO8yKSdPurJMyQaIusJ0dGTPmiqOnxIu0 cg+TP6gS5VHAZtva9ojTChtTOYJDauIBhI55hl6G+pWaVUMXggqYeuTvOl1Elcq9+WHq 9s2A== X-Gm-Message-State: AFqh2kro9dBqvMAfptwAOE8whys+9rduNnyFb0EqZD7piAGjVgzh7ZQV MVppfd9zr89XSU5CCHAHJUDwQqPBEjvWvOWZ X-Google-Smtp-Source: AMrXdXtD6se4zus3LqUoSQ5Rxlr7tBqP7Nn+pwXtBnWtCGyu5xrqEdlBwaWZfa/+BFicAUSUN7Cc4Q== X-Received: by 2002:a7b:cc86:0:b0:3da:fb5c:8754 with SMTP id p6-20020a7bcc86000000b003dafb5c8754mr3457630wma.2.1673880549515; Mon, 16 Jan 2023 06:49:09 -0800 (PST) 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 s23-20020a1cf217000000b003d1e3b1624dsm38385341wmc.2.2023.01.16.06.49.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 06:49:09 -0800 (PST) From: =?UTF-8?q?Marc=20Poulhi=C3=A8s?= To: gcc-patches@gcc.gnu.org Cc: Eric Botcazou Subject: [COMMITTED] ada: Fix benign pasto in new predicate Date: Mon, 16 Jan 2023 15:49:06 +0100 Message-Id: <20230116144906.3171599-1-poulhies@adacore.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: From: Eric Botcazou gcc/ada/ * exp_util.adb (Make_CW_Equivalent_Type.Has_Tag_Of_Type): Fix pasto. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/exp_util.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/exp_util.adb b/gcc/ada/exp_util.adb index da5e84958ca..f6d91ca4a0e 100644 --- a/gcc/ada/exp_util.adb +++ b/gcc/ada/exp_util.adb @@ -9521,7 +9521,7 @@ package body Exp_Util is return True; else - case Nkind (E) is + case Nkind (Exp) is -- The tag of a component or an aggregate of a specific tagged -- type T identifies T. -- 2.34.1