calls.c buglet

Clinton Popetz cpopetz@cygnus.com
Mon Jul 3 15:05:00 GMT 2000


This fixes a buglet leftover from Jan's ECF_PURE changes.  Approved by
rth, and bootstrapped on x86.

				-Clint


Mon Jul  3 16:53:43 2000  Clinton Popetz  <cpopetz@cygnus.com>

	* calls.c (emit_library_call_value_1): Use valreg instead
	of hard_libcall_value.

Index: calls.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/calls.c,v
retrieving revision 1.143
diff -c -2 -p -r1.143 calls.c
*** calls.c	2000/06/23 10:03:42	1.143
--- calls.c	2000/07/03 21:52:56
*************** emit_library_call_value_1 (retval, orgfu
*** 3916,3922 ****
  	}
        else if (value != 0)
! 	emit_move_insn (value, hard_libcall_value (outmode));
        else
! 	value = hard_libcall_value (outmode);
      }
  
--- 3916,3922 ----
  	}
        else if (value != 0)
! 	emit_move_insn (value, valreg);
        else
! 	value = valreg;
      }
  


More information about the Gcc-patches mailing list