From 81d79e2c7a941cf50fb4b7152d813af09d5cce59 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sat, 18 Sep 1993 13:28:10 +0000 Subject: [PATCH] (convert_move): Use emit_library_call_value. From-SVN: r5353 --- gcc/expr.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/expr.c b/gcc/expr.c index c1bd3c0ab44..7f22cb1220e 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -507,6 +507,8 @@ convert_move (to, from, unsignedp) if (to_real) { + rtx value; + #ifdef HAVE_extendqfhf2 if (HAVE_extendqfsf2 && from_mode == QFmode && to_mode == HFmode) { @@ -775,8 +777,9 @@ convert_move (to, from, unsignedp) /* This conversion is not implemented yet. */ abort (); - emit_library_call (libcall, 1, to_mode, 1, from, from_mode); - emit_move_insn (to, hard_libcall_value (to_mode)); + value = emit_library_call_value (libcall, NULL_RTX, 1, to_mode, + 1, from, from_mode); + emit_move_insn (to, value); return; } -- 2.30.2