Re: [PATCH] tree-optimization/38474 - fix store-merging compile-time regression

2021-02-11 Thread Jakub Jelinek via Gcc-patches
On Thu, Feb 11, 2021 at 11:55:30AM +0100, Richard Biener wrote: > 2021-02-11 Richard Biener > > PR tree-optimization/38474 > * params.opt (-param=max-store-chains-to-track=): New param. > (-param=max-stores-to-track=): Likewise. > * doc/invoke.texi (max-store-chains-to-t

[PATCH] tree-optimization/38474 - fix store-merging compile-time regression

2021-02-11 Thread Richard Biener
The following puts a limit on the number of alias tests we do in terminate_all_aliasing_chains which is quadratic in the number of overall stores currentrly tracked. There is already a limit in place on the maximum number of stores in a single chain so the following adds a limit on the number of c