OSDN Git Service

(expand_assignment): When assigning an INDIRECT_REF to a RESULT_DECL,
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Oct 1993 19:04:26 +0000 (19:04 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Oct 1993 19:04:26 +0000 (19:04 +0000)
the size and source rtx were swapped.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5735 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/expr.c

index 8665f5d..3a4f6bb 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,