[PATCH] Try to avoid sorting on SSA_NAME_VERSION during reassoc (PR middle-end/60418)

Jakub Jelinek jakub@redhat.com
Thu Mar 13 09:31:00 GMT 2014


On Thu, Mar 13, 2014 at 10:25:57AM +0100, Richard Biener wrote:
> > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
> 
> Ok.  Does this also fix the PPC regression?

That is a question for Peter, if we can ask him to test it.
>From what I understood, the bug no longer reproduces on the trunk on ppc*,
and Peter tested an earlier version of this patch on top of an old revision
where it still reproduced.

> > 2014-03-12  Jakub Jelinek  <jakub@redhat.com>
> > 
> > 	PR tree-optimization/59025
> > 	PR middle-end/60418
> > 	* tree-ssa-reassoc.c (sort_by_operand_rank): For SSA_NAMEs with the
> > 	same rank, sort by bb_rank and gimple_uid of SSA_NAME_DEF_STMT first.

	Jakub



More information about the Gcc-patches mailing list