From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7871) id 124313858426; Thu, 5 Jan 2023 14:39:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 124313858426 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1672929577; bh=4xGhe2nhn9Y6QD5vw1J/CPp+ZBlovAiinrto8HP7foU=; h=From:To:Subject:Date:From; b=b13IGI0o5YLdyF319keakn4Gw2tgnuHKbQWSM9yHudPTr/y3Vv616qas0GVn0jdq/ utaiN7U5nD5fXBUQWF4dQm7BivayjrTyEJQglf+ZaqsiUs9TsK3QuywjqC4N3q903w LZ/DEe7339QptjC5zmvevZyarJpbp+Aw3EtT3IZg= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Marc Poulhi?s To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-5030] ada: Minor tweak to test added in previous change X-Act-Checkin: gcc X-Git-Author: Eric Botcazou X-Git-Refname: refs/heads/master X-Git-Oldrev: 09e0175327d333360fbe45346c411a8bc7eee1f1 X-Git-Newrev: bd96a6a8a6689ac8f65877b2173f48d231e9f4af Message-Id: <20230105143937.124313858426@sourceware.org> Date: Thu, 5 Jan 2023 14:39:36 +0000 (GMT) List-Id: https://gcc.gnu.org/g:bd96a6a8a6689ac8f65877b2173f48d231e9f4af commit r13-5030-gbd96a6a8a6689ac8f65877b2173f48d231e9f4af Author: Eric Botcazou Date: Sat Dec 24 20:29:14 2022 +0100 ada: Minor tweak to test added in previous change This changes the test to use the common idion of the codebase. gcc/ada/ * exp_util.adb (Make_CW_Equivalent_Type) : Tweak. Diff: --- 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 245c3cd9dc7..ab4b18da538 100644 --- a/gcc/ada/exp_util.adb +++ b/gcc/ada/exp_util.adb @@ -9731,7 +9731,7 @@ package body Exp_Util is -- identifies T. if Is_Entity_Name (Exp) - and then Ekind (Entity (Exp)) in Constant_Or_Variable_Kind + and then Ekind (Entity (Exp)) in E_Constant | E_Variable then return True;