From 819e203639b3d6ee0a48bc86b57cf2af1619cf0a Mon Sep 17 00:00:00 2001 From: wilson Date: Wed, 1 Jun 1994 00:17:00 +0000 Subject: [PATCH] (copy_loop_body): Copy CALL_INSN_FUNCTION_USAGE field. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7406 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/unroll.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcc/unroll.c b/gcc/unroll.c index 66e63d7af0e..aba78dcf28d 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); -- 2.11.4.GIT