(reg_unused_after): Handle JUMP_INSN inside a sequence.

From-SVN: r12554
This commit is contained in:
Jim Wilson 1996-07-23 17:04:53 -07:00
parent 5bcff23f54
commit 38f357812d
1 changed files with 8 additions and 0 deletions

View File

@ -2339,6 +2339,12 @@ reg_unused_after (reg, insn)
if (GET_CODE (this_insn) == CALL_INSN)
code = CALL_INSN;
else if (GET_CODE (this_insn) == JUMP_INSN)
{
if (INSN_ANNULLED_BRANCH_P (this_insn))
return 0;
code = JUMP_INSN;
}
if (set && reg_overlap_mentioned_p (reg, SET_SRC (set)))
return 0;
@ -2355,6 +2361,8 @@ reg_unused_after (reg, insn)
}
if (retval == 1)
return 1;
else if (code == JUMP_INSN)
return 0;
}
else if (GET_RTX_CLASS (code) == 'i')
{