This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] fix PR33961, load/store/nontrap confusion
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Michael Matz" <matz at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 31 Oct 2007 15:55:39 -0700
- Subject: Re: [patch] fix PR33961, load/store/nontrap confusion
- References: <Pine.LNX.4.64.0710312335580.23011@wotan.suse.de>
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