+2017-08-01 Andrew Pinski <apinski@cavium.com>
+
+ * tree-ssa-scopedtables.c (hashable_expr_equal_p): Check
+ BIT_INSERT_EXPR's operand 1
+ to see if the types precision matches.
+
2017-08-01 Martin Liska <mliska@suse.cz>
PR middle-end/70140
expr1->ops.ternary.opnd2, 0))
return false;
+ /* BIT_INSERT_EXPR has an implict operand as the type precision
+ of op1. Need to check to make sure they are the same. */
+ if (expr0->ops.ternary.op == BIT_INSERT_EXPR
+ && TREE_CODE (expr0->ops.ternary.opnd1) == INTEGER_CST
+ && TREE_CODE (expr1->ops.ternary.opnd1) == INTEGER_CST
+ && TYPE_PRECISION (TREE_TYPE (expr0->ops.ternary.opnd1))
+ != TYPE_PRECISION (TREE_TYPE (expr1->ops.ternary.opnd1)))
+ return false;
+
if (operand_equal_p (expr0->ops.ternary.opnd0,
expr1->ops.ternary.opnd0, 0)
&& operand_equal_p (expr0->ops.ternary.opnd1,