https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100344
--- Comment #1 from cqwrteur <unlvsur at live dot com> --- D:\hg\fast_io\.tmp\dragonboxtest>g++ -o a a.cc -Ofast -std=c++20 -s -flto -march=native -Wall -Wextra In file included from ../../include/fast_io_core_impl/codecvt/impl.h:7, from ../../include/fast_io_core.h:91, from ../../include/fast_io_freestanding.h:12, from ../../include/fast_io_hosted.h:17, from ../../include/fast_io.h:9, from a.cc:1: ../../include/fast_io_core_impl/codecvt/general.h: In instantiation of 'constexpr dest_char_type* fast_io::details::codecvt::general_code_cvt_full(const src_char_type*, const src_char_type*, dest_char_type*) [with fast_io::encoding_scheme src_encoding = fast_io::encoding_scheme::execution_charset; fast_io::encoding_scheme encoding = fast_io::encoding_scheme::utf_le; src_char_type = char; dest_char_type = char16_t]': ../../include/fast_io_hosted/platforms/win32_path_dealer.h:25:109: required from 'constexpr fast_io::details::win32_path_dealer::win32_path_dealer(const from_char_type*, std::size_t) [with from_char_type = char; std::size_t = long long unsigned int]' ../../include/fast_io_hosted/platforms/win32.h:99:42: required from 'void* fast_io::details::win32_create_file_impl(fast_io::basic_cstring_view<char_type>, const fast_io::details::win32_open_mode&) [with char_type = char]' ../../include/fast_io_hosted/platforms/win32.h:775:69: required from 'fast_io::basic_win32_file<ch_type>::basic_win32_file(fast_io::cstring_view, fast_io::open_mode, fast_io::perms) [with ch_type = char; fast_io::cstring_view = fast_io::basic_cstring_view<char>]' ../../include/fast_io_hosted/file_loaders/win32_file_loader.h:61:13: required from 'auto fast_io::win32::details::win32_load_file_impl(fast_io::basic_cstring_view<char_type>, fast_io::perms) [with char_type = char]' ../../include/fast_io_hosted/file_loaders/win32_file_loader.h:112:48: required from here ../../include/fast_io_core_impl/codecvt/general.h:430:98: internal compiler error: in build_call_a, at cp/call.c:381 430 | return general_code_cvt_full<get_execution_charset_encoding_scheme<src_char_type>(src_encoding), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions.