sem_ch6.adb (Analyze_Expression_Function): Set Inlined flag on the entity of a subpro...
authorEd Schonberg <schonberg@adacore.com>
Mon, 18 Apr 2016 09:52:22 +0000 (09:52 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 18 Apr 2016 09:52:22 +0000 (11:52 +0200)
commit88fa9a245cc307a62d119797dfcd9422425f2f45
treee9c856e0730b169877d12cfd886fb7003f6dbad6
parent7b47778e62c578bea9b4e34dc4cf6f7f4d01e8bc
sem_ch6.adb (Analyze_Expression_Function): Set Inlined flag on the entity of a subprogram declaration that is completed by...

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

* sem_ch6.adb (Analyze_Expression_Function): Set Inlined flag
on the entity of a subprogram declaration that is completed by
an expression function.

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

* sem_util.adb (Is_Current_Instance): A entity given by a subtype
declaration can appear in an aspect specification for a dynamic
predicate, and a pragma for aspect Predicate_Failure.
* exp_util.adb (Replace_Subtype_References): Replace current
occurrences of the subtype to which a dynamic predicate applies,
byt the expression that triggers a predicate check. Needed to
implement new aspect Predicate_Failure.

From-SVN: r235107
gcc/ada/ChangeLog
gcc/ada/exp_util.adb
gcc/ada/sem_ch6.adb
gcc/ada/sem_util.adb