From 0613fb3358d0a523ed8148c589852c28b4aa1eb9 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Mon, 5 Sep 2011 16:15:16 +0200 Subject: [multiple changes] 2011-09-05 Hristian Kirtchev * 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 * 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/sem_ch6.ads | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/ada/sem_ch6.ads') diff --git a/gcc/ada/sem_ch6.ads b/gcc/ada/sem_ch6.ads index 1ca6f3b..6d5496c 100644 --- a/gcc/ada/sem_ch6.ads +++ b/gcc/ada/sem_ch6.ads @@ -179,6 +179,9 @@ package Sem_Ch6 is -- Determines if two subtype definitions are fully conformant. Used -- for entry family conformance checks (RM 6.3.1 (24)). + procedure Install_Entity (E : Entity_Id); + -- Place a single entity on the visibility chain + procedure Install_Formals (Id : Entity_Id); -- On entry to a subprogram body, make the formals visible. Note that -- simply placing the subprogram on the scope stack is not sufficient: -- cgit v1.1