calls.c (emit_library_call_value_1): Fix obvious errors in arguments to emit_group_load.

2003-08-23  Dale Johannesen  <dalej@apple.com>
	* calls.c (emit_library_call_value_1): Fix obvious errors in
	arguments to emit_group_load.

From-SVN: r70741
This commit is contained in:
Dale Johannesen 2003-08-23 18:08:27 +00:00 committed by Dale Johannesen
parent edf11bdaab
commit 643642eb3f
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-08-23 Dale Johannesen <dalej@apple.com>
* calls.c (emit_library_call_value_1): Fix obvious errors in
arguments to emit_group_load.
2003-08-23 Jason Eckhardt <jle@rice.edu>
* calls.c (emit_library_call_value_1): Remove code related

View File

@ -4146,7 +4146,8 @@ emit_library_call_value_1 (int retval, rtx orgfun, rtx value,
if (GET_CODE (valreg) == PARALLEL)
{
temp = gen_reg_rtx (outmode);
emit_group_store (temp, valreg, NULL_TREE, outmode);
emit_group_store (temp, valreg, NULL_TREE,
GET_MODE_SIZE (outmode));
valreg = temp;
}
@ -4189,7 +4190,7 @@ emit_library_call_value_1 (int retval, rtx orgfun, rtx value,
{
if (value == 0)
value = gen_reg_rtx (outmode);
emit_group_store (value, valreg, NULL_TREE, outmode);
emit_group_store (value, valreg, NULL_TREE, GET_MODE_SIZE (outmode));
}
else if (value != 0)
emit_move_insn (value, valreg);