diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-12-01 13:42:45 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-12-01 13:42:45 +0000 |
commit | 67c1eefe221916ebbfa1e28885a0f5b23da499e4 (patch) | |
tree | e4ea08bab1484690e1f6d459067ed58528a050c3 /gcc/tree.c | |
parent | 2309dbdc07dd20aecfb8fa71e591c98540f5392e (diff) | |
download | gcc-67c1eefe221916ebbfa1e28885a0f5b23da499e4.tar.gz |
2014-12-01 Richard Biener <rguenther@suse.de>
PR middle-end/64111
* tree.c (int_cst_hasher::hash): Use TYPE_UID instead of
htab_hash_pointer to not break PCH.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218212 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c index f6a6d04a14a..009f34275b2 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -1303,7 +1303,7 @@ hashval_t int_cst_hasher::hash (tree x) { const_tree const t = x; - hashval_t code = htab_hash_pointer (TREE_TYPE (t)); + hashval_t code = TYPE_UID (TREE_TYPE (t)); int i; for (i = 0; i < TREE_INT_CST_NUNITS (t); i++) |