https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94293
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|tree-optimization |ipa Depends on| |86590 --- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So looking into _M_create's code, the only thing we need from this is _M_get_allocator() _M_get_allocator() could pass via argument. _S_allocate is already static. On the inlining side of things, that is PR 86590. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86590 [Bug 86590] Codegen is poor when passing std::string by value with _GLIBCXX_EXTERN_TEMPLATE undefined