https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108243
--- Comment #11 from Patrick Palka <ppalka at gcc dot gnu.org> --- The pending patch https://gcc.gnu.org/pipermail/gcc-patches/2023-February/612365.html will fix that. With that patch we'll statically initialize static const string_view foo("bar"); as we already do for static const string_view foo = {"bar"};