Add wide_int version of inchash::hash::add_wide_int
commitca6b9aedab14bde39411d70f465480228da2983e
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 22 Oct 2017 21:04:02 +0000 (22 21:04 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 22 Oct 2017 21:04:02 +0000 (22 21:04 +0000)
tree971f8140db3ad5996450c01a83b79bf0fe08af00
parenteadcd69cf2e92c57b7af8a0c7b2f813d6e1f58a9
Add wide_int version of inchash::hash::add_wide_int

This patch adds an inchash hasher for wide_int-based types.
It means that hash_tree no longer hashes TREE_INT_CST_EXT_NUNITS,
but that was redundant with hashing the type.

2017-10-22  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
* inchash.h (inchash::hash::add_wide_int): New function.
* lto-streamer-out.c (hash_tree): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253988 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/inchash.h
gcc/lto-streamer-out.c