gcc/libstdc++-v3
François Dumont 3157879227 re PR libstdc++/54296 (using the object in the map to erase element from the map crashes)
2012-09-05  François Dumont  <fdumont@gcc.gnu.org>

	PR libstdc++/54296
	* include/bits/hashtable.h (_M_erase(size_type, __node_base*,
	__node_type*)): New.
	(erase(const_iterator)): Use latter.
	(_M_erase(std::true_type, const key_type&)): New, likewise.
	(_M_erase(std::false_type, const key_type&)): New. Find all nodes
	matching the key before deallocating them so that the key doesn't
	get invalidated.
	(erase(const key_type&)): Use the new member functions.
	* testsuite/23_containers/unordered_map/erase/54296.cc: New.
	* testsuite/23_containers/unordered_multimap/erase/54296.cc: New.

From-SVN: r190991
2012-09-05 19:41:16 +00:00
..
config random.h (random_device): Move implementation to... 2012-08-29 22:05:41 +00:00
doc PR libstdc++/54102, part 2 2012-08-29 04:44:10 +00:00
include re PR libstdc++/54296 (using the object in the map to erase element from the map crashes) 2012-09-05 19:41:16 +00:00
libsupc++ eh_personality.cc (__gxx_personality_seh0): New function. 2012-07-19 07:29:24 +00:00
po
python cxx11.cc (struct datum): New. 2012-08-15 18:37:30 +00:00
scripts testsuite_flags.in (cxxflags): Remove -ftrack-macro-expansion=0. 2012-05-03 20:23:42 +00:00
src random.cc (random_device::_M_init): Check whether cpuid instruction is available by using __get_cpuid_max. 2012-09-05 13:54:57 +00:00
testsuite re PR libstdc++/54296 (using the object in the map to erase element from the map crashes) 2012-09-05 19:41:16 +00:00
acinclude.m4 acinclude.m4: Update references to final C++11 standard. 2012-08-09 23:45:20 +01:00
aclocal.m4
ChangeLog re PR libstdc++/54296 (using the object in the map to erase element from the map crashes) 2012-09-05 19:41:16 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
config.h.in Remove obsolete Solaris 8 support 2012-03-14 17:08:03 +00:00
configure re PR libstdc++/54102 (generated html vs. utf8) 2012-08-29 01:37:16 +00:00
configure.ac re PR libstdc++/54102 (generated html vs. utf8) 2012-08-29 01:37:16 +00:00
configure.host Remove obsolete Solaris 8 support 2012-03-14 17:08:03 +00:00
crossconfig.m4 crossconfig.m4: Since we know that all TPF builds are cross- builds and cannot run... 2012-05-02 15:34:31 -04:00
fragment.am
linkage.m4
Makefile.am
Makefile.in re PR libstdc++/54102 (generated html vs. utf8) 2012-08-29 01:37:16 +00:00
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.