mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-05 01:34:12 +08:00
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:
parent
81a6489eb6
commit
57856e4d3a
@ -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.
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user