gcc/gcc/ada exp_ch4.adb

charlet@gcc.gnu.org charlet@gcc.gnu.org
Thu Feb 10 15:16:00 GMT 2005


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	charlet@gcc.gnu.org	2005-02-10 13:54:16

Modified files:
	gcc/ada        : exp_ch4.adb 

Log message:
	* exp_ch4.adb (Expand_Composite_Equality): If a component is an
	unchecked union with no inferable discriminants, return a
	Raise_Program_Error node, rather than inserting it at the point the
	type is frozen.
	(Expand_Record_Equality, Component_Equality): Handle properly the case
	where some subcomponent is an unchecked union whose generated equality
	code raises program error.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/exp_ch4.adb.diff?cvsroot=gcc&r1=1.31&r2=1.32



More information about the Gcc-cvs mailing list