[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Mon, 7 Nov 2011 16:22:28 +0000 (17:22 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 7 Nov 2011 16:22:28 +0000 (17:22 +0100)
commit7b7a0c2bdd174e11693cbe425e2a6e9e86817d93
treeda922a9e993691859131da7d8676ce000c6209da
parentcc570be69335a3d3c36c14eabc99bf0049e7f9be
[multiple changes]

2011-11-07  Yannick Moy  <moy@adacore.com>

* sem_util.adb (Unique_Entity): For a parameter on a subprogram
body that has a corresponding parameter on the subprogram
declaration, define the unique entity as being the declaration
one.

2011-11-07  Ed Schonberg  <schonberg@adacore.com>

* sem_ch6.adb (Analyze_Return_Type): In Ada 2012 mode, if the
return type of a function is the class-wide type of an incomplete
type T, T can be a Taft-amendment type and does not have to be
completed in the current private part.

2011-11-07  Ed Schonberg  <schonberg@adacore.com>

* aspects.ads (Inherited_Aspect): Map that indicates type aspects
that are inherited by default, and apply to the class-wide type
as well.
* aspects.adb (Find_Aspect): If the entity is class-wide and the
aspect is inherited, use the aspect of the specific type.

From-SVN: r181092
gcc/ada/ChangeLog
gcc/ada/aspects.adb
gcc/ada/aspects.ads
gcc/ada/sem_ch6.adb
gcc/ada/sem_util.adb