diff options
Diffstat (limited to 'gcc/ada/sem_ch9.adb')
-rw-r--r-- | gcc/ada/sem_ch9.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_ch9.adb b/gcc/ada/sem_ch9.adb index effc858..bf266e0 100644 --- a/gcc/ada/sem_ch9.adb +++ b/gcc/ada/sem_ch9.adb @@ -1252,7 +1252,7 @@ package body Sem_Ch9 is E := First_Entity (P_Type); while Present (E) loop if Chars (E) = Chars (Id) - and then (Ekind (E) = Ekind (Id)) + and then Ekind (E) = Ekind (Id) and then Type_Conformant (Id, E) then Entry_Name := E; |