[Bug libstdc++/71945] Integer overflow in use counter of shared pointers
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71945 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2025-01-23 Status|UNCONFIR
[Bug libstdc++/71945] Integer overflow in use counter of shared pointers
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71945 --- Comment #1 from Jonathan Wakely --- You also get undefined behaviour at 2bn objects when the signed _Atomic_word overflows, and the weak count can also be forced to overflow. Doing so requires allocating tens of GB of shared_ptr objects thoug