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 re PR libstdc++/47058 ("--enable-maintainer-mode --disable-werror" wrongly upgrades warnings to errors in libstdc++) 2012-02-17 20:26:32 +00:00
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
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: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2000 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2001
ChangeLog-2002 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2003 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2004 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2005 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2006 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2007 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2008 2009-04-13 Paolo Carlini <paolo.carlini@oracle.com> 2009-04-13 14:41:54 +00:00
ChangeLog-2009 Move 2009 ChangeLog to ChangeLog-2009. 2010-01-01 09:08:32 -08:00
ChangeLog-2010 Rotate ChangeLogs. 2011-01-02 08:22:05 -08:00
ChangeLog-2011 Roll ChangeLog file, move 2012 entries in the new ChangeLog. 2012-01-05 20:49:15 +00:00
Makefile.am [multiple changes] 2012-01-23 23:12:01 +00:00
Makefile.in re PR libstdc++/54102 (generated html vs. utf8) 2012-08-29 01:37:16 +00:00
README
acinclude.m4 acinclude.m4: Update references to final C++11 standard. 2012-08-09 23:45:20 +01:00
aclocal.m4 aclocal.m4: Regenerate. 2011-01-11 16:43:25 +00:00
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 re PR libstdc++/47058 ("--enable-maintainer-mode --disable-werror" wrongly upgrades warnings to errors in libstdc++) 2012-02-17 20:26:32 +00:00
linkage.m4 re PR libstdc++/32666 (FAIL: abi_check hppa) 2009-01-15 20:02:11 +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.