On Mon, Jul 31, 2017 at 4:12 PM, Bin Cheng <bin.ch...@arm.com> wrote: > Hi, > This simple patch fixes the ICE by not setting has_max_use_after flag for > store-store chain because there is no use at all. > Bootstrap and test on x86_64 and AArch64 ongoing. Is it OK if no failure?
Ok. Richard. > Thanks, > bin > 2017-07-31 Bin Cheng <bin.ch...@arm.com> > > PR tree-optimization/81620 > * tree-predcom.c (add_ref_to_chain): Don't set has_max_use_after > for store-store chain. > > gcc/testsuite/ChangeLog > 2017-07-31 Bin Cheng <bin.ch...@arm.com> > > PR tree-optimization/81620 > * gcc.dg/tree-ssa/pr81620-1.c: New. > * gcc.dg/tree-ssa/pr81620-2.c: New.