gcc/libstdc++-v3
François Dumont 7e5ac0a4f5 hashtable.h (_Hashtable<>::_M_rehash): Take and restore hash policy _M_prev_resize on exception.
2011-09-14  François Dumont  <fdumont@gcc.gnu.org>
	    Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/hashtable.h (_Hashtable<>::_M_rehash): Take and restore
	hash policy _M_prev_resize on exception.
	(_Hashtable<>::_M_insert_bucket): Capture hash policy next resize
	before using it and use latter method to have it restored on exception.
	(_Hashtable<>::_M_insert(_Arg&& __v, std::false_type): Likewise.
	(_Hashtable<>::insert(_InputIterator, _InputIterator): Likewise.
	(_Hashtable<>::rehash): Likewise.
	* testsuite/23_containers/unordered_set/insert/hash_policy.cc: New.
	* testsuite/23_containers/unordered_multiset/insert/hash_policy.cc:
	Likewise.


Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>

From-SVN: r178861
2011-09-14 19:50:20 +00:00
..
config error_constants.h: Fix commas. 2011-08-30 08:57:52 +00:00
doc re PR libstdc++/50159 ([C++0x] tuple_cat only accepts two arguments) 2011-09-11 22:10:21 +00:00
include hashtable.h (_Hashtable<>::_M_rehash): Take and restore hash policy _M_prev_resize on exception. 2011-09-14 19:50:20 +00:00
libsupc++ arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. 2011-09-13 12:48:33 +00:00
po fragment.am (CONFIG_CXXFLAGS): Add -frandom-seed. 2011-07-22 13:52:51 +00:00
python fragment.am (CONFIG_CXXFLAGS): Add -frandom-seed. 2011-07-22 13:52:51 +00:00
scripts make_graph_test_infos.xml: Edit. 2011-08-15 00:51:06 +00:00
src PR c++/33255 - Support -Wunused-local-typedefs warning 2011-09-08 15:54:24 +02:00
testsuite hashtable.h (_Hashtable<>::_M_rehash): Take and restore hash policy _M_prev_resize on exception. 2011-09-14 19:50:20 +00:00
acinclude.m4 configure: Regenerated. 2011-08-29 21:57:24 +02:00
aclocal.m4 aclocal.m4: Regenerate. 2011-01-11 16:43:25 +00:00
ChangeLog hashtable.h (_Hashtable<>::_M_rehash): Take and restore hash policy _M_prev_resize on exception. 2011-09-14 19:50:20 +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
config.h.in configure: Regenerated. 2011-08-29 21:57:24 +02:00
configure configure: Regenerated. 2011-08-29 21:57:24 +02:00
configure.ac Handle different versions of Solaris 8 <iso/math_iso.h>, <iso/stdlib_iso.h> 2011-08-29 12:54:55 +00:00
configure.host Handle different versions of Solaris 8 <iso/math_iso.h>, <iso/stdlib_iso.h> 2011-08-29 12:54:55 +00:00
crossconfig.m4 re PR debug/23205 ([C++/unit-at-a-time] stabs debug info omitted for global const variables) 2011-07-18 11:04:18 +00:00
fragment.am fragment.am (CONFIG_CXXFLAGS): Add -frandom-seed. 2011-07-22 13:52:51 +00:00
linkage.m4
Makefile.am run_doxygen: Allow doxygen 1.7.1 again. 2010-12-31 22:20:22 +00:00
Makefile.in fragment.am (CONFIG_CXXFLAGS): Add -frandom-seed. 2011-07-22 13:52:51 +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.