aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 6342e5b..424a3e6 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -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)
{