https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119358

            Bug ID: 119358
           Summary: _M_rehash_insert of unordered sets/maps misses casting
                    of difference_type
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

This led to a hard error in the following code with -std=gnu++23:

  auto r = std::views::iota(__int128(0))
         | std::views::take(5);
  std::unordered_multiset us(std::from_range, r);

Reply via email to