expr.c (emit_group_store): Initialize dst with CONST0_RTX for the appropriate mode.
authorAlexandre Oliva <aoliva@redhat.com>
Sun, 26 Jan 2003 09:09:23 +0000 (09:09 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Sun, 26 Jan 2003 09:09:23 +0000 (09:09 +0000)
* expr.c (emit_group_store): Initialize dst with CONST0_RTX
for the appropriate mode.

From-SVN: r61828

gcc/ChangeLog
gcc/expr.c

index ef9354b5bc51aa2007023ee470a1597e7aa4da6f..fe1fe105fde60860c3b88cd4cd3a20990d22abed 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-26  Alexandre Oliva  <aoliva@redhat.com>
+
+       * expr.c (emit_group_store): Initialize dst with CONST0_RTX
+       for the appropriate mode.
+
 2003-01-26  Alexandre Oliva  <aoliva@redhat.com>
 
        * calls.c (emit_library_call_value_1): Handle return values
index e3c457943bf735a58d33a526f901d10846cdf896..99f38987f6a5c4850b3d82ea68d33e09209ae387 100644 (file)
@@ -2445,7 +2445,7 @@ emit_group_store (orig_dst, src, ssize)
     {
       dst = gen_reg_rtx (GET_MODE (orig_dst));
       /* Make life a bit easier for combine.  */
-      emit_move_insn (dst, const0_rtx);
+      emit_move_insn (dst, CONST0_RTX (GET_MODE (orig_dst)));
     }
 
   /* Process the pieces.  */