This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] fix PR33961, load/store/nontrap confusion


On 10/31/07, Michael Matz <matz@suse.de> wrote:
>    tree n = ((struct name_to_bb *)p)->ssa_name;
> -  return htab_hash_pointer (n);
> +  return htab_hash_pointer (n) ^ ((struct name_to_bb *)p)->store;

If this is a real SSA name, can't you just use the SSA name's version
number instead of using a hash based on the pointer value?

Thanks,
Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]