diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2013-02-06 11:35:52 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2013-02-06 11:35:52 +0100 |
commit | d7761b2d64f02ce7b9fd7c354c2f5b98805235c6 (patch) | |
tree | eb7188a0eeffb5040590e4c4c719f34aa0054d7b /gcc/ada/sem_ch10.adb | |
parent | 6d840d998086aa54b0a43c45b7a323f0408bf308 (diff) | |
download | gcc-d7761b2d64f02ce7b9fd7c354c2f5b98805235c6.zip gcc-d7761b2d64f02ce7b9fd7c354c2f5b98805235c6.tar.gz gcc-d7761b2d64f02ce7b9fd7c354c2f5b98805235c6.tar.bz2 |
[multiple changes]
2013-02-06 Robert Dewar <dewar@adacore.com>
* sem_ch3.adb, sem_ch10.adb: Minor reformatting.
* exp_disp.adb: Minor comment update.
* comperr.ads, osint.ads, rtsfind.adb, sem_prag.adb: Minor addition of
No_Return pragmas.
2013-02-06 Thomas Quinot <quinot@adacore.com>
* targparm.ads, sem_ch13.adb (Support_Nondefault_SSO): New target
parameter, defaulted to False for now, indicates targets where
non-default scalar storage order may be specified.
2013-02-06 Thomas Quinot <quinot@adacore.com>
* sprint.adb (Write_Itype): Treat E_Record_Subtype_With_Private
same as E_Record_Subtype. Display E_Class_Wide_Subtype as
subtype, not type.
From-SVN: r195797
Diffstat (limited to 'gcc/ada/sem_ch10.adb')
-rw-r--r-- | gcc/ada/sem_ch10.adb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/ada/sem_ch10.adb b/gcc/ada/sem_ch10.adb index e936838..a4241af 100644 --- a/gcc/ada/sem_ch10.adb +++ b/gcc/ada/sem_ch10.adb @@ -4741,11 +4741,10 @@ package body Sem_Ch10 is -- compiling the body of the child unit. if P = Cunit_Entity (Current_Sem_Unit) - or else - (Nkind (Unit (Cunit (Current_Sem_Unit))) = N_Package_Body - and then P = Main_Unit_Entity - and then - Is_Ancestor_Unit (Cunit (Main_Unit), Cunit (Current_Sem_Unit))) + or else (Nkind (Unit (Cunit (Current_Sem_Unit))) = N_Package_Body + and then P = Main_Unit_Entity + and then Is_Ancestor_Unit + (Cunit (Main_Unit), Cunit (Current_Sem_Unit))) then return; end if; |