This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [vta,trunk?] stabilize hashing of SSA names and builtin function DECLs
On Oct 29, 2008, "Richard Guenther" <richard.guenther@gmail.com> wrote:
> + val = iterative_hash_host_wide_int (DECL_UID (SSA_NAME_VAR (t)), val);
> + val = iterative_hash_host_wide_int (SSA_NAME_VERSION (t), val);
> why both? I would say using SSA_NAME_VERSION should be enough?
Enough, it is, sure. I figured rocking the boat a bit further might
make for better hashing. No evidence of that, though.
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}
FSFLA Board Member ÂSÃ Libre! => http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}