[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Wed, 6 Feb 2013 10:13:51 +0000 (11:13 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 6 Feb 2013 10:13:51 +0000 (11:13 +0100)
commitd2a6bd6bb570c3ece919323e9a01fe3c2beec08d
tree0a39ca01b439decf89f4eef569e3dd4cf7ff86f2
parent4c7e09908b732b93b74b49ad3eafda0198c1d1df
[multiple changes]

2013-02-06  Ed Schonberg  <schonberg@adacore.com>

* checks.adb (Apply_Discriminant_Check): Look for discriminant
constraint in full view of private type when needed.
* sem_ch12.adb (Validate_Array_Type_Instance): Specialize
previous patch to components types that are private and without
discriminants.

2013-02-06  Hristian Kirtchev  <kirtchev@adacore.com>

* exp_ch4.adb (Find_Enclosing_Context): Recognize
a simple return statement as one of the cases that require special
processing with respect to temporary controlled function results.
(Process_Transient_Object): Do attempt to finalize a temporary
controlled function result when the associated context is
a simple return statement.  Instead, leave this task to the
general finalization mechanism.

2013-02-06  Thomas Quinot  <quinot@adacore.com>

* einfo.ads: Minor reformatting.
(Status_Flag_Or_Transient_Decl): Add ??? comment.

From-SVN: r195791
gcc/ada/ChangeLog
gcc/ada/checks.adb
gcc/ada/einfo.ads
gcc/ada/exp_ch4.adb
gcc/ada/sem_ch12.adb