https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108243
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[10/11/12/13 Regression] |[10/11/12 Regression] |Missed optimization for |Missed optimization for |static const |static const |std::string_view(const |std::string_view(const |char*) |char*) --- Comment #14 from Patrick Palka <ppalka at gcc dot gnu.org> --- The original testcase is fixed for GCC 13 by comment #12, so that we now correctly constant initialize 'static const string_view foo("bar");'.