2013-02-06 Ed Schonberg <schonberg@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Feb 2013 10:13:51 +0000 (10:13 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Feb 2013 10:13:51 +0000 (10:13 +0000)
commit86594966d3ce54a3dfdd96e9a5cc53078eed76da
tree0a39ca01b439decf89f4eef569e3dd4cf7ff86f2
parent66fbfcda5c917a572439940c5be0539c4226f083
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195791 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/checks.adb
gcc/ada/einfo.ads
gcc/ada/exp_ch4.adb
gcc/ada/sem_ch12.adb