diff options
Diffstat (limited to 'gcc/ada/sem_ch7.adb')
-rw-r--r-- | gcc/ada/sem_ch7.adb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/ada/sem_ch7.adb b/gcc/ada/sem_ch7.adb index e53fb55e380..ae14084bdf6 100644 --- a/gcc/ada/sem_ch7.adb +++ b/gcc/ada/sem_ch7.adb @@ -254,9 +254,8 @@ package body Sem_Ch7 is end if; if Is_Package_Or_Generic_Package (Spec_Id) - and then - (Scope (Spec_Id) = Standard_Standard - or else Is_Child_Unit (Spec_Id)) + and then (Scope (Spec_Id) = Standard_Standard + or else Is_Child_Unit (Spec_Id)) and then not Unit_Requires_Body (Spec_Id) then if Ada_Version = Ada_83 then |