r180762 - in /trunk/gcc: ChangeLog godump.c

ian@gcc.gnu.org ian@gcc.gnu.org
Wed Nov 2 05:04:00 GMT 2011


Author: ian
Date: Wed Nov  2 05:04:42 2011
New Revision: 180762

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180762
Log:
	* godump.c (struct macro_hash_value): Define.
	(macro_hash_hashval): New static function.
	(macro_hash_eq, macro_hash_del): New static functions.
	(go_define): Use macro_hash_value to store values in macro_hash.
	Replace an old value on a redefinition.  Don't print anything to
	go_dump_file.
	(go_undef): Delete the entry from the hash table.
	(go_output_typedef): For an enum, use macro_hash_value, and don't
	print anything to go_dump_file.
	(go_print_macro): New static function.
	(go_finish): Traverse macro_hash with go_print_macro.
	(dump_go_spec_init): Update macro_hash creation for
	macro_hash_value.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/godump.c



More information about the Gcc-cvs mailing list