diff options
Diffstat (limited to 'gcc/ada/sem.adb')
-rw-r--r-- | gcc/ada/sem.adb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/ada/sem.adb b/gcc/ada/sem.adb index bac147c96b9..071d38fdb45 100644 --- a/gcc/ada/sem.adb +++ b/gcc/ada/sem.adb @@ -1978,9 +1978,7 @@ package body Sem is -- See if it belongs to current unit, and if so, include its -- with_clauses. Do not process main unit prematurely. - if Pnode = CU - and then CU /= Cunit (Main_Unit) - then + if Pnode = CU and then CU /= Cunit (Main_Unit) then Walk_Immediate (Cunit (S), Include_Limited); end if; end; |