gcc/gcc/ada sem_ch12.adb

charlet@gcc.gnu.org charlet@gcc.gnu.org
Tue Mar 15 16:13:00 GMT 2005


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	charlet@gcc.gnu.org	2005-03-15 16:12:38

Modified files:
	gcc/ada        : sem_ch12.adb 

Log message:
	2005-03-08  Javier Miranda  <miranda@adacore.com>
	Ed Schonberg  <schonberg@adacore.com>
	
	* sem_ch12.adb (Instantiate_Object): If the analysis of the actual
	parameter reported some error we immediately return. This improves the
	behaviour of the frontend in case of errors.
	(Install_Parent, Remove_Parent): Introduce new flag
	Parent_Unit_Visible, to preserve the proper visibility of the ultimate
	ancestor of a generic child unit, when the child is being instantiated.
	(Inline_Instance_Body): If we are compiling the private
	part or the body of a child unit, restore the proper visibility of the
	parents after compiling the instance body.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/sem_ch12.adb.diff?cvsroot=gcc&r1=1.47&r2=1.48



More information about the Gcc-cvs mailing list