]> git.ipfire.org Git - thirdparty/gcc.git/commit
lto-symtab.c (lto_symtab_merge): Use gimple_types_compatible_p.
authorRichard Guenther <rguenther@suse.de>
Tue, 20 Jul 2010 12:05:59 +0000 (12:05 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 20 Jul 2010 12:05:59 +0000 (12:05 +0000)
commitf5d6836a24cd516bab504b829f30565f76da2fa5
treebde8f9d8031adf6d703dcc9a8bdba382267ca985
parentad650c924ff8f880f08a3f287abb7c1ddd2ecf4d
lto-symtab.c (lto_symtab_merge): Use gimple_types_compatible_p.

2010-07-20  Richard Guenther  <rguenther@suse.de>

* lto-symtab.c (lto_symtab_merge): Use gimple_types_compatible_p.
(lto_symtab_merge_decls_2): Likewise.
* gimple.h (gimple_types_compatible_p): Declare.
* gimple.c (gimple_queue_type_fixup): Remove.
(gimple_fixup_complete_and_incomplete_subtype_p): Likewise.
(gimple_compatible_complete_and_incomplete_type_p): New
function.
(gimple_types_compatible_p): Adjust.
(gimple_register_type): Remove type fixup code.
(print_gimple_types_stats): Adjust.
(free_gimple_type_tables): Likewise.
* lto-streamer-in.c (input_gimple_stmt): Use gimple_types_compatible_p.
* tree-ssa.c (useless_type_conversion_p): Likewise.

From-SVN: r162330
gcc/ChangeLog
gcc/gimple.c
gcc/gimple.h
gcc/lto-streamer-in.c
gcc/lto-symtab.c
gcc/tree-ssa.c