Commit 5d5ea909 by Richard Stallman

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

From-SVN: r4669
parent 9e69dd9f
...@@ -5619,6 +5619,9 @@ record_jump_cond (code, mode, op0, op1, reversed_nonequality) ...@@ -5619,6 +5619,9 @@ record_jump_cond (code, mode, op0, op1, reversed_nonequality)
qty_comparison_code[reg_qty[REGNO (op0)]] = code; qty_comparison_code[reg_qty[REGNO (op0)]] = code;
if (GET_CODE (op1) == REG) 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. */ /* Put OP1 in the hash table so it gets a new quantity number. */
if (op1_elt == 0) if (op1_elt == 0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment