gcc/gcc/ada sem_ch12.adb

charlet@gcc.gnu.org charlet@gcc.gnu.org
Wed Oct 27 13:42:00 GMT 2004


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	charlet@gcc.gnu.org	2004-10-27 13:41:00

Modified files:
	gcc/ada        : sem_ch12.adb 

Log message:
	2004-10-26  Ed Schonberg  <schonberg@gnat.com>
	Javier Miranda  <miranda@gnat.com>
	
	* sem_ch12.adb (In_Main_Context): Predicate to determine whether the
	current instance appears within a unit that is directly in the context
	of the main unit.
	Used to determine whether the body of the instance should be analyzed
	immediately after its spec, to make its subprogram bodies available
	for front-end inlining.
	(Analyze_Formal_Array_Type): Cleanup condition that checks that range
	constraint is not allowed on the component type (AARM 12.5.3(3))

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



More information about the Gcc-cvs mailing list