]> gcc.gnu.org Git - gcc.git/commitdiff
(copy_loop_body): Copy CALL_INSN_FUNCTION_USAGE field.
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 1 Jun 1994 00:17:00 +0000 (17:17 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 1 Jun 1994 00:17:00 +0000 (17:17 -0700)
From-SVN: r7406

gcc/unroll.c

index 66e63d7af0e65541ccee5f5582c4b669769fc2ab..aba78dcf28d382c8c98420d5fc37b9c342f12508 100644 (file)
@@ -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);
This page took 0.071787 seconds and 5 git commands to generate.