[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Tue, 19 Apr 2016 12:22:12 +0000 (14:22 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 19 Apr 2016 12:22:12 +0000 (14:22 +0200)
commit87fd6836074fadc41833bf26686e99dbe574a638
treedb80712bf51c3130061299a0c940026b2b325d7a
parentb35e5dcb14b85adb622f0f6ee4c629e9a44dcdd0
[multiple changes]

2016-04-19  Ed Schonberg  <schonberg@adacore.com>

* sem_res.adb (Resolve_Entry_Call): If the entry has
preconditions it is rewritten by means of a wrapper that
incorporates the original call. Before rewriting generate a
reference to the entry being called to prevent spurious warnings
and provide correct cross-reference information.

2016-04-19  Hristian Kirtchev  <kirtchev@adacore.com>

* sem_disp.adb (Check_Dispatching_Context): Code cleanup. Add
local constant Scop. Ignore any internally generated loops when
performing the check concerning an abstract subprogram call
without a controlling argument.
* sem_util.ads, sem_util.adb (Current_Scope_No_Loops): New routine.

From-SVN: r235192
gcc/ada/ChangeLog
gcc/ada/sem_disp.adb
gcc/ada/sem_res.adb
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads