exp_ch6.adb (Build_In_Place_Formal): If extra formals are not present, create them...
authorEd Schonberg <schonberg@adacore.com>
Mon, 5 Sep 2011 13:08:30 +0000 (13:08 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 5 Sep 2011 13:08:30 +0000 (15:08 +0200)
commit0d566e0157b969d5868a157e73a75b6b5bff4bb8
treeda288dd70e8db01659983fdc6fd89301625d5d58
parentfb19dec9b4b50a8f39a48195347d5d60dc687c3b
exp_ch6.adb (Build_In_Place_Formal): If extra formals are not present, create them now.

2011-09-05  Ed Schonberg  <schonberg@adacore.com>

* exp_ch6.adb (Build_In_Place_Formal): If extra formals are not
present, create them now.  Needed in case the return type was
a limited view in the function declaration.
(Make_Build_In_Place_Call_In_Allocator): If return type contains
tasks, build the activation chain for it.  Pass a reference to
the Master_Id in call to Add_Task_Actuals_To_Build_In_Place call.
* exp_ch7.adb (Make_Set_Finalize_Address_Call): Clean up interface
with build_in_place calls.
* sem_ch9.adb (Analyze_Task_Type_Declaration): If partial view was
incomplete, inatialize its Corresponding_Record_Type component.
* sem_ch10.adb (Build_Chain): Initialize Private_Dependents field
of limited views.

From-SVN: r178534
gcc/ada/ChangeLog
gcc/ada/exp_ch6.adb
gcc/ada/exp_ch7.adb
gcc/ada/sem_ch10.adb
gcc/ada/sem_ch9.adb