Commit 72bb9717 by Richard Kenner

(move_block_to_reg): Do nothing if NREGS == 0.

From-SVN: r7820
parent 4f845465
...@@ -1603,6 +1603,9 @@ move_block_to_reg (regno, x, nregs, mode) ...@@ -1603,6 +1603,9 @@ move_block_to_reg (regno, x, nregs, mode)
int i; int i;
rtx pat, last; rtx pat, last;
if (nregs == 0)
return;
if (CONSTANT_P (x) && ! LEGITIMATE_CONSTANT_P (x)) if (CONSTANT_P (x) && ! LEGITIMATE_CONSTANT_P (x))
x = validize_mem (force_const_mem (mode, x)); x = validize_mem (force_const_mem (mode, x));
......
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