[Bug libstdc++/63456] unordered_map incorrectly frees _M_single_bucket. Patch Included
fdumont at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Oct 5 17:45:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63456
François Dumont <fdumont at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2014-10-05
CC| |fdumont at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from François Dumont <fdumont at gcc dot gnu.org> ---
I of course confirm the bug. Occur only if you copy assign to an empty instance
from a non-empty one like this:
std::unordered_set<int> s1, s2;
s2.insert(2);
s1 = s2;
Thanks for reporting.
More information about the Gcc-bugs
mailing list