Commit 2d98fe23 by Jim Wilson

(copy_loop_body): Copy CALL_INSN_FUNCTION_USAGE field.

From-SVN: r7406
parent b877b5ab
...@@ -1829,6 +1829,11 @@ copy_loop_body (copy_start, copy_end, map, exit_label, last_iteration, ...@@ -1829,6 +1829,11 @@ copy_loop_body (copy_start, copy_end, map, exit_label, last_iteration,
copy = emit_call_insn (pattern); copy = emit_call_insn (pattern);
REG_NOTES (copy) = initial_reg_note_copy (REG_NOTES (insn), map); REG_NOTES (copy) = initial_reg_note_copy (REG_NOTES (insn), map);
/* Because the USAGE information potentially contains objects other
than hard registers, we need to copy it. */
CALL_INSN_FUNCTION_USAGE (copy) =
copy_rtx_and_substitute (CALL_INSN_FUNCTION_USAGE (insn), map);
#ifdef HAVE_cc0 #ifdef HAVE_cc0
if (cc0_insn) if (cc0_insn)
try_constants (cc0_insn, map); try_constants (cc0_insn, map);
......
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