https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93267
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- The problem happens when the first template argument is an integer with no larger integer type available. I try to use __int128 but that's not usable with -std=c++2a. #include <ranges> int main() { std::ranges::iota_view<long, int> i(0, 3); std::ranges::begin(i); }