On Fri, Aug 23, 2013 at 02:44:49PM +0200, Jakub Jelinek wrote:
> Why not just return TYPE_UID (data->type); ?
Wasn't aware it's enough.
> Anyway, once you change the hash table uses into pointer_map, this will
> all go away.
Right.
Marek
On Fri, Aug 23, 2013 at 02:37:56PM +0200, Marek Polacek wrote:
> This patch fixes bootstrap comparison when doing bootstrap
> with -fsanitize=undefined enabled. We need to hash the UID of the
> type and also I had to switch two statements; we need to get
> TYPE_MAIN_VARIANT of the type first...
>
This patch fixes bootstrap comparison when doing bootstrap
with -fsanitize=undefined enabled. We need to hash the UID of the
type and also I had to switch two statements; we need to get
TYPE_MAIN_VARIANT of the type first...
Hence, no more bootstrap comparison failures. Woohoo!
Tested x86_64-lin