alpha.c (alpha_expand_mov): Use correct mode for force_const_mem.
authorRichard Henderson <rth@redhat.com>
Wed, 15 Jan 2003 03:25:50 +0000 (19:25 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 15 Jan 2003 03:25:50 +0000 (19:25 -0800)
        * config/alpha/alpha.c (alpha_expand_mov): Use correct mode
        for force_const_mem.

From-SVN: r61309

gcc/ChangeLog
gcc/config/alpha/alpha.c

index 1f04fa4b19625aff86c1e9255ef902a1b751fe1b..62db0094ac2994523a07c5e64e71c01245ab514b 100644 (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.
index 866c465fdc8908e2113c5aa87c4a5177aff6e437..18573741227aa0dd7bd7ec96260cf7f2c785cd45 100644 (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));