Commit 8a38ed86 by Andrew MacLeod Committed by Andrew Macleod

stmt.c (expand_return): Clear destination instead of clobbering it when setting…

stmt.c (expand_return): Clear destination instead of clobbering it when setting a return value via bitsets.


2001-12-04  Andrew MacLeod  <amacleod@redhat.com>

	* stmt.c (expand_return): Clear destination instead of clobbering it
	when setting a return value via bitsets.

From-SVN: r47616
parent be1bb2a4
2001-12-04 Andrew MacLeod <amacleod@redhat.com>
* stmt.c (expand_return): Clear destination instead of clobbering it
when setting a return value via bitsets.
2001-12-04 Alexandre Oliva <aoliva@redhat.com>
* tree.c (get_callee_fndecl): Only use DECL_ABSTRACT_ORIGIN if
......
......@@ -3233,8 +3233,8 @@ expand_return (retval)
dst = gen_reg_rtx (word_mode);
result_pseudos[xbitpos / BITS_PER_WORD] = dst;
/* Clobber the destination before we move anything into it. */
emit_insn (gen_rtx_CLOBBER (VOIDmode, dst));
/* Clear the destination before we move anything into it. */
emit_move_insn (dst, CONST0_RTX (GET_MODE (dst)));
}
/* We need a new source operand each time bitpos is on a word
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment