aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/calls.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f9c9b73..16114dc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Mon Jul 3 21:31:43 2000 Clinton Popetz <cpopetz@cygnus.com>
+
+ * calls.c (emit_library_call_value_1): Revert previous change.
+
2000-07-03 Zack Weinberg <zack@wolery.cumb.org>
* fix-header.c (struct partial_proto): Remove unnecessary fields.
diff --git a/gcc/calls.c b/gcc/calls.c
index ddb7d4c..3561f59 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -3915,9 +3915,9 @@ emit_library_call_value_1 (retval, orgfun, value, fn_type, outmode, nargs, p)
emit_move_insn (value, mem_value);
}
else if (value != 0)
- emit_move_insn (value, valreg);
+ emit_move_insn (value, hard_libcall_value (outmode));
else
- value = valreg;
+ value = hard_libcall_value (outmode);
}
if (ACCUMULATE_OUTGOING_ARGS)