OSDN Git Service

(emit_library_call_value): Fix bug in prev change.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Feb 1993 06:20:24 +0000 (06:20 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Feb 1993 06:20:24 +0000 (06:20 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3528 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/expr.c

index 6342e5b..424a3e6 100644 (file)
@@ -2605,7 +2605,7 @@ emit_library_call_value (va_alist)
   /* Now load any reg parms into their regs.  */
 
   if (mem_value != 0 && struct_value_rtx != 0)
-    emit_move_insn (struct_value_rtx, addr);
+    emit_move_insn (struct_value_rtx, XEXP (mem_value, 0));
 
   for (count = 0; count < nargs; count++, argnum += inc)
     {