On Thu, 2014-03-13 at 10:30 +0100, Jakub Jelinek wrote: > 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.
Actually, I think it was Pat who did the testing earlier. Pat, can you confirm Jakub's patch fixes the PPC regression? Peter > > > 2014-03-12 Jakub Jelinek <ja...@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.