On Tue, 2025-05-20 at 13:06 +0100, Jonathan Wakely wrote: > On 13/07/20 16:45 +0800, Xi Ruoyao via Libstdc++ wrote: > > > > > The second and third patch together resolve PR 81806. > > > > The attached patch modifies split_finish to use the subtree size we > > maintained > > in the previous patch, resolving libstdc++/81806. > > > > libstdc++-v3/ChangeLog: > > > > PR libstdc++/81806 > > * > > include/ext/pb_ds/detail/bin_search_tree_/split_join_fn_imps.hpp > > (split_finish): Use maintained size, instead of calling > > std::distance. > > OK for trunk
I've checked the 3 patches into my local repo, and fixed some ChangeLog issues. Now running make check-target-libstdc++, will push if no failures. > -- Xi Ruoyao <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University