gcc/gcc/lto
Richard Guenther 4490cae6cb gimple.h (gimple_register_canonical_type): Declare.
2010-10-22  Richard Guenther  <rguenther@suse.de>

	* gimple.h (gimple_register_canonical_type): Declare.
	* gimple.c (gimple_canonical_types): New global hashtable.
	(struct gimple_type_leader_entry_s): New type.
	(gimple_type_leader): New global cache.
	(gimple_lookup_type_leader): New function.
	(gtc_visit): Query the proper cache.
	(gimple_types_compatible_p): Likewise.
	(gimple_register_type): Use the new cache instead of TYPE_CANONICAL.
	(gimple_canonical_type_eq): New function.
	(gimple_register_canonical_type): Likewise.
	(print_gimple_types_stats): Adjust for gimple_canonical_types.
	(free_gimple_type_tables): Likewise.  Free gimple_type_leader.
	* tree-ssa.c (useless_type_conversion_p): Do not dispatch to
	gimple_types_compatible_p for LTO.

	lto/
	* lto.c (lto_fixup_type): Fixup TYPE_CANONICAL again, via
	the new gimple_register_canonical_type.

From-SVN: r165848
2010-10-22 17:50:19 +00:00
..
ChangeLog gimple.h (gimple_register_canonical_type): Declare. 2010-10-22 17:50:19 +00:00
common.c
common.h
config-lang.in Add LTO to boot language if it is enabled. 2010-10-20 05:38:22 -07:00
lang-specs.h
lang.opt
lto-coff.c
lto-coff.h
lto-elf.c * lto-elf.c (SHN_XINDEX): Define if not already defined. 2010-10-14 12:43:37 +00:00
lto-endian.h
lto-lang.c Makefile.in (TM_H): Include $(FLAGS_H) instead of options.h. 2010-10-08 16:17:32 +01:00
lto-macho.c
lto-macho.h
lto-tree.h
lto.c gimple.h (gimple_register_canonical_type): Declare. 2010-10-22 17:50:19 +00:00
lto.h
Make-lang.in re PR lto/45638 (No rule to make target check-lto', needed by check'. Stop.) 2010-10-18 17:16:07 +02:00