This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Fix PR rtl-optimization/30807


Eric Botcazou <ebotcazou@adacore.com> wrote:
> The assertion seems superfluous to me, operand 1 of REG_SUM is always BASE.
> 
> So I'd just write:
> 
> +		  /* For every new use of REG_SUM, we have to record the use
> +		     of BASE therein, i.e. operand 1.  */
> +		  for (i = reg_state[regno].use_index;
> +		       i < RELOAD_COMBINE_MAX_USES; i++)
> +                   reload_combine_note_use
> +                     (&XEXP (*reg_state[regno].reg_use[i].usep, 1),
> +                      reg_state[regno].reg_use[i].insn);
> 
> OK with this change if it still passes a full testing cycle.

Thanks for reviewing.  The patch with that change passed the full
tests on i686-pc-linux-gnu and powerpc-apple-darwin9.5.0.
Applied as revision 149282.

Regards,
	kaz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]