alpha.c (alpha_expand_mov): Use correct mode for force_const_mem.

* config/alpha/alpha.c (alpha_expand_mov): Use correct mode
        for force_const_mem.

From-SVN: r61309
This commit is contained in:
Richard Henderson 2003-01-14 19:25:50 -08:00 committed by Richard Henderson
parent dd1b7476b1
commit 553eb139b1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-01-14 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.c (alpha_expand_mov): Use correct mode
for force_const_mem.
2003-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* genattr.c (main): Rearrange output to avoid prototype warning.

View file

@ -3091,7 +3091,7 @@ alpha_expand_mov (mode, operands)
}
/* Otherwise we've nothing left but to drop the thing to memory. */
operands[1] = force_const_mem (DImode, operands[1]);
operands[1] = force_const_mem (mode, operands[1]);
if (reload_in_progress)
{
emit_move_insn (operands[0], XEXP (operands[1], 0));