https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114412
--- Comment #7 from Filip Kastl <pheeck at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #6) >There is still more from GCC 13 though. I'm not sure what you mean by that. GCC 13 looks fine to me. Here is a comparison of measurements on trunk, 12, 13 and 14 https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.6=755.100.0&plot.7=868.100.0&plot.8=1032.100.0&plot.9=586.100.0 It seems to me that the only version of GCC where this bug persists may be GCC 14. I'm not sure if the changes that removed the slowdown from trunk were also backported to 14.