> But I can surely do
>   if (ret)
>     df_notes_rescan (insn);
> before
>   return ret;
> in remove_reg_equal_equiv_notes.
> 
> Though, combine.c doesn't need that, as it shortly afterward the
> remove_reg_equal_equiv_notes call calls full df_insn_rescan, postreload.c
> has
>               if (reg_state[regno].offset != const0_rtx
>                   /* Previous REG_EQUIV / REG_EQUAL notes for PREV
>                      are now invalid.  */
>                   && remove_reg_equal_equiv_notes (prev))
>                 df_notes_rescan (prev);
> and those are the only two callers of this function besides the new one
> in combine-stack-adj.c.

OK, let's add a parameter no_rescan to remove_reg_equal_equiv_notes and update 
the two callers accordingly.

-- 
Eric Botcazou

Reply via email to