diff options
Diffstat (limited to 'gcc/ada/sem_ch3.adb')
-rw-r--r-- | gcc/ada/sem_ch3.adb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/sem_ch3.adb b/gcc/ada/sem_ch3.adb index 542ffee..3dded45 100644 --- a/gcc/ada/sem_ch3.adb +++ b/gcc/ada/sem_ch3.adb @@ -2869,7 +2869,7 @@ package body Sem_Ch3 is -- 2. Those generated by the Expression -- 3. Those used to constrain the Object Definition with the - -- expression constraints when the definition is unconstrained + -- expression constraints when the definition is unconstrained. -- They must be generated in this order to avoid order of elaboration -- issues. Thus the first step (after entering the name) is to analyze @@ -2880,6 +2880,7 @@ package body Sem_Ch3 is if Present (Prev_Entity) and then + -- If the homograph is an implicit subprogram, it is overridden -- by the current declaration. |