[Bug ipa/125547] Missed devirtualisation through std::function
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 2 04:19:55 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125547
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2026-06-02
Status|UNCONFIRMED |NEW
Severity|normal |enhancement
Keywords| |missed-optimization
--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
Note LLVM code generation is not exactly optimized either.
There is a call to plus_op followed by a vector add followed by a scalar add,
followed by a call to _M_manager in the inner most loop.
More information about the Gcc-bugs
mailing list