r164961 - in /trunk/gcc: ChangeLog gimple-fold....

hubicka@gcc.gnu.org hubicka@gcc.gnu.org
Mon Oct 4 20:59:00 GMT 2010


Author: hubicka
Date: Mon Oct  4 20:59:07 2010
New Revision: 164961

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164961
Log:

	* gimple-fold.c (static_object_in_other_unit_p): Rename to...
	(can_refer_decl_in_current_unit_p): ... this one; reverse return
	value; handle comdats too.
	(canonicalize_constructor_val): Use it; handle function_decls
	correctly.
	(gimple_fold_obj_type_ref_known_binfo): Likewise.
	* gimple.c (get_base_address): Accept all kinds of decls.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-fold.c
    trunk/gcc/gimple.c



More information about the Gcc-cvs mailing list