gcc/libstdc++-v3/src
Benjamin Kosnik 0646d8a378 system_error: New file.
2007-08-23  Benjamin Kosnik  <bkoz@redhat.com>

	* include/std/system_error: New file.
	* src/system_error.cc: New file.
	* src/Makefile.am (sources): Add.
	* src/Makefile.in: Regenerate.	
	* include/Makefile.am (std_headers): Add system_error.
	* include/Makefile.in: Regenerate.
	* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): New.
	* configure.ac: Call it.
	* config.h.in: Regenerate.
	* include/bits/functional_hash.h: Add hash<error_code>.
 	* include/std/ostream: Add inserters for error_code.
	
	* docs/doxygen/user.cfg.in: Add system_error.

	* config/abi/pre/gnu.ver(GLIBCXX_3.4.10): Add new symbols.

	* testsuite/19_diagnostics/error_code: New.
	* testsuite/19_diagnostics/error_code/cons: Same.
	* testsuite/19_diagnostics/error_code/cons/1.cc: Same.
	* testsuite/19_diagnostics/error_code/operators: Same.
	* testsuite/19_diagnostics/error_code/operators/bool.cc: Same.
	* testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Same.
	* testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
	* testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
	* testsuite/19_diagnostics/error_category: Same.
	* testsuite/19_diagnostics/error_category/cons: Same.
	* testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
	* testsuite/19_diagnostics/error_category/cons/default.cc: Same.
	* testsuite/19_diagnostics/error_category/operators: Same.
	* testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
	* testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
	* testsuite/19_diagnostics/headers/system_error: Same.
	* testsuite/19_diagnostics/headers/system_error/
	types_std_c++0x.cc: Same.
	* testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Same.
	* testsuite/19_diagnostics/system_error: Same.
	* testsuite/19_diagnostics/system_error/
	cons_virtual_derivation.cc: Same.
	* testsuite/19_diagnostics/system_error/cons-1.cc: Same.
	* testsuite/19_diagnostics/system_error/what-1.cc: Same.
	* testsuite/19_diagnostics/system_error/what-2.cc: Same.
	* testsuite/19_diagnostics/system_error/what-big.cc: Same.
	* testsuite/19_diagnostics/system_error/what-3.cc: Same.
	* testsuite/19_diagnostics/system_error/what-4.cc: Same.
	* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
	error_code.cc: Same.
	* testsuite/27_io/basic_ostream/inserters_other/char/
	error_code.cc: Same.
	* testsuite/tr1/6_containers/hash/operators: New.
	* testsuite/tr1/6_containers/hash/operators/size_t.cc: Same.
	
	* testsuite/23_containers/hash: Move...
	* testsuite/20_util/hash: ... here.
	* testsuite/20_util/hash/operators: New.
	* testsuite/20_util/hash/operators/size_t.cc: New.

	* testsuite/20_util/function_objects/bad_function_call: Move...
	* testsuite/20_util/bad_function_call: ...here.

From-SVN: r127744
2007-08-23 16:16:41 +00:00
..
Makefile.am system_error: New file. 2007-08-23 16:16:41 +00:00
Makefile.in system_error: New file. 2007-08-23 16:16:41 +00:00
allocator-inst.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
bitmap_allocator.cc throw_allocator.h: Consistent @file markup. 2006-11-29 20:59:22 +00:00
codecvt.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
compatibility-ldbl.cc configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. 2006-02-07 22:23:58 +00:00
compatibility.cc re PR other/28145 (C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)) 2007-05-07 17:27:54 -04:00
complex_io.cc configure.ac: Allow both powerpc*-*-linux* and powerpc*-*-gnu* for long double compatibility. 2007-04-19 13:11:07 +01:00
concept-inst.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
ctype.cc pod_char_traits.h (char_traits<>::move): Use __builtin_memmove. 2007-05-11 18:58:08 +00:00
debug.cc re PR libstdc++/31518 (_GLIBCXX_DEBUG error message formatter line width not configurable) 2007-07-04 00:09:22 +00:00
debug_list.cc c++config: Simplify debug namespaces. 2006-02-22 00:57:24 +00:00
ext-inst.cc re PR libstdc++/28514 (libstdc++ vs. anonymous namespaces) 2006-10-17 11:56:21 +00:00
fstream-inst.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
functexcept.cc exception.hpp (pb_ds): Modify for -fno-exceptions. 2006-11-07 16:55:49 +00:00
globals_io.cc globals_io.cc (_GLIBCXX_once): Remove, unused. 2006-10-09 10:34:49 +00:00
ios-inst.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
ios.cc re PR other/28145 (C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)) 2007-05-07 17:27:54 -04:00
ios_failure.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
ios_init.cc re PR other/28145 (C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)) 2007-05-07 17:27:54 -04:00
ios_locale.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
iostream-inst.cc PR libstdc++/28080 (partial) 2007-02-26 09:36:39 +00:00
istream-inst.cc configure.ac: Allow both powerpc*-*-linux* and powerpc*-*-gnu* for long double compatibility. 2007-04-19 13:11:07 +01:00
istream.cc re PR other/28145 (C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL)) 2007-05-07 17:27:54 -04:00
limits.cc configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. 2006-02-07 22:23:58 +00:00
list.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
locale-inst.cc configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. 2006-02-07 22:23:58 +00:00
locale.cc re PR c++/19564 (-Wparentheses does not work with the C++ front-end) 2006-12-14 05:49:06 +00:00
locale_facets.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
locale_init.cc re PR libstdc++/29426 (static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION) 2006-10-11 20:18:36 +00:00
localename.cc PR libstdc++/28080 (partial) 2007-03-06 17:43:27 +00:00
misc-inst.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
mt_allocator.cc hashtable.h: -Wshadow fixes. 2006-11-21 18:10:45 +00:00
ostream-inst.cc configure.ac: Allow both powerpc*-*-linux* and powerpc*-*-gnu* for long double compatibility. 2007-04-19 13:11:07 +01:00
pool_allocator.cc atomicity.h: Move to... 2006-09-14 09:48:15 +00:00
sstream-inst.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stdexcept.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
streambuf-inst.cc re PR libstdc++/26181 (istream::operator>>(streambuf*) fails to set eofbit) 2006-02-10 18:29:04 +00:00
streambuf.cc re PR libstdc++/26181 (istream::operator>>(streambuf*) fails to set eofbit) 2006-02-10 18:29:04 +00:00
string-inst.cc basic_string.tcc (find(const _CharT*, size_type, size_type)): Reimplement in terms of traits::eq and traits::compare. 2006-09-05 15:43:47 +00:00
strstream.cc Revert revision 120457. 2007-01-05 11:03:35 +11:00
system_error.cc system_error: New file. 2007-08-23 16:16:41 +00:00
tree.cc re PR c++/19564 (-Wparentheses does not work with the C++ front-end) 2006-12-14 05:49:06 +00:00
valarray-inst.cc valarray-inst.cc (__gslice_to_index): Optimize performance. 2006-12-10 16:47:27 +00:00
wlocale-inst.cc configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. 2006-02-07 22:23:58 +00:00
wstring-inst.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00