diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-05-31 17:17:00 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-05-31 17:17:00 -0700 |
commit | 2d98fe23f49f43dae201f5e8a4fe93f0c1896449 (patch) | |
tree | 44c6145fc6c3d66ddbfc6009ca8a5fccb2c41258 | |
parent | b877b5ab3e1c240643e9d700a9aecb78fbeadf58 (diff) | |
download | gcc-2d98fe23f49f43dae201f5e8a4fe93f0c1896449.zip gcc-2d98fe23f49f43dae201f5e8a4fe93f0c1896449.tar.gz gcc-2d98fe23f49f43dae201f5e8a4fe93f0c1896449.tar.bz2 |
(copy_loop_body): Copy CALL_INSN_FUNCTION_USAGE field.
From-SVN: r7406
-rw-r--r-- | gcc/unroll.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/unroll.c b/gcc/unroll.c index 66e63d7..aba78dc 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); |