gcc/libstdc++-v3/testsuite/util
Benjamin Kosnik d466a7e21c [multiple changes]
2008-04-10  Benjamin Kosnik  <bkoz@redhat.com>

	* include/c_global/cstdatomic: C++ types only, format, doxygen markup.
	* include/c_compatibility/stdatomic.h: "C" only, format, doxygen markup.
	* src/atomic.c: Format, doxygen markup, edits.

	* include/Makefile.am (cstdatomic, stdatomic.h): Add.
	* src/Makefile.am (atomic.c): Add.
	* acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): New.
	* configure.ac: Call it.	
	* include/Makefile.in: Regenerate.
	* src/Makefile.in: Same.
	* Makefile.in: Same.
	* doc/Makefile.in: Same.
	* po/Makefile.in: Same.
	* libmath/Makefile.in: Same.
	* include/Makefile.in: Same.
	* testsuite/Makefile.in: Same.
	* libsupc++/Makefile.in: Same.
	* config.h.in: Same.
	* configure: Same.
	
	* config/abi/pre/gnu.ver: Add atomics exports.

	* include/ext/typelist.h (apply_generator): New.
	* include/bits/c++config (_GLIBCXX_BEGIN_EXTERN_C): New.
	(_GLIBCXX_END_EXTERN_C): New.
	Deal with _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_END_NAMESPACE when
	compiling as C.	
	* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add -L
	flag for libstdc++.
	* testsuite/util/testsuite_common_types.h (integral_types): New
	typelist.
	(atomics, atomics_tl): Same.
	(assignable, default_constructible, copy_constructible,
	explicit_value_constructible): New.	
	* testsuite/17_intro/headers/c++200x/all.cc: Test new headers.
	* testsuite/29_atomics: New.
	* testsuite/29_atomics/atomic_address: Same.
	* testsuite/29_atomics/atomic_address/cons: Same.
	* testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Same.
	* testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
	* testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
	* testsuite/29_atomics/atomic_address/cons/default.cc: Same.
	* testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
	* testsuite/29_atomics/atomic_flag: Same.
	* testsuite/29_atomics/atomic_flag/cons: Same.
	* testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
	* testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
	* testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
	* testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
	* testsuite/29_atomics/atomic_flag/requirements: Same.
	* testsuite/29_atomics/atomic_flag/requirements/standard_layout.cc: 
	Same.
	* testsuite/29_atomics/atomic_flag/
	atomic_global_fence_compatibility.cc: Same.
	* testsuite/29_atomics/atomic_flag/test_and_set: Same.
	* testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Same.
	* testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
	* testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same.
	* testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
	* testsuite/29_atomics/headers: Same.
	* testsuite/29_atomics/headers/cstdatomic: Same.
	* testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Same.
	* testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
	* testsuite/29_atomics/headers/cstdatomic/std_c++0x_neg.cc: Same.
	* testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
	* testsuite/29_atomics/headers/stdatomic.h: Same.
	* testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
	* testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
	* testsuite/29_atomics/headers/stdatomic.h/functions.c: Same.
	* testsuite/29_atomics/atomic: Same.
	* testsuite/29_atomics/atomic/cons: Same.
	* testsuite/29_atomics/atomic/cons/explicit_value.cc: Same.
	* testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
	* testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
	* testsuite/29_atomics/atomic/cons/default.cc: Same.
	* testsuite/29_atomics/atomic/requirements: Same.
	* testsuite/29_atomics/atomic/requirements/explicit_instantiation: Same.
	* testsuite/29_atomics/atomic/requirements/explicit_instantiation/
	1.cc: Same.
	
2008-04-10  Lawrence Crowl  <crowl@google.com>

	* include/c_global/cstdatomic: New.
	* include/c_compatibility/stdatomic.h: New.
	* src/atomic.c: New.

From-SVN: r134174
2008-04-10 20:26:45 +00:00
..
common_type *: Change namespace pb_ds to __gnu_pbds. 2007-09-12 23:06:27 +00:00
hash_fn *: Change namespace pb_ds to __gnu_pbds. 2007-09-12 23:06:27 +00:00
io *: Change namespace pb_ds to __gnu_pbds. 2007-09-12 23:06:27 +00:00
native_type re PR libstdc++/30085 (switch debug mode hash containers from ext to tr1) 2007-10-18 15:22:58 +00:00
performance Convert ext/hash_map, set to tr1/functional, tr1/unordered_map, set. 2007-10-11 21:48:54 +00:00
regression *: Change namespace pb_ds to __gnu_pbds. 2007-09-12 23:06:27 +00:00
rng *: Change namespace pb_ds to __gnu_pbds. 2007-09-12 23:06:27 +00:00
statistic *: Change namespace pb_ds to __gnu_pbds. 2007-09-12 23:06:27 +00:00
testsuite_abi_check.cc PR libstdc++/28080 (partial) 2007-03-06 17:43:27 +00:00
testsuite_abi.cc testsuite_abi.h: Remove symbol_objects, symbol_names typedefs. 2008-03-26 22:29:13 +00:00
testsuite_abi.h testsuite_abi.h: Remove symbol_objects, symbol_names typedefs. 2008-03-26 22:29:13 +00:00
testsuite_allocator.cc testsuite_allocator.h, [...]: Remove semi-colons after namespace declarations. 2007-12-09 19:43:49 +00:00
testsuite_allocator.h testsuite_allocator.h, [...]: Remove semi-colons after namespace declarations. 2007-12-09 19:43:49 +00:00
testsuite_api.h requirements/non_uint_neg.cc: Avoid -Wall warnings. 2007-12-10 16:55:30 +00:00
testsuite_character.cc util: New directory. 2006-06-07 14:58:24 +00:00
testsuite_character.h testsuite_allocator.h, [...]: Remove semi-colons after namespace declarations. 2007-12-09 19:43:49 +00:00
testsuite_common_types.h [multiple changes] 2008-04-10 20:26:45 +00:00
testsuite_hooks.cc [multiple changes] 2007-12-10 13:53:10 +00:00
testsuite_hooks.h stl_algo.h: Add return type information to comments. 2007-09-26 17:04:06 +00:00
testsuite_io.h testsuite_allocator.h, [...]: Remove semi-colons after namespace declarations. 2007-12-09 19:43:49 +00:00
testsuite_iterators.h stl_algobase.h (struct __cm_assign, [...]): Add. 2007-10-19 17:04:59 +00:00
testsuite_performance.h testsuite_allocator.h, [...]: Remove semi-colons after namespace declarations. 2007-12-09 19:43:49 +00:00
testsuite_rvalref.h [multiple changes] 2007-12-10 13:53:10 +00:00
testsuite_shared.cc throw_allocator.h: Fixes for -fno-exceptions. 2007-06-26 11:01:15 +00:00
testsuite_tr1.h type_traits_fwd.h (__is_union_or_class): Remove. 2007-04-09 17:07:37 +00:00
testsuite_visualization.h util: New directory. 2006-06-07 14:58:24 +00:00