https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63698
--- Comment #7 from François Dumont <fdumont at gcc dot gnu.org> --- Yes, looks like I had forgotten node with only a left child, too bad. My initial plan was to use existing tree node algos in tree.cc but erase could not be done without rebalancing which was useless for what we are doing in this case. So, do you take care of applying this or do you want me to submit a complete patch on libstdc++ with your test ?