gcc/gcc/ada sem_ch3.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:57

Modified files:
	gcc/ada        : sem_ch3.adb 

Log message:
	2004-10-26  Ed Schonberg  <schonberg@gnat.com>
	
	* sem_ch3.adb (Complete_Private_Subtype): If the full view is a task
	or protected type with discriminants, do not constrain the
	corresponding record type if the subtype declaration has no
	discriminant constraints. This can be the case in source code, or in
	the subtype declaration created to rename an actual type within an
	instantiation.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/sem_ch3.adb.diff?cvsroot=gcc&r1=1.52&r2=1.53



More information about the Gcc-cvs mailing list