https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124821
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Component|c++ |tree-optimization
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
This comes down to escape analysis.
And if you could in theory get back the std::string from the char* part of the
string_view.
I think you can in theory.
