(expand_assignment): When assigning an INDIRECT_REF to a RESULT_DECL,
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 11 Oct 1993 19:04:26 +0000 (15:04 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 11 Oct 1993 19:04:26 +0000 (15:04 -0400)
the size and source rtx were swapped.

From-SVN: r5735

gcc/expr.c

index 8665f5df7837800e1abd9b015be241a917fc59c5..3a4f6bb2bed0a0990c7813b3776ff8b96cc745ed 100644 (file)
@@ -2451,8 +2451,8 @@ expand_assignment (to, from, want_value, suggest_reg)
       rtx from_rtx, size;
 
       push_temp_slots ();
-      from_rtx = expr_size (from);
-      size = expand_expr (from, NULL_RTX, VOIDmode, 0);
+      size = expr_size (from);
+      from_rtx = expand_expr (from, NULL_RTX, VOIDmode, 0);
 
 #ifdef TARGET_MEM_FUNCTIONS
       emit_library_call (memcpy_libfunc, 0,