This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/63698] [5 Regression] std::set leaks nodes on assignment


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 ?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]