Commit 33a20d10 by Richard Kenner

(expand_assignment): When assigning an INDIRECT_REF to a RESULT_DECL,

the size and source rtx were swapped.

From-SVN: r5735
parent 28498644
...@@ -2451,8 +2451,8 @@ expand_assignment (to, from, want_value, suggest_reg) ...@@ -2451,8 +2451,8 @@ expand_assignment (to, from, want_value, suggest_reg)
rtx from_rtx, size; rtx from_rtx, size;
push_temp_slots (); push_temp_slots ();
from_rtx = expr_size (from); size = expr_size (from);
size = expand_expr (from, NULL_RTX, VOIDmode, 0); from_rtx = expand_expr (from, NULL_RTX, VOIDmode, 0);
#ifdef TARGET_MEM_FUNCTIONS #ifdef TARGET_MEM_FUNCTIONS
emit_library_call (memcpy_libfunc, 0, emit_library_call (memcpy_libfunc, 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment