https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795
Barry Revzin <barry.revzin at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |barry.revzin at gmail dot com --- Comment #8 from Barry Revzin <barry.revzin at gmail dot com> --- Related: https://stackoverflow.com/q/70076645/2069064 std::ranges::sort calls std::sort, which then uses std::iter_swap instead of std::ranges::iter_swap.