On Mon, Jul 31, 2017 at 4:14 PM, Bin Cheng <bin.ch...@arm.com> wrote: > Hi, > This simple patch fixes the ICE by rewriting into loop closed ssa form in case > of any store-store chain. We maybe able to avoid that for some cases that > eliminated stores only store loop invariant values, but only with more checks > when inserting final store instructions. > Bootstrap and test on x86_64 and AArch64 ongoing. Is it OK?
Ok. Thanks, Richard. > Thanks, > bin > 2017-07-31 Bin Cheng <bin.ch...@arm.com> > > PR tree-optimization/81627 > * tree-predcom.c (prepare_finalizers): Always rewrite into loop > closed ssa form for store-store chain. > > gcc/testsuite/ChangeLog > 2017-07-31 Bin Cheng <bin.ch...@arm.com> > > PR tree-optimization/81627 > * gcc.dg/tree-ssa/pr81627.c: New.