gimple.c (gimple_types_compatible_p_1): Compare names of the types themselves.
authorRichard Guenther <rguenther@suse.de>
Thu, 19 May 2011 10:31:23 +0000 (10:31 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 19 May 2011 10:31:23 +0000 (10:31 +0000)
commit31b3ca64f48e85c780d9d98730231ff2961c4d32
tree33bf9f864a99e5d23f72adbcd38ea97726d8ff2b
parentf263981ac8f33dce2cfd904986ee596de5ddcdb1
gimple.c (gimple_types_compatible_p_1): Compare names of the types themselves.

2011-05-19  Richard Guenther  <rguenther@suse.de>

* gimple.c (gimple_types_compatible_p_1): Compare names of
the types themselves.
(iterative_hash_gimple_type): And hash them that way.
(gimple_register_type_1): If we register a main variant properly
initialize the leader to ourselves.

lto/
* lto.c (uniquify_nodes): First register all types before
fixing up the tree SCC.

From-SVN: r173900
gcc/ChangeLog
gcc/gimple.c
gcc/lto/ChangeLog
gcc/lto/lto.c