Re: Fix hashing of basetypes of methods

2015-05-21 Thread Richard Biener
On May 21, 2015 6:02:27 PM GMT+02:00, Jan Hubicka wrote: >Hi, >this patch drops TYPE_METHOD_BASETYPE from hash_canonical_type. It is >not >compared by gimple_canonical_types_compatible_p and thus it can only >corrupt the hashtable by having two entries that are equal but having >different >hash.

Fix hashing of basetypes of methods

2015-05-21 Thread Jan Hubicka
Hi, this patch drops TYPE_METHOD_BASETYPE from hash_canonical_type. It is not compared by gimple_canonical_types_compatible_p and thus it can only corrupt the hashtable by having two entries that are equal but having different hash. Theoretically we may want later distinguish the method pointer b