lto.c (hash_canonical_type): Be sure we hash only types that need alias set.
authorJan Hubicka <hubicka@ucw.cz>
Sat, 23 May 2015 18:25:41 +0000 (20:25 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 23 May 2015 18:25:41 +0000 (18:25 +0000)
commitb727ba74fbfb4fd944755de3a1f413d55ee8fbf1
tree08d38493f2287d801a46fd580856d47488a4d38a
parent1d1218fb65079b0ff98ea3b7ac9cbf3a73bcf772
lto.c (hash_canonical_type): Be sure we hash only types that need alias set.

* lto.c (hash_canonical_type): Be sure we hash only types that
need alias set.
(gimple_register_canonical_type_1): Do not produce canonical
types for types that do not need alias sets.
* tree.c (gimple_canonical_types_compatible_p): Sanity check that
we do not try to compute canonical type for type that does not need
alias set.
(verify_type): Drop FIXME for METHOD_TYPE, update FIXME for
FUNCITON_TYPE.
* tree.h (type_with_alias_set_p): New.

From-SVN: r223608
gcc/ChangeLog
gcc/lto/ChangeLog
gcc/lto/lto.c
gcc/tree.c
gcc/tree.h