rtsfind.adb (Is_RTE): Protect against entity with no scope field (previously this...
authorRobert Dewar <dewar@adacore.com>
Tue, 25 Feb 2014 15:52:52 +0000 (15:52 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 25 Feb 2014 15:52:52 +0000 (16:52 +0100)
commite7ba564fca6cb914e202ed4807142b7008bcde0c
tree12a5a685674be8dfe39778e861e961ac374d255c
parent2886a49530f3c37c1265224a4f5a63ab91a3bd19
rtsfind.adb (Is_RTE): Protect against entity with no scope field (previously this call blew up on the...

2014-02-25  Robert Dewar  <dewar@adacore.com>

* rtsfind.adb (Is_RTE): Protect against entity with no scope
field (previously this call blew up on the Standard entity).
* sem_attr.adb (Analyze_Attribute, case Access): Remove
test for No_Abort_Statements, this is now handled in
Set_Entity_With_Checks.
* exp_ch6.adb, sem_ch10.adb, sem_ch4.adb, sem_ch8.adb, sem_res.adb:
Change name Set_Entity_With_Style_Check => Set_Entity_With_Checks.
* sem_util.ads, sem_util.adb: Change name Set_Entity_With_Style_Check =>
Set_Entity_With_Checks.
(Set_Entity_With_Checks): Add checks for No_Dynamic_Attachment,
Add checks for No_Abort_Statements.

2014-02-25  Robert Dewar  <dewar@adacore.com>

* exp_ch9.adb (Expand_Entry_Barrier): Add comment that call to
Check_Restriction is OK.

From-SVN: r208148
gcc/ada/ChangeLog
gcc/ada/exp_ch6.adb
gcc/ada/exp_ch9.adb
gcc/ada/rtsfind.adb
gcc/ada/sem_attr.adb
gcc/ada/sem_ch10.adb
gcc/ada/sem_ch4.adb
gcc/ada/sem_ch8.adb
gcc/ada/sem_res.adb
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads