gcc/libstdc++-v3/testsuite
Jakub Jelinek 6defecc2d3 configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check.
2006-02-07  Jakub Jelinek  <jakub@redhat.com>
	    Benjamin Kosnik  <bkoz@redhat.com>

	* configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check.
	If true, set also port_specific_symbol_files and create
	as_symver_specs.
	(GLIBCXX_LDBL_COMPAT): New GLIBCXX_CONDITIONAL.
	* configure: Rebuilt.
	* config.h.in: Rebuilt.
	* config/os/gnu-linux/ldbl-extra.ver: New file.
	* config/abi/pre/gnu.ver: Make sure no __float128 symbols are
	exported.
	* include/bits/c++config (_GLIBCXX_LONG_DOUBLE_COMPAT,
	_GLIBCXX_LDBL_NAMESPACE, _GLIBCXX_BEGIN_LDBL_NAMESPACE,
	_GLIBCXX_END_LDBL_NAMESPACE): Define.
	* include/bits/localefwd.h: Use them to conditionally scope facets.
	* include/bits/locale_facets.h: Surround std::{money,num}_{get,put}
	with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE.
	Surround std::{money,num}_{get,put}
	with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE.
	[_GLIBCXX_LONG_DOUBLE_COMPAT] (std::money_get): Add __do_get method.
	[_GLIBCXX_LONG_DOUBLE_COMPAT] (std::money_put): Add __do_put method.
	[_GLIBCXX_LONG_DOUBLE_COMPAT] (std::num_get): Add __do_get method.
	[_GLIBCXX_LONG_DOUBLE_COMPAT] (std::num_put): Add __do_put method.
	* include/bits/locale_facets.tcc: Surround std::{money,num}_{get,put}
	with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE.
	(std::money_get::__do_get, std::money_put::__do_put,
	std::num_get::__do_get, std::num_put::__do_put): New
	specializations.
	* include/Makefile.am: Conditionally define
	_GLIBCXX_LONG_DOUBLE_COMPAT in c++config.
	* include/Makefile.in: Regenerate.
	* src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT] (_GLIBCXX_LOC_ID,
	_GLIBCXX_SYNC_ID): Define, use them.
	* src/compatibility-ldbl.cc: New file.
	* src/complex_io.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Add compatibility
	symbols.
	* src/limits.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
	* src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
	* src/locale-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.	
	* src/locale-misc-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
	* src/istream-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
	* src/ostream-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
	* src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
	* src/wlocale-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
	* src/compatibility.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
	* config/locale/generic/c_locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]:
	Likewise.
	* config/locale/gnu/c_locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]:
	Likewise.
	* src/Makefile.am (libstdc++-symbol.ver): Append instead of
	insert in the middle if port specific symbol file requests it.
	(ldbl_compat_sources): New variable.
	(sources): Use it.
	(compatibility-ldbl.lo, compatibility-ldbl.o): New rules.
	* src/Makefile.in: Rebuilt.
	* testsuite/testsuite_abi.cc: Recognize GLIBCXX_LDBL_3.4,
	GLIBCXX_LDBL_3.4.7, CXXABI_LDBL_1.3.	


Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>

From-SVN: r110725
2006-02-07 22:23:58 +00:00
..
17_intro All files: Update FSF address. 2005-08-17 02:28:44 +00:00
18_support [multiple changes] 2005-12-28 09:57:57 +00:00
19_diagnostics re PR libstdc++/23591 (exceptions in plugins in threads cause segmentation violation by leaving bad exit handler for the pthread) 2005-11-22 06:54:08 +00:00
20_util mt_allocator.h (__mt_alloc::__mt_alloc): Remove name of unused parameter. 2005-12-26 10:53:42 +00:00
21_strings [multiple changes] 2005-12-28 09:57:57 +00:00
22_locale testsuite_hooks.h (test_tm(unsigned)): Change to take all the tm members. 2006-01-06 02:11:55 +00:00
23_containers Implement list::splice (and merge) bits of N1599 2006-01-20 02:38:54 +00:00
24_iterators PR libstdc++/11729 (DR 280, [Ready]) 2005-10-05 15:49:39 +00:00
25_algorithms [multiple changes] 2005-12-28 09:57:57 +00:00
26_numerics mt_allocator.h (__mt_alloc::__mt_alloc): Remove name of unused parameter. 2005-12-26 10:53:42 +00:00
27_io 21955.cc: Avoid warning on string constant. 2006-02-04 10:00:58 +00:00
backward All files: Update FSF address. 2005-08-17 02:28:44 +00:00
config All files: Update FSF address. 2005-08-17 02:28:44 +00:00
data re PR libstdc++/23462 (27_io/basic_filebuf/sgetn/char/[12]-i[no].cc execution tests fail) 2005-08-23 23:05:38 +00:00
demangle All files: Update FSF address. 2005-08-17 02:28:44 +00:00
ext re PR libstdc++/21554 (ext/array_allocator/2.cc execution fails) 2006-01-31 17:46:07 +00:00
lib acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Enable --gc-sections in more cases. 2006-01-13 03:58:38 +00:00
libstdc++-abi All files: Update FSF address. 2005-08-17 02:28:44 +00:00
libstdc++-dg re PR libstdc++/25472 (--disable-hosted-libstdcxx does not work) 2005-12-18 08:08:07 +00:00
performance All files: Update FSF address. 2005-08-17 02:28:44 +00:00
thread [multiple changes] 2005-12-28 09:57:57 +00:00
tr1 [multiple changes] 2006-02-07 15:11:10 +00:00
Makefile.am All files: Update FSF address. 2005-08-17 02:28:44 +00:00
Makefile.in configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. 2006-02-07 22:23:58 +00:00
testsuite_abi_check.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
testsuite_abi.cc configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. 2006-02-07 22:23:58 +00:00
testsuite_abi.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
testsuite_allocator.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
testsuite_allocator.h stl_list.h (_List_base<>::_M_get_Node_allocator): Add. 2006-01-03 13:19:23 +00:00
testsuite_character.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
testsuite_character.h mt_allocator.h (__mt_alloc::__mt_alloc): Remove name of unused parameter. 2005-12-26 10:53:42 +00:00
testsuite_common_types.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
testsuite_hooks.cc testsuite_hooks.h (test_tm(unsigned)): Change to take all the tm members. 2006-01-06 02:11:55 +00:00
testsuite_hooks.h testsuite_hooks.h (test_tm(unsigned)): Change to take all the tm members. 2006-01-06 02:11:55 +00:00
testsuite_io.h mt_allocator.h (__mt_alloc::__mt_alloc): Remove name of unused parameter. 2005-12-26 10:53:42 +00:00
testsuite_iterators.h mt_allocator.h (__mt_alloc::__mt_alloc): Remove name of unused parameter. 2005-12-26 10:53:42 +00:00
testsuite_performance.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
testsuite_shared.cc re PR libstdc++/23591 (exceptions in plugins in threads cause segmentation violation by leaving bad exit handler for the pthread) 2005-11-22 06:54:08 +00:00
testsuite_tr1.h re PR c++/9737 ([DR150] Partial template specialisation selection failure involving template parameter defaults) 2006-02-07 11:11:30 +00:00
testsuite_visualization.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00