From 33a20d105cf813a448aa0125df8e0a04db88c8b8 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 11 Oct 1993 15:04:26 -0400 Subject: [PATCH] (expand_assignment): When assigning an INDIRECT_REF to a RESULT_DECL, the size and source rtx were swapped. From-SVN: r5735 --- gcc/expr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/expr.c b/gcc/expr.c index 8665f5df783..3a4f6bb2bed 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -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, -- 2.30.2