This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/63698] [5 Regression] std::set leaks nodes on assignment
- From: "fdumont at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 03 Nov 2014 23:04:03 +0000
- Subject: [Bug libstdc++/63698] [5 Regression] std::set leaks nodes on assignment
- Auto-submitted: auto-generated
- References: <bug-63698-4 at http dot gcc dot gnu dot org/bugzilla/>
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 ?