https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111222
Bug ID: 111222 Summary: ICE on basic_string_view with missing template argument Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: stevenxia990430 at gmail dot com Target Milestone: --- The following invalid program reports an internal compiler error. Failed on gcc-trunk. To quickly reproduce: https://gcc.godbolt.org/z/To8EdvdhM ``` #include <string_view> template <typename T> using string_view = std::basic_string_view<T>; string_view my_string = "12345"; ``` note after providing the valid declaration (i.e., string_view<char> my_string = "12345";) the program compiles successfully