Fix hash of WIDEN_*_EXPR
We're hashing operand 2 to the temporary hash. * fold-const.cc (operand_compare::hash_operand): Fix hash of WIDEN_*_EXPR.
This commit is contained in:
parent
1e32a8be69
commit
a8e61cd71f
1 changed files with 1 additions and 1 deletions
|
@ -4123,7 +4123,7 @@ operand_compare::hash_operand (const_tree t, inchash::hash &hstate,
|
|||
hash_operand (TREE_OPERAND (t, 0), one, flags);
|
||||
hash_operand (TREE_OPERAND (t, 1), two, flags);
|
||||
hstate.add_commutative (one, two);
|
||||
hash_operand (TREE_OPERAND (t, 2), two, flags);
|
||||
hash_operand (TREE_OPERAND (t, 2), hstate, flags);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue