gcc/libstdc++-v3/libsupc++
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
..
array_type_info.cc array_type_info.cc: Likewise. 2007-03-18 22:35:39 +00:00
atexit_arm.cc atexit_arm.cc: New file. 2007-05-04 17:42:49 +00:00
bad_cast.cc array_type_info.cc: Likewise. 2007-03-18 22:35:39 +00:00
bad_typeid.cc array_type_info.cc: Likewise. 2007-03-18 22:35:39 +00:00
class_type_info.cc array_type_info.cc: Likewise. 2007-03-18 22:35:39 +00:00
cxxabi-forced.h cxxabi-internal.h: Remove, to be replaced by... 2007-05-08 02:50:32 -04:00
cxxabi.h cxxabi.h (_GLIBCXX_NOTHROW): New macro. 2007-05-09 05:21:36 +00:00
del_op.cc cc_hash_max_collision_check_resize_trigger_imp.hpp: Qualify namespace std members. 2007-04-11 01:11:56 +00:00
del_opnt.cc
del_opv.cc
del_opvnt.cc
dyncast.cc array_type_info.cc: Likewise. 2007-03-18 22:35:39 +00:00
eh_alloc.cc eh_alloc.cc (__cxa_free_exception): Don't refer to the emergency_buffer using &array[0][0]' notation, use array'. 2007-02-01 15:04:34 +11:00
eh_arm.cc eh_arm.cc (__cxa_type_match): Handle foreign exceptions. 2007-06-13 19:31:58 +00:00
eh_aux_runtime.cc
eh_call.cc
eh_catch.cc
eh_exception.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
eh_globals.cc
eh_personality.cc re PR c++/34152 (Erratic behaviour: Exception translation (throw from signal handlers)) 2008-01-06 21:25:57 +01:00
eh_term_handler.cc
eh_terminate.cc
eh_throw.cc
eh_type.cc
eh_unex_handler.cc
enum_type_info.cc array_type_info.cc: Likewise. 2007-03-18 22:35:39 +00:00
exception throw_allocator.h: Fixes for -fno-exceptions. 2007-06-26 11:01:15 +00:00
exception_defines.h
function_type_info.cc array_type_info.cc: Likewise. 2007-03-18 22:35:39 +00:00
fundamental_type_info.cc array_type_info.cc: Likewise. 2007-03-18 22:35:39 +00:00
guard.cc configure.ac (--enable-linux-futex): Add new configure option. 2008-01-08 17:14:49 +01:00
Makefile.am cxxabi-internal.h: Remove, to be replaced by... 2007-05-08 02:50:32 -04:00
Makefile.in [multiple changes] 2008-04-10 20:26:45 +00:00
new throw_allocator.h: Fixes for -fno-exceptions. 2007-06-26 11:01:15 +00:00
new_handler.cc re PR libstdc++/14493 (std::bad_alloc::what() does not explain what happened) 2007-02-01 13:36:51 +00:00
new_op.cc
new_opnt.cc
new_opv.cc
new_opvnt.cc
pbase_type_info.cc array_type_info.cc: Likewise. 2007-03-18 22:35:39 +00:00
pmem_type_info.cc array_type_info.cc: Likewise. 2007-03-18 22:35:39 +00:00
pointer_type_info.cc array_type_info.cc: Likewise. 2007-03-18 22:35:39 +00:00
pure.cc
si_class_type_info.cc array_type_info.cc: Likewise. 2007-03-18 22:35:39 +00:00
tinfo2.cc array_type_info.cc: Likewise. 2007-03-18 22:35:39 +00:00
tinfo.cc array_type_info.cc: Likewise. 2007-03-18 22:35:39 +00:00
tinfo.h array_type_info.cc: Likewise. 2007-03-18 22:35:39 +00:00
typeinfo re PR libstdc++/33678 (__do_catch, __do_upcast ABI change) 2007-10-06 23:40:32 +00:00
unwind-cxx.h
vec.cc atexit_arm.cc: New file. 2007-05-04 17:42:49 +00:00
vmi_class_type_info.cc array_type_info.cc: Likewise. 2007-03-18 22:35:39 +00:00
vterminate.cc