[Bug libstdc++/59548] [4.7/4.8/4.9 Regression] Abort after copying std::unordered_map in debug mode
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 24 20:08:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59548
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Fri Jan 24 20:08:20 2014
New Revision: 207059
URL: http://gcc.gnu.org/viewcvs?rev=207059&root=gcc&view=rev
Log:
PR libstdc++/59548
* include/debug/safe_base.h (_Safe_sequence_base): Define copy
constructor to prevent it being implicitly defined as deleted, but
do not copy anything.
* include/debug/safe_unordered_base.h (_Safe_unordered_container_base):
Define copy and move constructors similar to _Safe_sequence_base's.
* testsuite/23_containers/unordered_map/59548.cc: New.
Added:
trunk/libstdc++-v3/testsuite/23_containers/unordered_map/59548.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/debug/safe_base.h
trunk/libstdc++-v3/include/debug/safe_unordered_base.h
More information about the Gcc-bugs
mailing list