Commit 96843fa2 by Nick Clifton Committed by Nick Clifton

Call force_operand if X does not satisfy general_operand

From-SVN: r28399
parent 72098802
Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
* explow.c (force_reg): Call force_operand if X does not
satisfy general_operand.
Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com) Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
* fix-header.c (main): When testing for CONTINUED, use string * fix-header.c (main): When testing for CONTINUED, use string
......
...@@ -730,7 +730,12 @@ force_reg (mode, x) ...@@ -730,7 +730,12 @@ force_reg (mode, x)
if (GET_CODE (x) == REG) if (GET_CODE (x) == REG)
return x; return x;
temp = gen_reg_rtx (mode); temp = gen_reg_rtx (mode);
if (! general_operand (x, mode))
x = force_operand (x, NULL_RTX);
insn = emit_move_insn (temp, x); insn = emit_move_insn (temp, x);
/* Let optimizers know that TEMP's value never changes /* Let optimizers know that TEMP's value never changes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment