r131068 - in /trunk/gcc/ada: einfo.adb einfo.ad...

charlet@gcc.gnu.org charlet@gcc.gnu.org
Wed Dec 19 16:22:00 GMT 2007


Author: charlet
Date: Wed Dec 19 16:22:02 2007
New Revision: 131068

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131068
Log:
2007-12-19  Robert Dewar  <dewar@adacore.com>

	* g-expect-vms.adb, g-expect.adb, s-poosiz.adb: 
	Add pragma Warnings (Off) for unassigned IN OUT arguments

	* sem_warn.adb (Output_Reference): Suppress messages for internal names
	(Check_References): Extensive changes to tune up warnings
	(Output_Non_Modifed_In_Out_Warnings): Changes to tune up warnings
	(Has_Pragma_Unmodifed_Check_Spec): New function
	(Check_References): Implement pragma Unmodified
	(Warn_On_Unassigned_Out_Parameter): Implement pragma Unmodified

	* par-prag.adb: Dummy entry for pragma Unmodified

	* sem_prag.adb: Implement pragma Unmodified

	* einfo.ads, einfo.adb: (Has_Pragma_Unmodified): New flag
	(Proc_Next_Component_Or_Discriminant): Fix typo.
	Update comments.

	* sem_util.adb (Note_Possible_Modification): Add processinng for pragma
	Unmodified.
	(Reset_Analyzed_Flags): Use Traverse_Proc instead of Traverse_Func,
	because the former already takes care of discarding the result.
	(Mark_Coextensions): Remove ununused initial value from Is_Dynamic.
	Add comment.

	* snames.h, snames.ads, snames.adb: Add entry for pragma Unmodified


Modified:
    trunk/gcc/ada/einfo.adb
    trunk/gcc/ada/einfo.ads
    trunk/gcc/ada/g-expect-vms.adb
    trunk/gcc/ada/g-expect.adb
    trunk/gcc/ada/par-prag.adb
    trunk/gcc/ada/s-poosiz.adb
    trunk/gcc/ada/sem_prag.adb
    trunk/gcc/ada/sem_util.adb
    trunk/gcc/ada/sem_warn.adb
    trunk/gcc/ada/snames.adb
    trunk/gcc/ada/snames.ads
    trunk/gcc/ada/snames.h



More information about the Gcc-cvs mailing list