[PATCH] More REG_EQ* notes related changes

Steven Bosscher stevenb.gcc@gmail.com
Tue Feb 20 20:17:00 GMT 2007


On 2/20/07, Richard Guenther <richard.guenther@gmail.com> wrote:
> On 2/20/07, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> > Hello,
> >
> > This patch changes find_reg_equal_equiv_note to be consistent with what
> > set_unique_reg_note does for REG_EQUAL/REG_EQUIV notes: Do not expect
> > to have them on insns with multiple sets.
> >
> > Bootstrapped&tested on i686-pc-linux-gnu.  OK for the trunk?
>
> I suppose
>
>   gcc_assert (GET_CODE (PATTERN (insn)) != PARALLEL || !multiple_sets (insn));
>
> doesn't work?

Not yet, no.  Combine still puts REG_EQ* notes on single_set insns.  I
need to fix that first, and then try again.

Gr.
Steven



More information about the Gcc-patches mailing list