gcc/gcc/ada sem_ch4.adb

charlet@gcc.gnu.org charlet@gcc.gnu.org
Wed Dec 8 11:51:00 GMT 2004


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	charlet@gcc.gnu.org	2004-12-08 11:48:25

Modified files:
	gcc/ada        : sem_ch4.adb 

Log message:
	* sem_ch4.adb (Process_Implicit_Dereference_Prefix): New subprogram
	used to record an implicit dereference as a read operation on its
	prefix when operating under -gnatc. Necessary to avoid spurious
	'variable assigned but never read' warnings in that mode.
	(Process_Indexed_Component, Analyze_Selected_Component): When the prefix
	is a non-overloaded implicit dereference, call the above subprogram to
	ensure proper recording of references.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/sem_ch4.adb.diff?cvsroot=gcc&r1=1.33&r2=1.34



More information about the Gcc-cvs mailing list