*** empty log message ***

From-SVN: r1101
This commit is contained in:
Richard Stallman 1992-05-27 20:52:20 +00:00
parent 55b2f10fbe
commit d8064a5d0a
1 changed files with 5 additions and 0 deletions

View File

@ -2262,6 +2262,11 @@ expand_divmod (rem_flag, code, mode, op0, op1, target, unsignedp)
if (rem_flag && GET_CODE (op1) == MEM && MEM_VOLATILE_P (op1))
op1 = force_reg (compute_mode, op1);
/* If we are computing the remainder, op0 will be needed later to calculate
X - Y * (X / Y), therefore cannot be clobbered. */
if (rem_flag)
can_clobber_op0 = 0;
if (target == 0 || GET_MODE (target) != compute_mode)
target = gen_reg_rtx (compute_mode);