summaryrefslogtreecommitdiff
path: root/gcc/ada/sem_aux.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/sem_aux.adb')
-rw-r--r--gcc/ada/sem_aux.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ada/sem_aux.adb b/gcc/ada/sem_aux.adb
index 12c20ac6126..d95af4f82bb 100644
--- a/gcc/ada/sem_aux.adb
+++ b/gcc/ada/sem_aux.adb
@@ -103,6 +103,8 @@ package body Sem_Aux is
then
return Class_Wide_Type (Non_Limited_View (Etype (Ent)));
+ -- In all other cases, return entity unchanged
+
else
return Ent;
end if;