On Thu, 29 Oct 2026 at 22:29, Oleksandr Kulkov <[email protected]> wrote: > > Hi Jonathan, > > Thanks for following up. I’ve added my thoughts here: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127690#c5 > > I remember you mentioned on several occasions your plans to deprecate pb_ds, > although I also see it haven't been done so far. I'm not sure how much effort > I should be putting into it right now, could you maybe share your current > vision: How strongly do you feel about retiring it, and what kind of > contribution (if any), and on what timeline and scale do you see potentially > steering your opinion into another direction?
I am absolutely determined to retire it. It's been a frustration for years but having unmaintained and buggy code sitting around is now causing real problems and real maintenance burdens, e.g. CVE-2026-102010 <https://gcc.gnu.org/PR127656> required effort to fix in CentOS Stream and Red Hat Enterprise Linux, across a whole set of packages and OS versions. That was time I could have spent making real improvements to other parts of libstdc++, but instead I (and maintainers at Suse and Canonical and elsewhere) had to update packages due to a bug in code none of our customers ever care about. It needs to be removed from the GCC source tree ASAP so that we don't waste more time supporting this dead code. Clearly nobody was using the binary heap code, and the testsuite didn't cover it, because nobody noticed that the erase_if function was completely broken since day one. How much other pb_ds code is in the same situation? We don't know, and there's a real cost to keeping such code. > I really can't guarantee much of my personal involvement right now, esp. with > GCC's current AI contribution policy forbidding any legally significant > AI-assisted changes, but it would be nice to understand the situation a bit > better. As you correctly say, AI-assisted code changes would not be acceptable under GCC's AI policy.
