projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e69dd9
)
(record_jump_cond): Look up op1 again after inserting op0.
author
Richard Stallman
<rms@gnu.org>
Sat, 12 Jun 1993 23:42:59 +0000
(23:42 +0000)
committer
Richard Stallman
<rms@gnu.org>
Sat, 12 Jun 1993 23:42:59 +0000
(23:42 +0000)
From-SVN: r4669
gcc/cse.c
patch
|
blob
|
history
diff --git
a/gcc/cse.c
b/gcc/cse.c
index 8ae97142760576a03a8046fd7f9428bc0fbe306f..0e1fe8431c17c49381ca5c9fca398c216e1aae09 100644
(file)
--- a/
gcc/cse.c
+++ b/
gcc/cse.c
@@
-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)
{