flow.c (propagate_one_insn): Use proper test for a register being part of the return value.

* flow.c (propagate_one_insn): Use proper test for a register
	being part of the return value.

From-SVN: r68653
This commit is contained in:
J"orn Rennecke 2003-06-28 22:57:58 +00:00 committed by Joern Rennecke
parent 81a6489eb6
commit 57856e4d3a
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-06-27 J"orn Rennecke <joern.rennecke@superh.com>
* flow.c (propagate_one_insn): Use proper test for a register
being part of the return value.
2003-06-28 Kazu Hirata <kazu@cs.umass.edu>
* config/avr/avr.c: Fix a comment typo.

View File

@ -1808,7 +1808,9 @@ propagate_one_insn (pbi, insn)
if (TEST_HARD_REG_BIT (regs_invalidated_by_call, i)
&& ! (sibcall_p
&& REGNO_REG_SET_P (live_at_end, i)
&& !FUNCTION_VALUE_REGNO_P (i)))
&& ! refers_to_regno_p (i, i+1,
current_function_return_rtx,
(rtx *) 0)))
{
/* We do not want REG_UNUSED notes for these registers. */
mark_set_1 (pbi, CLOBBER, regno_reg_rtx[i], cond, insn,