From: Jim Wilson Date: Wed, 1 Jun 1994 00:17:00 +0000 (-0700) Subject: (copy_loop_body): Copy CALL_INSN_FUNCTION_USAGE field. X-Git-Tag: misc/cutover-egcs-0~6537 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d98fe23f49f43dae201f5e8a4fe93f0c1896449;p=thirdparty%2Fgcc.git (copy_loop_body): Copy CALL_INSN_FUNCTION_USAGE field. From-SVN: r7406 --- diff --git a/gcc/unroll.c b/gcc/unroll.c index 66e63d7af0e6..aba78dcf28d3 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -1829,6 +1829,11 @@ copy_loop_body (copy_start, copy_end, map, exit_label, last_iteration, copy = emit_call_insn (pattern); 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 if (cc0_insn) try_constants (cc0_insn, map);