https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81972
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |tree-optimization Severity|normal |enhancement Keywords| |missed-optimization --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There is another bug about this specific thing. Basically we need to sink the function call.