(move_movables): Aviod lossage when CALL_INSN_FUNCTION_USAGE

is NULL.

From-SVN: r7777
This commit is contained in:
Jim Wilson 1994-07-18 18:58:06 -07:00
parent 98068ba2d7
commit 8c4f5c09f0
1 changed files with 6 additions and 4 deletions

View File

@ -1791,6 +1791,7 @@ move_movables (movables, threshold, insn_count, loop_start, end, nregs)
/* Because the USAGE information potentially /* Because the USAGE information potentially
contains objects other than hard registers contains objects other than hard registers
we need to copy it. */ we need to copy it. */
if (CALL_INSN_FUNCTION_USAGE (temp))
CALL_INSN_FUNCTION_USAGE (i1) = CALL_INSN_FUNCTION_USAGE (i1) =
copy_rtx (CALL_INSN_FUNCTION_USAGE (temp)); copy_rtx (CALL_INSN_FUNCTION_USAGE (temp));
} }
@ -1834,6 +1835,7 @@ move_movables (movables, threshold, insn_count, loop_start, end, nregs)
/* Because the USAGE information potentially /* Because the USAGE information potentially
contains objects other than hard registers contains objects other than hard registers
we need to copy it. */ we need to copy it. */
if (CALL_INSN_FUNCTION_USAGE (p))
CALL_INSN_FUNCTION_USAGE (i1) = CALL_INSN_FUNCTION_USAGE (i1) =
copy_rtx (CALL_INSN_FUNCTION_USAGE (p)); copy_rtx (CALL_INSN_FUNCTION_USAGE (p));
} }