* lto.c (hash_canonical_type): Be sure we hash only types that
commit24a769d909357fb8b94d4184ac726d3740ef7703
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 May 2015 18:25:41 +0000 (23 18:25 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 May 2015 18:25:41 +0000 (23 18:25 +0000)
tree08d38493f2287d801a46fd580856d47488a4d38a
parent00c1bd91371d33e1253afb625ceda71e3c261803
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223608 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/lto/ChangeLog
gcc/lto/lto.c
gcc/tree.c
gcc/tree.h