re PR libstdc++/54314 (undefined references to 'construction vtable for std::ostream...
[platform/upstream/gcc.git] / libstdc++-v3 / ChangeLog
1 2013-01-29  Jason Merrill  <jason@redhat.com>
2
3         PR libstdc++/54314
4         * config/abi/pre/gnu.ver: Don't export construction vtables.
5         * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
6
7 2013-01-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
8
9         PR libstdc++/56112
10         * include/bits/hashtable_policy.h (insert(_Pair&&)): Use _M_emplace
11         to construct value_type explicitly before trying to extract the key.
12         * testsuite/23_containers/unordered_map/cons/56112.cc: New.
13
14 2013-01-28  François Dumont  <fdumont@gcc.gnu.org>
15
16         * include/bits/hashtable_policy.h (_Local_iterator_base): Use
17         _Hashtable_ebo_helper to embed functors into the local_iterator
18         when necessary. Pass information about functors involved in hash
19         code by copy.
20         * include/bits/hashtable.h (__cache_default): Do not cache for
21         builtin integral types unless the hash functor is not noexcept
22         qualified or is not default constructible. Adapt static assertions
23         and local iterator instantiations.
24         * include/debug/unordered_set
25         (std::__debug::unordered_set<>::erase): Detect local iterators to
26         invalidate using contained node rather than generating a dummy
27         local_iterator instance.
28         (std::__debug::unordered_multiset<>::erase): Likewise.
29         * include/debug/unordered_map
30         (std::__debug::unordered_map<>::erase): Likewise.
31         (std::__debug::unordered_multimap<>::erase): Likewise.
32         * testsuite/performance/23_containers/insert_erase/41975.cc: Test
33         std::tr1 and std versions of unordered_set regardless of any
34         macro. Add test on default cache behavior.
35         * testsuite/performance/23_containers/insert/54075.cc: Likewise.
36         * testsuite/23_containers/unordered_set/instantiation_neg.cc:
37         Adapt line number.
38         * testsuite/23_containers/unordered_set/
39         not_default_constructible_hash_neg.cc: New.
40         * testsuite/23_containers/unordered_set/buckets/swap.cc: New.
41
42 2013-01-24  Paolo Carlini  <paolo.carlini@oracle.com>
43
44         PR libstdc++/56085
45         * include/std/complex (pow(const complex<>&, int)): Avoid __n
46         signed overflow.
47
48 2013-01-22  Jakub Jelinek  <jakub@redhat.com>
49
50         * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
51         Tightten scan-assembler-times regexps, add dg-additional-options for
52         ia32, add -g0 -fno-exceptions -fno-asynchronous-unwind-tables to
53         dg-options.
54
55 2013-01-12  Andi Kleen  <ak@linux.intel.com>
56             Jonathan Wakely  <jwakely.gcc@gmail.com>
57
58         PR libstdc++/55233
59         * include/bits/atomic_base.h (__memory_order_modifier): Add
60         __memory_order_mask, __memory_order_modifier_mask,
61         __memory_order_hle_acquire, __memory_order_hle_release.
62         (operator|,operator&): Add.
63         (__cmpexch_failure_order):  Rename to __cmpexch_failure_order2.
64         (__cmpexch_failure_order): Add.
65         (clear, store, load, compare_exchange_weak, compare_exchange_strong):
66         Handle flags.
67         * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
68         Add.
69
70 2013-01-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
71
72         PR libstdc++/55861
73         * include/std/future (_State_base::_S_check(const shared_ptr<T>&)):
74         Fix return type.
75         (__basic_future::_M_get_result()): Const qualify.
76         (shared_future::get()): Likewise.
77         * testsuite/30_threads/shared_future/members/get.cc: Use const
78         objects.
79
80 2013-01-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
81
82         PR libstdc++/55043 (again)
83         * include/bits/alloc_traits.h (allocator_traits::construct): Disable
84         unless construction would be well-formed.
85         (__allow_copy_cons, __check_copy_constructible): Define.
86         * include/bits/unordered_map.h (__check_copy_constructible): Use as
87         base class so copy constructor will be deleted if appropriate.
88         (is_copy_constructible): Remove specialization.
89         * include/bits/unordered_set.h: Likewise.
90         * include/debug/unordered_map.h: Undo previous commit. Default copy
91         and move constructors.
92         * include/debug/unordered_set.h: Likewise.
93         * include/profile/unordered_map.h: Undo previous commit.
94         * include/profile/unordered_set.h: Likewise.
95         * testsuite/23_containers/unordered_map/55043.cc: Fix test.
96         * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
97         * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
98         * testsuite/23_containers/unordered_set/55043.cc: Likewise.
99         * testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
100         cannot support incomplete types.
101         * testsuite/23_containers/unordered_multimap/requirements/53339.cc:
102         Likewise.
103
104 2013-01-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
105
106         PR libstdc++/55043
107         * include/std/unordered_map: Include alloc_traits.h
108         * include/std/unordered_set: Likewise.
109         * include/bits/alloc_traits.h: Define __is_copy_insertable.
110         * include/bits/unordered_map.h: Use it.
111         * include/bits/unordered_set.h: Likewise.
112         * include/debug/unordered_map.h: Likewise.
113         * include/debug/unordered_set.h: Likewise.
114         * include/profile/unordered_map.h: Likewise.
115         * include/profile/unordered_set.h: Likewise.
116         * include/bits/hashtable.h: Fix comment typos.
117         * testsuite/23_containers/unordered_map/55043.cc: New.
118         * testsuite/23_containers/unordered_multimap/55043.cc: New.
119         * testsuite/23_containers/unordered_multiset/55043.cc: New.
120         * testsuite/23_containers/unordered_set/55043.cc: New.
121
122 2013-01-03  Janis Johnson  <janisjo@codesourcery.com>
123
124         * testsuite/lib/gdb-test.exp (gdb_batch_check): Catch error running
125         gdb command.
126
127 2013-01-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
128
129         * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
130
131 2013-01-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
132
133         PR libstdc++/55908
134         * include/std/functional (_Mem_fn::operator()): Fix constraints to
135         avoid ambiguity.
136         * testsuite/20_util/function_objects/mem_fn/55908.cc: New.
137         * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
138
139 2013-01-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
140
141         PR libstdc++/55594
142         * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Restrict test to
143         Solaris targets.
144         * configure: Regenerate.
145
146 2013-01-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
147
148         PR libstdc++/55847
149         * src/c++11/shared_ptr.cc (bad_weak_ptr::what()): Correct string.
150         * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Verify
151         string.
152
153         PR libstdc++/55728
154         * include/std/functional (bad_function_call::what()): Declare.
155         * src/c++11/functional.cc (bad_function_call::what()): Define.
156         * config/abi/pre/gnu.ver (bad_function_call::what()): Export.
157         * testsuite/20_util/bad_function_call/what.cc: New.
158
159 2013-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
160
161         * include/bits/unordered_map.h: Fix typo in comments.
162         * doc/xml/manual/status_cxx2011.xml: Add implementation-defined bucket
163         counts for unordered associative containers.
164
165 2013-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
166
167         * doc/xml/manual/abi.xml: Update library and symbol versions.
168
169 2013-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
170
171         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Fix typo
172         in copyright years.
173         * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
174
175 \f
176 Copyright (C) 2013 Free Software Foundation, Inc.
177
178 Copying and distribution of this file, with or without modification,
179 are permitted in any medium without royalty provided the copyright
180 notice and this notice are preserved.