Message ID | alpine.LSU.2.11.1412011119270.5894@zhemvz.fhfr.qr |
---|---|
State | New |
Headers | show |
On Dec 1, 2014, at 2:23 AM, Richard Biener <rguenther@suse.de> wrote: > The following patch unbreaks PCH > Any comments? Seems better to me.
Index: gcc/tree.c =================================================================== --- gcc/tree.c (revision 218200) +++ gcc/tree.c (working copy) @@ -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++)