> Thanks, just wonder if reg_set_p is the right predicate for the REG_DEAD
> notes, don't we want to check if the register in REG_DEAD note isn't used
> in undobuf.other_insn rather than set?
You're right, the correct predicate is reg_referenced_p, I'll adjust.
--
Eric Botcazou
On Wed, Feb 12, 2014 at 09:51:44AM +0100, Eric Botcazou wrote:
> --- combine.c (revision 207685)
> +++ combine.c (working copy)
> @@ -3894,14 +3894,15 @@ try_combine (rtx i3, rtx i2, rtx i1, rtx
>
>PATTERN (undobuf.other_insn) = other_pat;
>
> - /* If any of the notes in OTHER_INSN