re PR middle-end/64111 (ICE: conversion of register to a different size)

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.

From-SVN: r218212
This commit is contained in:
Richard Biener 2014-12-01 13:42:45 +00:00 committed by Richard Biener
parent c306cfafef
commit 31a46aa7d4
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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.
2014-12-01 Richard Biener <rguenther@suse.de>
PR tree-optimization/15346

View File

@ -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++)