sem_res.adb (Within_Subprogram_Call): Detect also nodes that appear in entry calls.
authorArnaud Charlet <charlet@adacore.com>
Tue, 19 Apr 2016 13:06:01 +0000 (13:06 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 19 Apr 2016 13:06:01 +0000 (15:06 +0200)
commite90e9503dff78ba8d3c31f01ef41ea8b75d953ee
tree444ab39e0c86868ee041112f28077983a34e4dd0
parentdb7e372172d0753acae272572f852eb6cd8135f4
sem_res.adb (Within_Subprogram_Call): Detect also nodes that appear in entry calls.

2016-04-19  Arnaud Charlet  <charlet@adacore.com>

* sem_res.adb (Within_Subprogram_Call): Detect
also nodes that appear in entry calls.
(Resolve_Actuals, Insert_Default): Propagate
dimension information if any, from default expression to the
copy that appears in the list of actuals.
* uintp.ads: minor whitespace fix in comment.
* sem_prag.adb, stringt.adb, inline.adb, lib-xref-spark_specific.adb:
Minor code cleanup.
* set_targ.adb (Set_Targ): convert directly from
Natural to Pos, without intermediate conversion to Int.

From-SVN: r235197
gcc/ada/ChangeLog
gcc/ada/inline.adb
gcc/ada/lib-xref-spark_specific.adb
gcc/ada/sem_prag.adb
gcc/ada/sem_res.adb
gcc/ada/set_targ.adb
gcc/ada/stringt.adb
gcc/ada/uintp.ads