Commit 57856e4d by J"orn Rennecke Committed by Joern Rennecke

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
parent 81a6489e
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> 2003-06-28 Kazu Hirata <kazu@cs.umass.edu>
* config/avr/avr.c: Fix a comment typo. * config/avr/avr.c: Fix a comment typo.
......
...@@ -1808,7 +1808,9 @@ propagate_one_insn (pbi, insn) ...@@ -1808,7 +1808,9 @@ propagate_one_insn (pbi, insn)
if (TEST_HARD_REG_BIT (regs_invalidated_by_call, i) if (TEST_HARD_REG_BIT (regs_invalidated_by_call, i)
&& ! (sibcall_p && ! (sibcall_p
&& REGNO_REG_SET_P (live_at_end, i) && 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. */ /* We do not want REG_UNUSED notes for these registers. */
mark_set_1 (pbi, CLOBBER, regno_reg_rtx[i], cond, insn, mark_set_1 (pbi, CLOBBER, regno_reg_rtx[i], cond, insn,
......
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