lto.c (iterative_hash_canonical_type, [...]): only hash main variants of types
authorJan Hubicka <hubicka@ucw.cz>
Wed, 3 Jun 2015 23:13:49 +0000 (01:13 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 3 Jun 2015 23:13:49 +0000 (23:13 +0000)
commit93e2aa6d4599866c8be24131914512dfd8c31de2
treede7a5c9a9e666510f95a3f68ca8db557f286982f
parent1cc1ac7f375c34bbd7ae1605c6fc3ff37ebaa8a4
lto.c (iterative_hash_canonical_type, [...]): only hash main variants of types

* lto.c (iterative_hash_canonical_type,
gimple_register_canonical_type): only hash main variants of types
* tree.c (verify_type_variant): Verify that type and variant is
compatible.
(gimple_canonical_types_compatible_p): Look for main variants.

From-SVN: r224107
gcc/ChangeLog
gcc/lto/ChangeLog
gcc/lto/lto.c
gcc/tree.c