https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
BTW, in gcc 14 we applied the PR101523 in Fedora with a hack to only start
rejecting these simplifications with no i2 modifications after accepting 1000
of those in a function (so get the PR101523 compile time/memory improvements
for the really large cases while not affecting code generation in most
reasonably sized functions.
I've measured how many times
at most is I2 unchanged during a bootstrap + regtest.
x86: 134
aarch64: 736 (gimple-match-1.cc)
s390x: 635 (gimple-match-*)
ppc64le: 620 (gimple-match-*)
while certain pathological testcases trigger it more than 10,000 times.
With the limit in place this patch doesn't affect common code.).

Reply via email to