[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Mon, 5 Sep 2011 14:15:16 +0000 (16:15 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 5 Sep 2011 14:15:16 +0000 (16:15 +0200)
commit0613fb3358d0a523ed8148c589852c28b4aa1eb9
treebb3332d903d9e7eb4e1c17f1cef9127fabb3e2b7
parent5dcab3ca08db53487bf2a2dbdd380009ea1bc927
[multiple changes]

2011-09-05  Hristian Kirtchev  <kirtchev@adacore.com>

* exp_ch6.adb (Move_Activation_Chain): Rewritten. The routine
no longer needs to search through the entities of the return
statement scope to find the _chain.
* sem_ch5.adb: Add with and use clauses for Exp_Ch6 and Sem_Ch6.
(Analyze_Block_Statement): Add local variable
Is_BIP_Return_Statement. Add machinery to install all entities
produced by the expansion of the return object declaration.
(Install_Return_Entities): New routine.
* sem_ch6.ads, sem_ch6.adb (Install_Entity): Moved from body to spec.

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

* sem_ch10.adb (Analyze_Context): Apply simple fixup if context
of subunit is incomplete.
(Analyze_Proper_Body): If parent spec is not available, do not
attempt analysis.

From-SVN: r178549
gcc/ada/ChangeLog
gcc/ada/exp_ch6.adb
gcc/ada/sem_ch10.adb
gcc/ada/sem_ch5.adb
gcc/ada/sem_ch6.adb
gcc/ada/sem_ch6.ads