gcc/libstdc++-v3/testsuite
Benjamin Kosnik 50ce8d3d78 cstdatomic: Update to N2798.
2008-12-11  Benjamin Kosnik  <bkoz@redhat.com>
	    Richard Henderson  <rth@redhat.com>

	* include/c_global/cstdatomic: Update to N2798.
	(atomic): Remove explicit constructors as per DR 845.
	* include/bits/atomic_0.h: New. Switchable implementation.
	* include/bits/atomic_2.h: New. Lock-free implementation.
	* include/c_compatibility/stdatomic.h: Use foward headers.
	* include/bits/atomicfwd_cxx.h: New.
	* include/bits/atomicfwd_c.h: New.
	* src/atomic.cc: Adjust.
	* acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove,
	unconditionally use default/deleted syntax.
	(GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for 2, 8.
	* include/Makefile.am (bits_headers): Add atomicfwd_c.h,
	atomicfwd_cxx.h, atomic_0.h, atomic_2.h.
	* include/Makefile.in: Regenerate.
	* configure: Regenerate.
	* config.h.in: Regenerate.
	* config/abi/pre/gnu.ver: Adjust exports.

	* testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: Adjust.
	* testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: Same.
	* testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: Same.
	* testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
	* testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Move to..
	* testsuite/29_atomics/atomic_address/cons/single_value.cc: ...this.
	* testsuite/29_atomics/atomic_address/cons/copy_neg.cc
	* testsuite/29_atomics/atomic_integral/cons/single_value.cc: New.
	* testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: New.
	* testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: New.
	* testsuite/29_atomics/atomic_integral/cons/default.cc: New.
	* testsuite/29_atomics/atomic_integral/cons/direct_list.cc: New.
	* testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
	* testsuite/29_atomics/atomic_integral/requirements/
	standard_layout.cc: New.
	* testsuite/29_atomics/atomic_integral/operators/
	integral_assignment.cc: New.
	* testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: New.
	* testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: New.
	* testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: New.
	* testsuite/29_atomics/atomic_integral/operators/increment.cc: New.
	* testsuite/29_atomics/atomic_integral/operators/decrement.cc: New.
	* testsuite/29_atomics/atomic_integral/operators/bitwise.cc: New.
	* testsuite/29_atomics/atomic_integral/operators/
	integral_conversion.cc: New.
	* testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Adjust.
	* testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
	* testsuite/29_atomics/atomic_flag/requirements/
	standard_layout.cc: Same.
	* testsuite/29_atomics/atomic_flag/
	atomic_global_fence_compatibility.cc: Kill.
	* testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Adjust.
	* testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
	* testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
	* testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
	* testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
	* testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
	* testsuite/29_atomics/atomic/cons/explicit_value.cc: Move to...
	* testsuite/29_atomics/atomic/cons/single_value.cc: ...this.
	* testsuite/29_atomics/atomic/cons/copy_neg.cc
	* testsuite/29_atomics/atomic/cons/direct_list.cc: New.
	* testsuite/29_atomics/atomic/cons/copy_list.cc: New.
	* testsuite/29_atomics/atomic/requirements/standard_layout.cc: New.
	* testsuite/29_atomics/atomic/requirements/base_classes.cc: New.
	* testsuite/29_atomics/atomic/operators/integral_assignment.cc: New.
	* testsuite/29_atomics/atomic/operators/integral_conversion.cc: New.
	* testsuite/util/testsuite_hooks.h (bitmask_operators): Move...
	* testsuite/util/testsuite_common_types.h: ...here.
	(atomic_integrals_no_bool): New.
	(atomic_integrals): New.
	(has_increment_operators, has_decrement_operators)
	(direct_list_initializable, single_value_constructible)
	(standard_layout, has_bitwise_operators, integral_convertable)
	(integral_assignable): Add.


Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r142714
2008-12-12 17:10:16 +00:00
..
17_intro forward_list: New. 2008-10-15 16:48:13 +00:00
18_support [multiple changes] 2008-08-23 11:28:30 +00:00
19_diagnostics error_constants.h (enum errc): Remove no_posix_equivalent. 2008-10-24 10:41:42 +00:00
20_util 2008-11-05 Paolo Carlini <paolo.carlini@oracle.com> 2008-11-05 15:36:06 +00:00
21_strings re PR libstdc++/37522 (Incorrect vswprintf prototype breaks __to_xstring) 2008-10-27 15:01:28 +00:00
22_locale re PR libstdc++/38399 (money_get<> read decimal point when frac_digits() <= 0) 2008-12-05 18:23:39 +00:00
23_containers re PR libstdc++/38244 (bitset initialization from 0 rejected.) 2008-11-24 11:13:44 +00:00
24_iterators stl_iterator_base_funcs.h (next, prev): Add in C++0x mode. 2008-06-17 21:33:15 +00:00
25_algorithms 37547.cc: Return void to avoid warnings. 2008-09-23 18:24:20 +00:00
26_numerics re PR libstdc++/37582 (std::pow strange overload resolution) 2008-12-12 12:22:33 +01:00
27_io cstdatomic: Update to N2798. 2008-12-12 17:10:16 +00:00
28_regex Add initializer_list support as per N2679. 2008-07-21 15:40:39 -04:00
29_atomics cstdatomic: Update to N2798. 2008-12-12 17:10:16 +00:00
30_threads system_error (is_error_code_enum): Specialize for errc. 2008-10-22 15:27:44 +00:00
abi re PR c++/37761 (Revision 140916 caused libstdc++ failures) 2008-10-07 13:35:35 -04:00
backward
config * testsuite/config/default.exp: Load gcc dejapatches.exp. 2008-02-15 09:09:47 +00:00
data
ext 1_neg.cc: Adjust dg-error line numbers. 2008-11-11 13:49:46 +00:00
lib re PR testsuite/28870 (configuring, over-riding timeout values in testsuite) 2008-11-26 18:51:07 +00:00
libstdc++-abi
libstdc++-dg
performance using.xml: Outline exception topics. 2008-06-06 19:32:43 +00:00
thread
tr1 [multiple changes] 2008-12-08 11:51:32 +00:00
util cstdatomic: Update to N2798. 2008-12-12 17:10:16 +00:00
Makefile.am dg-extract-results.sh: New file. 2008-10-24 10:58:44 +02:00
Makefile.in dg-extract-results.sh: New file. 2008-10-24 10:58:44 +02:00