From: Richard Biener Date: Mon, 1 Dec 2014 13:42:45 +0000 (+0000) Subject: re PR middle-end/64111 (ICE: conversion of register to a different size) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31a46aa7d4f7d810624d98547948833d7bba4756;p=gcc.git re PR middle-end/64111 (ICE: conversion of register to a different size) 2014-12-01 Richard Biener 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ae3b3c37bbd..d6d92b66f86 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-12-01 Richard Biener + + 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 PR tree-optimization/15346 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++)