OSDN Git Service

(convert_move): Use emit_library_call_value.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Sep 1993 13:28:10 +0000 (13:28 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Sep 1993 13:28:10 +0000 (13:28 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5353 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/expr.c

index c1bd3c0..7f22cb1 100644 (file)
@@ -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;
     }