Commit 2fb95912 by Richard Stallman

(delete_computation): reg_referenced_p wants body, not insn.

From-SVN: r3001
parent b5c2c9bc
...@@ -3067,7 +3067,7 @@ delete_computation (insn) ...@@ -3067,7 +3067,7 @@ delete_computation (insn)
rtx note, next; rtx note, next;
#ifdef HAVE_cc0 #ifdef HAVE_cc0
if (reg_referenced_p (cc0_rtx, insn)) if (reg_referenced_p (cc0_rtx, PATTERN (insn)))
{ {
rtx prev = prev_nonnote_insn (insn); rtx prev = prev_nonnote_insn (insn);
/* We assume that at this stage /* We assume that at this stage
......
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