r127471 - /trunk/gcc/ada/sem_warn.adb

charlet@gcc.gnu.org charlet@gcc.gnu.org
Tue Aug 14 09:00:00 GMT 2007


Author: charlet
Date: Tue Aug 14 09:00:48 2007
New Revision: 127471

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127471
Log:
	(Check_References.Publicly_Referenceable): A formal parameter is never
	publicly referenceable outside of its body.
	(Check_References): For an unreferenced formal parameter in an accecpt
	statement, use the same warning circuitry as for subprogram formal
	parameters.  
	(Warn_On_Unreferenced_Entity): New subprogram, taken from
	Output_Unreferenced_Messages, containing the part of that routine that
	is now reused for entry formals as described above.
	(Has_Pragma_Unreferenced_Check_Spec): New function
	(Check_References): Clean up handling of unmodified IN OUT parameters

Modified:
    trunk/gcc/ada/sem_warn.adb



More information about the Gcc-cvs mailing list