diff options
Diffstat (limited to 'gcc/ada/sem_ch10.adb')
-rw-r--r-- | gcc/ada/sem_ch10.adb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/sem_ch10.adb b/gcc/ada/sem_ch10.adb index 4283ae0..ac065d0 100644 --- a/gcc/ada/sem_ch10.adb +++ b/gcc/ada/sem_ch10.adb @@ -3352,7 +3352,9 @@ package body Sem_Ch10 is -- view because the full view of X supersedes its limited view. if Analyzed (Cunit (Unum)) - and then Is_Immediately_Visible (P) + and then (Is_Immediately_Visible (P) + or else (Is_Child_Package + and then Is_Visible_Child_Unit (P))) then return; end if; |