gcc/libstdc++-v3/include/ext
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
..
pb_ds run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
algorithm stl_algo.h (is_sorted, [...]): Add. 2007-10-14 21:17:23 +00:00
array_allocator.h run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
atomicity.h valarray-inst.cc, [...]: Fix comment typos. 2007-10-01 21:49:39 +01:00
bitmap_allocator.h run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
codecvt_specializations.h run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
concurrence.h run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
debug_allocator.h re PR libstdc++/27199 (ptrdiff_t and size_t outside of namespace std) 2006-04-23 14:54:26 +00:00
enc_filebuf.h run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
functional PR libstdc++/28080 (partial) 2007-02-26 09:36:39 +00:00
iterator
malloc_allocator.h throw_allocator.h (throw_allocator<>:: construct<>(pointer, _Args&&...)): Add. 2007-10-27 00:41:21 +00:00
memory
mt_allocator.h run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
new_allocator.h throw_allocator.h (throw_allocator<>:: construct<>(pointer, _Args&&...)): Add. 2007-10-27 00:41:21 +00:00
numeric
numeric_traits.h stl_algobase.h (struct __lexicographical_compare): Add. 2007-11-16 23:41:55 +00:00
pod_char_traits.h pod_char_traits.h (char_traits<>::move): Use __builtin_memmove. 2007-05-11 18:58:08 +00:00
pool_allocator.h run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
rb_tree
rc_string_base.h auto_ptr.h: Fix comment typos. 2008-01-31 18:44:55 +00:00
rope auto_ptr.h: Fix comment typos. 2008-01-31 18:44:55 +00:00
ropeimpl.h stl_construct.h (_Destroy(_ForwardIterator, _ForwardIterator __last, _Allocator)): Change the last parameter to _Allocator&. 2007-05-04 15:06:46 +00:00
slist libstdc++.exp: Check CXXFLAGS. 2007-09-07 03:01:53 +00:00
sso_string_base.h vstring.h (__versa_string<>:: __versa_string(__versa_string&&), [...]): Add. 2007-10-16 15:20:09 +00:00
stdio_filebuf.h
stdio_sync_filebuf.h run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
throw_allocator.h run_doxygen: Remove html_output_dir. 2008-03-26 06:27:35 +00:00
type_traits.h re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
typelist.h [multiple changes] 2008-04-10 20:26:45 +00:00
vstring.h vstring.h (__versa_string<>::front, [...]): Add. 2007-10-17 00:46:27 +00:00
vstring.tcc cxxabi-internal.h: Remove, to be replaced by... 2007-05-08 02:50:32 -04:00
vstring_fwd.h PR libstdc++/28080 (partial) 2007-02-18 11:32:44 +00:00
vstring_util.h vstring.h (__versa_string<>:: __versa_string(__versa_string&&), [...]): Add. 2007-10-16 15:20:09 +00:00