summaryrefslogtreecommitdiffstats
path: root/gcc/ada/sem_ch10.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-02-06 10:35:52 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-02-06 10:35:52 +0000
commitc091257074c65f39d9ba23ef191ad9bdf687cbfe (patch)
treeeb7188a0eeffb5040590e4c4c719f34aa0054d7b /gcc/ada/sem_ch10.adb
parentb8214689c515ec4e8ed76edefa3bfd80b8826902 (diff)
downloadppe42-gcc-c091257074c65f39d9ba23ef191ad9bdf687cbfe.tar.gz
ppe42-gcc-c091257074c65f39d9ba23ef191ad9bdf687cbfe.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195797 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_ch10.adb')
-rw-r--r--gcc/ada/sem_ch10.adb9
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/ada/sem_ch10.adb b/gcc/ada/sem_ch10.adb
index e936838694a..a4241afabd7 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;
OpenPOWER on IntegriCloud