https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117253
--- Comment #6 from Davide Italiano <dccitaliano at gmail dot com> ---
(In reply to Richard Biener from comment #4)
> So probably IVOPTs related. With -fno-ivopts code generated by GCC 13 and
> trunk are about the same size.
Slightly less contrived example that points to the same commit (and hopefully
the same regression, in case it's useful:
int f(int a) {
if (a > 5) {
a *= 2;
if (a % 3 == 0 && a < 20) {
a += 5;
}
}
return a;
}
https://godbolt.org/z/Wj85rscYK