(record_jump_cond): Look up op1 again after inserting op0.

From-SVN: r4669
This commit is contained in:
Richard Stallman 1993-06-12 23:42:59 +00:00
parent 9e69dd9f3a
commit 5d5ea90929

View File

@ -5619,6 +5619,9 @@ record_jump_cond (code, mode, op0, op1, reversed_nonequality)
qty_comparison_code[reg_qty[REGNO (op0)]] = code;
if (GET_CODE (op1) == REG)
{
/* Look it up again--in case op0 and op1 are the same. */
op1_elt = lookup (op1, op1_hash_code, mode);
/* Put OP1 in the hash table so it gets a new quantity number. */
if (op1_elt == 0)
{