public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5030] ada: Minor tweak to test added in previous change
@ 2023-01-05 14:39 Marc Poulhi?s
  0 siblings, 0 replies; only message in thread
From: Marc Poulhi?s @ 2023-01-05 14:39 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:bd96a6a8a6689ac8f65877b2173f48d231e9f4af

commit r13-5030-gbd96a6a8a6689ac8f65877b2173f48d231e9f4af
Author: Eric Botcazou <ebotcazou@adacore.com>
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) <Has_Tag_Of_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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-05 14:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-05 14:39 [gcc r13-5030] ada: Minor tweak to test added in previous change Marc Poulhi?s

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).