https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102793
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-10-15 Severity|normal |enhancement Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Component|middle-end |tree-optimization --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is a gimple level missed optimization where the indirect function call is not "commonized". There are a few other bugs which are similar to this too.