https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79189
Marc Glisse <glisse at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> --- The optimizer has trouble seeing through the dynamic initialization of vtable. Interestingly, compiling with -std=gnu++17 lets the optimizers do their job (constexpr lambda conversion to a pointer?). But it still points at a missing optimization.