libstdc++: Add mem_order_hle_acquire/release to atomic.h v2
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob416b7e93d599a52489979b4e2f3b0b5eb65aa3e0
1 2013-01-12  Andi Kleen  <ak@linux.intel.com>
2             Jonathan Wakely  <jwakely.gcc@gmail.com>
4         PR libstdc++/55223
5         * include/bits/atomic_base.h (__memory_order_modifier): Add
6         __memory_order_mask, __memory_order_modifier_mask,
7         __memory_order_hle_acquire, __memory_order_hle_release.
8         (operator|,operator&): Add.
9         (__cmpexch_failure_order):  Rename to __cmpexch_failure_order2.
10         (__cmpexch_failure_order): Add.
11         (clear, store, load, compare_exchange_weak, compare_exchange_strong):
12         Handle flags.
13         * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
14         Add.
16 2013-01-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
18         PR libstdc++/55861
19         * include/std/future (_State_base::_S_check(const shared_ptr<T>&)):
20         Fix return type.
21         (__basic_future::_M_get_result()): Const qualify.
22         (shared_future::get()): Likewise.
23         * testsuite/30_threads/shared_future/members/get.cc: Use const
24         objects.
26 2013-01-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
28         PR libstdc++/55043 (again)
29         * include/bits/alloc_traits.h (allocator_traits::construct): Disable
30         unless construction would be well-formed.
31         (__allow_copy_cons, __check_copy_constructible): Define.
32         * include/bits/unordered_map.h (__check_copy_constructible): Use as
33         base class so copy constructor will be deleted if appropriate.
34         (is_copy_constructible): Remove specialization.
35         * include/bits/unordered_set.h: Likewise.
36         * include/debug/unordered_map.h: Undo previous commit. Default copy
37         and move constructors.
38         * include/debug/unordered_set.h: Likewise.
39         * include/profile/unordered_map.h: Undo previous commit.
40         * include/profile/unordered_set.h: Likewise.
41         * testsuite/23_containers/unordered_map/55043.cc: Fix test.
42         * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
43         * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
44         * testsuite/23_containers/unordered_set/55043.cc: Likewise.
45         * testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
46         cannot support incomplete types.
47         * testsuite/23_containers/unordered_multimap/requirements/53339.cc:
48         Likewise.
50 2013-01-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
52         PR libstdc++/55043
53         * include/std/unordered_map: Include alloc_traits.h
54         * include/std/unordered_set: Likewise.
55         * include/bits/alloc_traits.h: Define __is_copy_insertable.
56         * include/bits/unordered_map.h: Use it.
57         * include/bits/unordered_set.h: Likewise.
58         * include/debug/unordered_map.h: Likewise.
59         * include/debug/unordered_set.h: Likewise.
60         * include/profile/unordered_map.h: Likewise.
61         * include/profile/unordered_set.h: Likewise.
62         * include/bits/hashtable.h: Fix comment typos.
63         * testsuite/23_containers/unordered_map/55043.cc: New.
64         * testsuite/23_containers/unordered_multimap/55043.cc: New.
65         * testsuite/23_containers/unordered_multiset/55043.cc: New.
66         * testsuite/23_containers/unordered_set/55043.cc: New.
68 2013-01-03  Janis Johnson  <janisjo@codesourcery.com>
70         * testsuite/lib/gdb-test.exp (gdb_batch_check): Catch error running
71         gdb command.
73 2013-01-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
75         * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
77 2013-01-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
79         PR libstdc++/55908
80         * include/std/functional (_Mem_fn::operator()): Fix constraints to
81         avoid ambiguity.
82         * testsuite/20_util/function_objects/mem_fn/55908.cc: New.
83         * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
85 2013-01-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
87         PR libstdc++/55594
88         * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Restrict test to
89         Solaris targets.
90         * configure: Regenerate.
92 2013-01-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
94         PR libstdc++/55847
95         * src/c++11/shared_ptr.cc (bad_weak_ptr::what()): Correct string.
96         * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Verify
97         string.
99         PR libstdc++/55728
100         * include/std/functional (bad_function_call::what()): Declare.
101         * src/c++11/functional.cc (bad_function_call::what()): Define.
102         * config/abi/pre/gnu.ver (bad_function_call::what()): Export.
103         * testsuite/20_util/bad_function_call/what.cc: New.
105 2013-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
107         * include/bits/unordered_map.h: Fix typo in comments.
108         * doc/xml/manual/status_cxx2011.xml: Add implementation-defined bucket
109         counts for unordered associative containers.
111 2013-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
113         * doc/xml/manual/abi.xml: Update library and symbol versions.
115 2013-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
117         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Fix typo
118         in copyright years.
119         * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
122 Copyright (C) 2013 Free Software Foundation, Inc.
124 Copying and distribution of this file, with or without modification,
125 are permitted in any medium without royalty provided the copyright
126 notice and this notice are preserved.