gcc/libstdc++-v3/src
Paolo Carlini 92637e93ed re PR libstdc++/51558 (Declaration of unspecialized std::hash<_Tp>::operator()(_Tp) turns compile-time errors into link-time errors)
2011-12-15  Paolo Carlini  <paolo.carlini@oracle.com>
	    Jonathan Wakely  <jwakely.gcc@gmail.com>

	PR libstdc++/51558
	* include/bits/functional_hash.h (struct hash): Add static_assert.
	* src/compatibility-c++0x.cc: Adjust compatibility definitions.
	* testsuite/23_containers/unordered_map/erase/51142.cc: Adjust.
	* testsuite/23_containers/unordered_set/erase/51142.cc: Likewise.
	* testsuite/23_containers/unordered_multimap/erase/51142.cc: Likewise.
	* testsuite/23_containers/unordered_multiset/erase/51142.cc: Likewise.

Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com>

From-SVN: r182392
2011-12-15 22:15:21 +00:00
..
Makefile.am Check in patch/merge from cxx-mem-model Branch 2011-11-06 14:55:48 +00:00
Makefile.in Check in patch/merge from cxx-mem-model Branch 2011-11-06 14:55:48 +00:00
allocator-inst.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
bitmap_allocator.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
chrono.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
codecvt.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
compatibility-atomic-c++0x.cc Check in patch/merge from cxx-mem-model Branch 2011-11-06 14:55:48 +00:00
compatibility-c++0x.cc re PR libstdc++/51558 (Declaration of unspecialized std::hash<_Tp>::operator()(_Tp) turns compile-time errors into link-time errors) 2011-12-15 22:15:21 +00:00
compatibility-debug_list-2.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
compatibility-debug_list.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
compatibility-ldbl.cc hash-long-double-aux.cc: Rename to... 2011-11-18 12:37:06 +00:00
compatibility-list-2.cc list.cc: Use noexcept per the FDIS. 2011-05-26 15:35:02 +00:00
compatibility-list.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
compatibility-parallel_list-2.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
compatibility-parallel_list.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
compatibility.cc re PR libstdc++/47921 (pbump will overflow when input n is larger than 2G-1) 2011-02-28 23:50:57 +00:00
complex_io.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
concept-inst.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
condition_variable.cc condition_variable (condition_variable_any): Remove unused native_handle_type typedef. 2011-10-25 22:44:12 +01:00
ctype.cc re PR libstdc++/48382 (ctype_noninline.h should not be installed) 2011-03-31 16:06:12 +00:00
debug.cc macros.h (__glibcxx_check_non_empty_range): Define. 2011-12-03 15:35:35 +00:00
ext-inst.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
fstream-inst.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
functexcept.cc regex_error.h (__throw_regex_error): Not inline. 2011-02-05 00:14:42 +00:00
functional.cc Makefile.am: Add functional.cc, shared_ptr.cc. 2011-03-15 00:24:08 +00:00
future.cc acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Remove size-specific macros. 2011-12-01 02:20:32 +00:00
globals_io.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
hash-long-double-tr1-aux.cc hash-long-double-aux.cc: Rename to... 2011-11-18 12:37:06 +00:00
hash_c++0x.cc hash-long-double-aux.cc: Rename to... 2011-11-18 12:37:06 +00:00
hash_tr1.cc hash-long-double-aux.cc: Rename to... 2011-11-18 12:37:06 +00:00
hashtable-aux.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
hashtable_c++0x.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
hashtable_tr1.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
ios-inst.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
ios.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
ios_failure.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
ios_init.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
ios_locale.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
iostream-inst.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
istream-inst.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
istream.cc PR c++/33255 - Support -Wunused-local-typedefs warning 2011-09-08 15:54:24 +02:00
limits.cc limits.cc: Replace everywhere __int128_t -> __int128, and __uint128_t -> unsigned __int128. 2011-09-21 11:23:11 +00:00
list.cc list.cc: Use noexcept per the FDIS. 2011-05-26 15:35:02 +00:00
locale-inst.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
locale.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
locale_facets.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
locale_init.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
localename.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
math_stubs_float.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
math_stubs_long_double.cc re PR libstdc++/40038 (symbols ceill@GLIBCXX_3.4.3 not exported) 2009-05-07 06:55:15 +00:00
misc-inst.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
mt_allocator.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
mutex.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
ostream-inst.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
parallel_settings.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
placeholders.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
pool_allocator.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
regex.cc Makefile.am (sources): Add regex.cc. 2011-02-11 01:23:10 +00:00
shared_ptr.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
sstream-inst.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
stdexcept.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
streambuf-inst.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
streambuf.cc re PR libstdc++/47921 (pbump will overflow when input n is larger than 2G-1) 2011-02-28 23:50:57 +00:00
string-inst.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
strstream.cc re PR libstdc++/47921 (pbump will overflow when input n is larger than 2G-1) 2011-02-28 23:50:57 +00:00
system_error.cc revert: testsuite_error.h: Add empty default constructor to __gnu_test::test_category and... 2011-09-25 20:58:46 +00:00
thread.cc acinclude.m4 (GLIBCXX_CHECK_SC_NPROC_ONLN): Define. 2011-11-07 13:45:03 +00:00
tree.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
valarray.cc PR c++/33255 - Support -Wunused-local-typedefs warning 2011-09-08 15:54:24 +02:00
wlocale-inst.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
wstring-inst.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00