OSDN Git Service

f1941cb4a757c5c287380a4a9cf78b1ead4d368d
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2011-05-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
2
3         * libsupc++/guard.cc: Fix comments.
4
5 2011-05-25  Ian Lance Taylor  <iant@google.com>
6
7         PR libstdc++/49060
8         * include/backward/hashtable.h (hashtable::erase): Don't crash if
9         erasing first and another element with a reference to the other
10         element.
11         * testsuite/backward/hash_set/49060.cc: New.
12
13 2011-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
14
15         * include/bits/random.h (random_device::min, max): Specify constexpr.
16
17 2011-05-25  Paolo Carlini  <paolo.carlini@oracle.com>
18
19         * include/std/thread: Use noexcept throughout per the FDIS.
20         * include/std/mutex: Likewise.
21
22 2011-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
23
24         * testsuite/20_util/duration/arithmetic/dr2020.cc: Fix typo.
25
26 2011-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
27
28         PR libstdc++/49151
29         * include/std/chrono (operator+, operator-, operator*, operator/,
30         operator&): Implement LWG 2020 [WP]; specify constexpr.
31         * testsuite/20_util/duration/arithmetic/dr2020.cc: New.
32
33 2011-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
34
35         PR libstdc++/49141
36         * testsuite/26_numerics/complex/cons/48760.cc: Use dg-require-c-std.
37         * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
38         * testsuite/26_numerics/headers/cmath/19322.cc: Likewise.
39
40 2011-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
41
42         * include/bits/c++config (_GLIBCXX_NOTHROW): Update for noexcept.
43         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
44         line number.
45
46 2011-05-23  Benjamin Kosnik  <bkoz@redhat.com>
47
48         PR libstdc++/37144
49         PR libstdc++/28457
50         Interface changes for ext/pb_ds.
51         PB_DS_BASE_C_DEC to unique PB_DS_*_BASE macros.
52         * include/ext/pb_ds/assoc_container.hpp (container_base): Remove.
53         (basic_hash_table, basic_branch, list_update): Derive from
54         container_base_dispatch.
55         * include/ext/pb_ds/list_update_policy.hpp (null_lu_metadata): Remove.
56         (move_to_front_lu_policy): To lu_move_to_front_policy.
57         (counter_lu_policy): To lu_counter_policy.
58         * include/ext/pb_ds/tree_policy.hpp (null_tree_node_update): Remove.
59         * include/ext/pb_ds/tag_and_trait.hpp (container_base_dispatch): Adjust
60         template parameters, declare here.
61         (null_mapped_type) Remove.
62         (null_type): Just use this for template tricks everywhere.
63         * include/ext/pb_ds/hash_policy.hpp (null_hash_fn, null_probe_fn):
64         Remove.
65         * include/ext/pb_ds/trie_policy.hpp (null_trie_node_update): Remove.
66         (string_trie_e_access_traits): To trie_string_access_traits.
67         * include/ext/pb_ds/priority_queue.hpp: Use container_base_dispatch.
68
69         File changes.
70         * include/Makefile.am (pb_headers): Removed and changed file names.
71         * include/Makefile.in: Regenerated.
72         * include/ext/pb_ds/detail/basic_types.hpp: Remove.
73         * include/ext/pb_ds/detail/bin_search_tree_/
74           cond_dtor_entry_dealtor.hpp: Remove.
75         * include/ext/pb_ds/detail/bin_search_tree_/
76           cond_key_dtor_entry_dealtor.hpp: Remove.
77         * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Move..
78         * include/ext/pb_ds/detail/binary_heap_/
79           point_const_iterator.hpp: ..here.
80         * include/ext/pb_ds/detail/basic_tree_policy: Move to...
81         * include/ext/pb_ds/detail/branch_policy: This.
82         * include/ext/pb_ds/detail/branch_policy/
83           basic_tree_policy_base.hpp: Move...
84         * include/ext/pb_ds/detail/branch_policy/branch_policy.hpp: ...here.
85         * include/ext/pb_ds/detail/branch_policy/null_node_metadata.hpp: Add.
86         * include/ext/pb_ds/detail/branch_policy/traits.hpp: Add.
87         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
88         null_metadata.hpp: Remove.
89         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
90         const_point_iterator.hpp: Move...
91         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
92         point_const_iterator.hpp: ...here.
93         * include/ext/pb_ds/detail/list_update_policy/
94         counter_lu_metadata.hpp: Move..
95         * include/ext/pb_ds/detail/list_update_policy/
96         lu_counter_metadata.hpp: ...here.
97         * include/ext/pb_ds/detail/list_update_policy/
98         counter_lu_policy_imp.hpp: Remove.
99         * include/ext/pb_ds/detail/list_update_policy/
100         mtf_lu_policy_imp.hpp: Remove.
101         * include/ext/pb_ds/detail/trie_policy/
102         string_trie_e_access_traits_imp.hpp: Move...
103         * include/ext/pb_ds/detail/trie_policy/
104         sample_trie_access_traits.hpp: ...here.
105         * include/ext/pb_ds/detail/trie_policy/
106         sample_trie_e_access_traits.hpp: Move...
107         * include/ext/pb_ds/detail/trie_policy/
108         trie_string_access_traits_imp.hpp: ...here.
109         * include/ext/pb_ds/detail/trie_policy/null_node_update_imp.hpp: Remove.
110         * include/ext/pb_ds/detail/tree_policy/null_node_update_imp.hpp: Remove.
111         * include/ext/pb_ds/detail/ov_tree_map_/cond_dtor.hpp: Remove.
112         * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: New, fold all
113         types found in the following files into pat_trie_base.
114         * include/ext/pb_ds/detail/pat_trie_/const_child_iterator.hpp: Folded.
115         * include/ext/pb_ds/detail/pat_trie_/
116           cond_dtor_entry_dealtor.hpp: Folded.
117         * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Folded.
118         * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Folded.
119         * include/ext/pb_ds/detail/pat_trie_/head.hpp: Folded.
120         * include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Folded.
121         * include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Folded.
122         * include/ext/pb_ds/detail/pat_trie_/node_metadata_base.hpp: Folded.
123         * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Folded.
124         * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Folded.
125         * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Folded.
126         * include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp: Move...
127         * include/ext/pb_ds/detail/pat_trie_/synth_access_traits.hpp: ...here.
128         * include/ext/pb_ds/detail/unordered_iterator/
129         const_point_iterator.hpp: Move...
130         * include/ext/pb_ds/detail/unordered_iterator/
131         point_const_iterator.hpp: ...here.
132
133
134         Adjust for above changes.
135         * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp: Same.
136         * include/ext/pb_ds/detail/resize_policy/sample_resize_policy.hpp: Same.
137         * include/ext/pb_ds/detail/resize_policy/
138           sample_resize_trigger.hpp: Same.
139         * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp: Same.
140         * include/ext/pb_ds/detail/binomial_heap_base_/find_fn_imps.hpp: Same.
141         * include/ext/pb_ds/detail/binomial_heap_base_/insert_fn_imps.hpp: Same.
142         * include/ext/pb_ds/detail/binomial_heap_base_/
143           binomial_heap_base_.hpp: Same.
144         * include/ext/pb_ds/detail/binomial_heap_base_/
145           constructors_destructor_fn_imps.hpp: Same.
146         * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp: Same.
147         * include/ext/pb_ds/detail/binomial_heap_base_/
148           split_join_fn_imps.hpp: Same.
149         * include/ext/pb_ds/detail/container_base_dispatch.hpp: Same. Adjust
150           for template parameter ordering change.
151         * include/ext/pb_ds/detail/cc_hash_table_map_/
152           erase_store_hash_fn_imps.hpp: Same.
153         * include/ext/pb_ds/detail/cc_hash_table_map_/
154           constructor_destructor_no_store_hash_fn_imps.hpp: Same.
155         * include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
156         * include/ext/pb_ds/detail/cc_hash_table_map_/
157           insert_no_store_hash_fn_imps.hpp: Same.
158         * include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
159         * include/ext/pb_ds/detail/cc_hash_table_map_/
160           policy_access_fn_imps.hpp: Same.
161         * include/ext/pb_ds/detail/cc_hash_table_map_/
162           resize_store_hash_fn_imps.hpp: Same.
163         * include/ext/pb_ds/detail/cc_hash_table_map_/
164           constructor_destructor_store_hash_fn_imps.hpp: Same.
165         * include/ext/pb_ds/detail/cc_hash_table_map_/
166           insert_store_hash_fn_imps.hpp: Same.
167         * include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
168         * include/ext/pb_ds/detail/cc_hash_table_map_/info_fn_imps.hpp: Same.
169         * include/ext/pb_ds/detail/cc_hash_table_map_/
170           entry_list_fn_imps.hpp: Same.
171         * include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
172         * include/ext/pb_ds/detail/cc_hash_table_map_/
173           find_store_hash_fn_imps.hpp: Same.
174         * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
175         * include/ext/pb_ds/detail/cc_hash_table_map_/
176           debug_no_store_hash_fn_imps.hpp: Same.
177         * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
178         * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
179         * include/ext/pb_ds/detail/cc_hash_table_map_/
180           constructor_destructor_fn_imps.hpp: Same.
181         * include/ext/pb_ds/detail/cc_hash_table_map_/
182           cond_key_dtor_entry_dealtor.hpp: Same.
183         * include/ext/pb_ds/detail/cc_hash_table_map_/insert_fn_imps.hpp: Same.
184         * include/ext/pb_ds/detail/cc_hash_table_map_/
185           debug_store_hash_fn_imps.hpp: Same.
186         * include/ext/pb_ds/detail/cc_hash_table_map_/
187           erase_no_store_hash_fn_imps.hpp: Same.
188         * include/ext/pb_ds/detail/cc_hash_table_map_/size_fn_imps.hpp: Same.
189         * include/ext/pb_ds/detail/cc_hash_table_map_/
190           iterators_fn_imps.hpp: Same.
191         * include/ext/pb_ds/detail/cc_hash_table_map_/
192           resize_no_store_hash_fn_imps.hpp: Same.
193         * include/ext/pb_ds/detail/cc_hash_table_map_/
194           standard_policies.hpp: Same.
195         * include/ext/pb_ds/detail/tree_trace_base.hpp: Same.
196         * include/ext/pb_ds/detail/unordered_iterator/iterator.hpp: Same.
197         * include/ext/pb_ds/detail/unordered_iterator/const_iterator.hpp: Same.
198         * include/ext/pb_ds/detail/unordered_iterator/point_iterator.hpp: Same.
199         * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
200         * include/ext/pb_ds/detail/pat_trie_/policy_access_fn_imps.hpp: Same.
201         * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Same.
202         * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Same.
203         * include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp: Same.
204         * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Same.
205         * include/ext/pb_ds/detail/pat_trie_/
206           constructors_destructor_fn_imps.hpp: Same.
207         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
208         * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Same.
209         * include/ext/pb_ds/detail/pat_trie_/traits.hpp: Same.
210         * include/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp: Same.
211         * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Same.
212         * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Same.
213         * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
214         * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Same.
215         * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp: Same.
216         * include/ext/pb_ds/detail/bin_search_tree_/
217           policy_access_fn_imps.hpp: Same.
218         * include/ext/pb_ds/detail/bin_search_tree_/r_erase_fn_imps.hpp: Same.
219         * include/ext/pb_ds/detail/bin_search_tree_/
220           constructors_destructor_fn_imps.hpp: Same.
221         * include/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp: Same.
222         * include/ext/pb_ds/detail/bin_search_tree_/traits.hpp: Same.
223         * include/ext/pb_ds/detail/bin_search_tree_/info_fn_imps.hpp: Same.
224         * include/ext/pb_ds/detail/bin_search_tree_/rotate_fn_imps.hpp: Same.
225         * include/ext/pb_ds/detail/bin_search_tree_/erase_fn_imps.hpp: Same.
226         * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
227         * include/ext/pb_ds/detail/bin_search_tree_/insert_fn_imps.hpp: Same.
228         * include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp: Same.
229         * include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp: Same.
230         * include/ext/pb_ds/detail/bin_search_tree_/
231           split_join_fn_imps.hpp: Same.
232         * include/ext/pb_ds/detail/bin_search_tree_/iterators_fn_imps.hpp: Same.
233         * include/ext/pb_ds/detail/list_update_policy/
234           sample_update_policy.hpp: Same.
235         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
236           trace_fn_imps.hpp: Same.
237         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
238           erase_fn_imps.hpp: Same.
239         * include/ext/pb_ds/detail/gp_hash_table_map_/
240           erase_store_hash_fn_imps.hpp: Same.
241         * include/ext/pb_ds/detail/gp_hash_table_map_/
242           constructor_destructor_no_store_hash_fn_imps.hpp: Same.
243         * include/ext/pb_ds/detail/gp_hash_table_map_/
244           insert_no_store_hash_fn_imps.hpp: Same.
245         * include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
246         * include/ext/pb_ds/detail/gp_hash_table_map_/
247           policy_access_fn_imps.hpp: Same.
248         * include/ext/pb_ds/detail/gp_hash_table_map_/
249           resize_store_hash_fn_imps.hpp: Same.
250         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
251         * include/ext/pb_ds/detail/gp_hash_table_map_/
252           constructor_destructor_store_hash_fn_imps.hpp: Same.
253         * include/ext/pb_ds/detail/gp_hash_table_map_/
254           insert_store_hash_fn_imps.hpp: Same.
255         * include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
256         * include/ext/pb_ds/detail/gp_hash_table_map_/
257           iterator_fn_imps.hpp: Same.
258         * include/ext/pb_ds/detail/gp_hash_table_map_/info_fn_imps.hpp: Same.
259         * include/ext/pb_ds/detail/gp_hash_table_map_/
260           find_no_store_hash_fn_imps.hpp: Same.
261         * include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
262         * include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
263         * include/ext/pb_ds/detail/gp_hash_table_map_/
264           find_store_hash_fn_imps.hpp: Same.
265         * include/ext/pb_ds/detail/gp_hash_table_map_/
266           debug_no_store_hash_fn_imps.hpp: Same.
267         * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
268         * include/ext/pb_ds/detail/gp_hash_table_map_/
269           constructor_destructor_fn_imps.hpp: Same.
270         * include/ext/pb_ds/detail/gp_hash_table_map_/insert_fn_imps.hpp: Same.
271         * include/ext/pb_ds/detail/gp_hash_table_map_/
272           debug_store_hash_fn_imps.hpp: Same.
273         * include/ext/pb_ds/detail/gp_hash_table_map_/
274           erase_no_store_hash_fn_imps.hpp: Same.
275         * include/ext/pb_ds/detail/gp_hash_table_map_/
276           resize_no_store_hash_fn_imps.hpp: Same.
277         * include/ext/pb_ds/detail/gp_hash_table_map_/
278           standard_policies.hpp: Same.
279         * include/ext/pb_ds/detail/standard_policies.hpp: Same.
280         * include/ext/pb_ds/detail/types_traits.hpp: Same.
281         * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp: Same.
282         * include/ext/pb_ds/detail/binary_heap_/policy_access_fn_imps.hpp: Same.
283         * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Same.
284         * include/ext/pb_ds/detail/binary_heap_/entry_cmp.hpp: Same.
285         * include/ext/pb_ds/detail/binary_heap_/
286           constructors_destructor_fn_imps.hpp: Same.
287         * include/ext/pb_ds/detail/binary_heap_/debug_fn_imps.hpp: Same.
288         * include/ext/pb_ds/detail/binary_heap_/info_fn_imps.hpp: Same.
289         * include/ext/pb_ds/detail/binary_heap_/trace_fn_imps.hpp: Same.
290         * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Same.
291         * include/ext/pb_ds/detail/binary_heap_/entry_pred.hpp: Same.
292         * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Same.
293         * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
294         * include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp: Same.
295         * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
296         * include/ext/pb_ds/detail/binary_heap_/iterators_fn_imps.hpp: Same.
297         * include/ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp: Same.
298         * include/ext/pb_ds/detail/tree_policy/node_metadata_selector.hpp: Same.
299         * include/ext/pb_ds/detail/tree_policy/
300           sample_tree_node_update.hpp: Same.
301         * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp: Same.
302         * include/ext/pb_ds/detail/trie_policy/
303           sample_trie_node_update.hpp: Same.
304         * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
305         * include/ext/pb_ds/detail/trie_policy/
306           prefix_search_node_update_imp.hpp: Same.
307         * include/ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp: Same.
308         * include/ext/pb_ds/detail/cond_dealtor.hpp: Same.
309         * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp: Same.
310           Adjust for template parameter change, fold into
311           container_base_dispatch.
312         * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Same.
313         * include/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: Same.
314         * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Same.
315         * include/ext/pb_ds/detail/pairing_heap_/
316           constructors_destructor_fn_imps.hpp: Same.
317         * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Same.
318         * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
319         * include/ext/pb_ds/detail/pairing_heap_/split_join_fn_imps.hpp: Same.
320         * include/ext/pb_ds/detail/binomial_heap_/
321           constructors_destructor_fn_imps.hpp: Same.
322         * include/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: Same.
323         * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
324         * include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: Same.
325         * include/ext/pb_ds/detail/type_utils.hpp: Same.
326         * include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp: Same.
327         * include/ext/pb_ds/detail/eq_fn/eq_by_less.hpp: Same.
328         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
329           policy_access_fn_imps.hpp: Same.
330         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
331           left_child_next_sibling_heap_.hpp: Same.
332         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
333           const_iterator.hpp: Same.
334         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
335           insert_fn_imps.hpp: Same.
336         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
337           constructors_destructor_fn_imps.hpp: Same.
338         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
339           debug_fn_imps.hpp: Same.
340         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
341           node.hpp: Same.
342         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
343           info_fn_imps.hpp: Same.
344         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
345           iterators_fn_imps.hpp: Same.
346         * include/ext/pb_ds/detail/thin_heap_/trace_fn_imps.hpp: Same.
347         * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Same.
348         * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Same.
349         * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
350         * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Same.
351         * include/ext/pb_ds/detail/thin_heap_/
352           constructors_destructor_fn_imps.hpp: Same.
353         * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Same.
354         * include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp: Same.
355         * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
356         * include/ext/pb_ds/detail/ov_tree_map_/policy_access_fn_imps.hpp: Same.
357         * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Same.
358         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
359         * include/ext/pb_ds/detail/ov_tree_map_/
360           constructors_destructor_fn_imps.hpp: Same.
361         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
362         * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
363         * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
364         * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
365         * include/ext/pb_ds/detail/ov_tree_map_/traits.hpp: Same.
366         * include/ext/pb_ds/detail/ov_tree_map_/iterators_fn_imps.hpp: Same.
367         * include/ext/pb_ds/detail/debug_map_base.hpp: Same.
368         * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
369         * include/ext/pb_ds/detail/hash_fn/sample_probe_fn.hpp: Same.
370         * include/ext/pb_ds/detail/hash_fn/sample_ranged_probe_fn.hpp: Same.
371         * include/ext/pb_ds/detail/hash_fn/sample_range_hashing.hpp: Same.
372         * include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: Same.
373         * include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
374         * include/ext/pb_ds/detail/hash_fn/sample_ranged_hash_fn.hpp: Same.
375         * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
376         * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
377         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
378         * include/ext/pb_ds/detail/splay_tree_/
379           constructors_destructor_fn_imps.hpp: Same.
380         * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
381         * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
382         * include/ext/pb_ds/detail/splay_tree_/node.hpp: Same.
383         * include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
384         * include/ext/pb_ds/detail/splay_tree_/info_fn_imps.hpp: Same.
385         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
386         * include/ext/pb_ds/detail/splay_tree_/traits.hpp: Same.
387         * include/ext/pb_ds/detail/list_update_map_/trace_fn_imps.hpp: Same.
388         * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
389         * include/ext/pb_ds/detail/list_update_map_/
390           entry_metadata_base.hpp: Same.
391         * include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
392         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
393         * include/ext/pb_ds/detail/list_update_map_/
394           constructor_destructor_fn_imps.hpp: Same.
395         * include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
396         * include/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: Same.
397         * include/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp: Same.
398         * include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp: Same.
399         * include/ext/pb_ds/detail/rc_binomial_heap_/trace_fn_imps.hpp: Same.
400         * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp: Same.
401         * include/ext/pb_ds/detail/rc_binomial_heap_/
402           rc_binomial_heap_.hpp: Same.
403         * include/ext/pb_ds/detail/rc_binomial_heap_/insert_fn_imps.hpp: Same.
404         * include/ext/pb_ds/detail/rc_binomial_heap_/
405           constructors_destructor_fn_imps.hpp: Same.
406         * include/ext/pb_ds/detail/rc_binomial_heap_/debug_fn_imps.hpp: Same.
407         * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
408         * include/ext/pb_ds/detail/rc_binomial_heap_/
409           split_join_fn_imps.hpp: Same.
410         * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
411         * include/ext/pb_ds/detail/rb_tree_map_/find_fn_imps.hpp: Same.
412         * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
413         * include/ext/pb_ds/detail/rb_tree_map_/
414           constructors_destructor_fn_imps.hpp: Same.
415         * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
416         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
417         * include/ext/pb_ds/detail/rb_tree_map_/node.hpp: Same.
418         * include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
419         * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Same.
420         * include/ext/pb_ds/detail/rb_tree_map_/traits.hpp: Same.
421
422
423         Documentation changes.
424         * include/ext/pb_ds/*: Add doxygen markup.
425         * doc/doxygen/user.cfg.in: Add details for extracting comments
426         from pb_ds.
427         * scripts/run_doxygen: Fixup __gnu_pb_ds::detail.
428         * scripts/make_graph.py: Move to svg output. Re-format generated tables.
429
430         * doc/Makefile.am (stamp-html-copy): New rule.
431         (stamp-html): Use it to copy non-generated files into html docs.
432         * doc/Makefile.in: Regenerated.
433
434         * doc/html/ext/pb_ds/sample_trie_e_access_traits.html: Move...
435         * doc/html/ext/pb_ds/trie_string_access_traits.html: ...here.
436         * doc/html/ext/pb_ds/string_trie_e_access_traits.html: Move..
437         * doc/html/ext/pb_ds/sample_trie_access_traits.html: ...here.
438
439         * doc/html/ext/pb_ds/tree_text_lor_find_timing_test_local.png,
440         hash_random_int_erase_mem_usage_test_local.png,
441         multimap_text_insert_mem_usage_test_small_s2p_hash_local.png,
442         tree_text_insert_timing_test_pat_trie_local.png ,
443         multimap_text_insert_mem_usage_test_small_s2p_tree_local.png ,
444         priority_queue_text_modify_down_timing_test_local.png,
445         gp_hash_random_int_subscript_timing_test_find_local.png,
446         text_find_timing_test_hash_local.png,
447         multimap_text_insert_timing_test_small_s2p_hash_local.png,
448         multimap_text_insert_timing_test_small_s2p_tree_local.png,
449         multimap_text_insert_mem_usage_test_large_s2p_hash_local.png,
450         multimap_text_insert_mem_usage_test_large_s2p_tree_local.png,
451         multimap_text_insert_timing_test_large_s2p_hash_local.png,
452         hash_zlob_random_int_find_timing_test_local.png,
453         multimap_text_insert_timing_test_large_s2p_tree_local.png,
454         binary_priority_queue_random_int_push_timing_test_local.png,
455         priority_queue_text_pop_mem_usage_test_local.png,
456         priority_queue_text_modify_down_timing_test_pairing_thin_local.png,
457         tree_split_join_timing_test_local.png,
458         multimap_text_find_timing_test_small_s2p_hash_local.png,
459         ccgp_hash_random_int_subscript_timing_test_insert_local.png,
460         priority_queue_random_int_push_pop_timing_test_local.png,
461         multimap_text_find_timing_test_small_s2p_tree_local.png,
462         gp_hash_random_int_subscript_timing_test_insert_local.png,
463         priority_queue_text_push_timing_test_local.png,
464         cc_hash_random_int_subscript_timing_test_find_local.png,
465         tree_text_insert_timing_test_vector_tree_local.png,
466         multimap_text_find_timing_test_large_s2p_hash_local.png,
467         pairing_priority_queue_text_push_timing_test_local.png,
468         tree_order_statistics_timing_test_local.png,
469         priority_queue_text_push_pop_timing_test_local.png,
470         text_find_timing_test_tree_like_local.png,
471         multimap_text_find_timing_test_large_s2p_tree_local.png,
472         priority_queue_text_modify_up_timing_test_pairing_thin_local.png,
473         cc_hash_random_int_subscript_timing_test_insert_local.png,
474         priority_queue_text_modify_up_timing_test_local.png,
475         random_int_find_find_timing_test_tree_local.png,
476         priority_queue_random_int_push_timing_test_local.png,
477         tree_text_insert_timing_test_node_tree_local.png,
478         pairing_priority_queue_text_push_pop_timing_test_local.png,
479         gp_hash_random_int_find_timing_test_local.png,
480         cc_hash_random_int_find_timing_test_local.png,
481         priority_queue_text_join_timing_test_local.png: Update local pngs.
482
483
484         Testsuite changes.
485         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc: New.
486         * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc: New.
487         * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc: New.
488         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc: New.
489         * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc: New.
490         * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
491         New.
492         * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
493         New.
494         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc: New.
495         * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc: New.
496
497         * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Fix typo.
498
499         * testsuite/ext/pb_ds/example/basic_set.cc: Update.
500         * testsuite/ext/pb_ds/example/ranged_hash.cc: Same.
501         * testsuite/ext/pb_ds/example/tree_order_statistics.cc: Same.
502         * testsuite/ext/pb_ds/example/trie_prefix_search.cc: Same.
503         * testsuite/ext/pb_ds/example/trie_dna.cc: Same.
504         * testsuite/ext/pb_ds/example/tree_intervals.cc: Same.
505         * testsuite/ext/pb_ds/example/basic_multimap.cc: Same.
506         * testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc:
507           Same.
508         * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
509         * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
510         * testsuite/data/make_graph_test_infos.xml: Same.
511         * testsuite/util/regression/common_type.hpp: Same.
512         * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
513         * testsuite/util/regression/trait/assoc/trait.hpp: Same.
514         * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
515         * testsuite/util/regression/rand/priority_queue/
516           rand_regression_test.hpp: Same.
517         * testsuite/util/regression/rand/priority_queue/
518           container_rand_regression_test.tcc: Same.
519         * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
520         * testsuite/util/regression/rand/assoc/container_rand_regression_test.h
521         * testsuite/util/regression/rand/assoc/
522           container_rand_regression_test.tcc: Same.
523         * testsuite/util/native_type/native_priority_queue.hpp: Same.
524         * testsuite/util/native_type/native_multimap.hpp: Same.
525         * testsuite/util/native_type/native_hash_multimap.hpp: Same.
526         * testsuite/util/native_type/native_set.hpp: Same.
527         * testsuite/util/native_type/native_map.hpp: Same.
528         * testsuite/util/native_type/native_hash_set.hpp: Same.
529         * testsuite/util/native_type/native_hash_map.hpp: Same.
530         * testsuite/util/testsuite_containers.h
531         * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
532         * testsuite/util/common_type/assoc/common_type.hpp: Same.
533         * testsuite/util/common_type/assoc/string_form.hpp: Same.
534         * testsuite/util/common_type/assoc/template_policy.hpp: Same.
535         * testsuite/util/common_type/assoc/detail/
536           trigger_policy_string_form.hpp: Same.
537         * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
538         * testsuite/util/common_type/assoc/detail/
539           size_policy_string_form.hpp: Same.
540         * testsuite/util/common_type/assoc/detail/
541           probe_fn_string_form.hpp: Same.
542         * testsuite/util/common_type/assoc/detail/
543           tree_supports_order_statistics.hpp: Same.
544         * testsuite/util/common_type/assoc/detail/
545           trie_supports_prefix_search.hpp: Same.
546         * testsuite/util/common_type/assoc/detail/
547           list_update_policy_string_form.hpp: Same.
548         * testsuite/util/common_type/assoc/detail/
549           trie_supports_order_statistics.hpp: Same.
550         * testsuite/util/common_type/assoc/native_set.hpp: Same.
551         * testsuite/util/performance/assoc/timing/common_type.hpp: Same.
552         * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
553         * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
554
555 2011-05-23  Paolo Carlini  <paolo.carlini@oracle.com>
556
557         * include/bits/streambuf_iterator.h: Use noexcept per the FDIS.
558         (istreambuf_iterator<>::istreambuf_iterator(const
559         istreambuf_iterator&),  ~istreambuf_iterator()): Add defaulted
560         in C++0x mode.
561
562 2011-05-23  Jason Merrill  <jason@redhat.com>
563
564         * libsupc++/exception_ptr.h: Fix compilation in C++0x mode.
565
566 2011-05-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
567
568         * testsuite/20_util/bind/cv_quals_2.cc: New.
569
570 2011-05-22  Paolo Carlini  <paolo.carlini@oracle.com>
571
572         PR libstdc++/49058
573         * include/std/functional (_Bind<_Functor(_Bound_args...)>::
574         operator()(_Args&&...)): Don't cv qualify _Functor directly
575         in the default template argument, SFINAE doesn't apply when
576         the functor has no arguments.
577         * testsuite/20_util/bind/49058_1.cc: New.
578         * testsuite/20_util/bind/49058_2.cc: Likewise.
579
580 2011-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
581
582         * include/bits/unique_ptr.h: Use noexcept per the FDIS.
583
584 2011-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
585
586         * testsuite/21_strings/basic_string/requirements/exception/
587         propagation_consistent.cc: Fix vs POD-ness of value_type.
588         * testsuite/21_strings/basic_string/requirements/exception/
589         basic.cc: Likewise.
590         * testsuite/ext/vstring/requirements/exception/
591         propagation_consistent.cc: Likewise.
592         * testsuite/ext/vstring/requirements/exception/basic.cc: Likewise.
593
594 2011-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
595
596         * include/bits/char_traits.h: Use noexcept throughout.
597         * include/std/typeindex: Likewise.
598
599         * include/std/tuple (_Tuple_impl<>_Tuple_impl(_Tuple_impl&&)): Use
600         noexcept; adjust callers.
601         * include/bits/stl_pair.h (pair<>::pair(pair<>&&)): Use noexcept.
602         * testsuite/20_util/tuple/cons/noexcept_move_construct.cc: New.
603         * testsuite/20_util/pair/cons/noexcept_move_construct.cc: Likewise.
604         * testsuite/20_util/pair/noexcept_swap.cc: Likewise.
605         * testsuite/20_util/pair/noexcept_move_assign.cc: Likewise.
606         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
607         line numbers.
608
609 2011-05-20  Jason Merrill  <jason@redhat.com>
610
611         * include/ext/pb_ds/assoc_container.hpp: Explicitly qualify calls to
612         functions from dependent bases.
613         * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Likewise.
614         * include/ext/pb_ds/detail/rb_tree_map_/
615         split_join_fn_imps.hpp: Likewise.
616         * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Likewise.
617         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Likewise.
618         * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Likewise.
619         * include/ext/pb_ds/detail/splay_tree_/
620         split_join_fn_imps.hpp: Likewise.
621         * include/ext/pb_ds/detail/tree_policy/
622         order_statistics_imp.hpp: Likewise.
623         * include/ext/pb_ds/detail/trie_policy/
624         prefix_search_node_update_imp.hpp: Likewise.
625         * include/ext/rc_string_base.h: Likewise.
626         * include/ext/rope: Likewise.
627         * include/ext/ropeimpl.h: Likewise.
628         * testsuite/util/exception/safety.h: Likewise.
629         * testsuite/util/native_type/native_priority_queue.hpp: Likewise.
630         * testsuite/util/testsuite_io.h: Likewise.
631         * include/std/functional: Declare mem_fn earlier.
632         * include/tr1/functional: Likewise.
633         * include/tr1/exp_integral.tcc: Declare __expint_E1 earlier.
634
635 2011-05-19  Paolo Carlini  <paolo.carlini@oracle.com>
636
637         * include/std/tuple (tuple_element<__i, const _Tp>,
638         tuple_element<__i, volatile _Tp>, tuple_element<__i,
639         const volatile _Tp>, tuple_size<const _Tp>, tuple_size<volatile _Tp>,
640         tuple_size<const volatile _Tp>): Add.
641         * include/std/utility (tuple_size<std::pair<_Tp1, _Tp2>>): Tweak.
642         * include/std/array (tuple_size<array<_Tp, _Nm>>): Likewise.
643         * testsuite/20_util/tuple/cv_tuple_size.cc: New.
644         * testsuite/20_util/tuple/cv_tuple_element.cc: Likewise.
645         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
646         line number.
647
648 2011-05-19  Paolo Carlini  <paolo.carlini@oracle.com>
649
650         * include/std/tuple (tuple<>::operator=(tuple&&)): Specify as
651         noexcept.
652         (__get_helper): Likewise.
653         (_Head_base<>::_M_head, _Tuple_impl<>::_M_head, _M_tail): Likewise.
654         * include/bits/move.h (swap): Likewise.
655         * include/bits/algorithmfwd.h (swap): Adjust.
656         * include/bits/stl_pair.h (pair<>::operator=(pair&&)): Spec noexcept.
657         * testsuite/util/testsuite_allocator.h (uneq_allocator): In C++0x
658         mode, prefer delete to access control to make the type not copy
659         assignable.
660         * testsuite/util/testsuite_tr1.h: Add test classes.
661         * testsuite/20_util/tuple/noexcept_swap.cc: New.
662         * testsuite/20_util/tuple/noexcept_move_assign.cc: Likewise.
663         * testsuite/25_algorithms/reverse/moveable.cc: Likewise, prefer
664         delete to access control.
665         * testsuite/25_algorithms/swap_ranges/moveable.cc: Likewise.
666         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
667         line numbers.
668
669 2011-05-19  Daniel Krugler  <daniel.kruegler@googlemail.com>
670
671         * testsuite/util/testsuite_tr1.h: Add test classes.
672         * testsuite/20_util/is_nothrow_assignable/value.cc: Add.
673
674 2011-05-19  Paolo Carlini  <paolo.carlini@oracle.com>
675
676         * include/std/type_traits (is_assignable, is_copy_assignable,
677         is_move_assignable, is_nothrow_assignable, is_nothrow_copy_assignable,
678         is_nothrow_move_assignable): Add; minor tweaks elsewhere.
679         (has_nothrow_copy_assign): Remove.
680         * testsuite/util/testsuite_tr1.h: Add test classes.
681         * testsuite/20_util/is_assignable/requirements/typedefs.cc: Add.
682         * testsuite/20_util/is_assignable/requirements/
683         explicit_instantiation.cc: Likewise.
684         * testsuite/20_util/is_nothrow_assignable/value.cc: Likewise.
685         * testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc:
686         Likewise.
687         * testsuite/20_util/is_nothrow_assignable/requirements/
688         explicit_instantiation.cc: Likewise.
689         * testsuite/20_util/is_move_assignable/value.cc: Likewise.
690         * testsuite/20_util/is_move_assignable/requirements/typedefs.cc:
691         Likewise.
692         * testsuite/20_util/is_move_assignable/requirements/
693         explicit_instantiation.cc: Likewise.
694         * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
695         * testsuite/20_util/is_copy_assignable/requirements/typedefs.cc:
696         Likewise.
697         * testsuite/20_util/is_copy_assignable/requirements/
698         explicit_instantiation.cc: Likewise.
699         * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
700         * testsuite/20_util/is_nothrow_move_assignable/requirements/
701         typedefs.cc: Likewise.
702         * testsuite/20_util/is_nothrow_move_assignable/requirements/
703         explicit_instantiation.cc: Likewise.
704         * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
705         * testsuite/20_util/is_nothrow_copy_assignable/requirements/
706         typedefs.cc: Likewise.
707         * testsuite/20_util/is_nothrow_copy_assignable/requirements/
708         explicit_instantiation.cc: Likewise.
709         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
710         dg-error line numbers.
711         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
712         Likewise.
713         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
714
715 2011-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
716
717         * include/bits/shared_ptr_base.h: Use noexcept. Define special member
718         functions as defaulted/deleted.
719         * include/bits/shared_ptr.h: Use noexcept.
720         * 20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers.
721         * 20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
722
723 2011-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
724
725         * doc/xml/manual/bitmap_allocator.xml: Fix typos.
726
727 2011-05-18  Paolo Carlini  <paolo.carlini@oracle.com>
728
729         * libsupc++/initializer_list: Use noexcept specifier.
730         (initializer_list<>::size, begin, end): Qualify as const.
731         * include/bits/move.h (__addressof, forward, move, addressof): Specify
732         as noexcept.
733         * include/std/bitset: Use noexcept specifier throughout.
734         * include/debug/bitset: Update.
735         * include/profile/bitset: Likewise.
736
737 2011-05-17  Paolo Carlini  <paolo.carlini@oracle.com>
738
739         * include/std/tuple: Use noexcept where appropriate.
740         (tuple<>::swap): Rework implementation.
741         (_Head_base<>::_M_swap_impl): Remove.
742         (get(std::tuple<>&&)): Add.
743         * testsuite/20_util/tuple/element_access/get2.cc: New.
744         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
745         line number.
746
747 2011-05-16  Paolo Carlini  <paolo.carlini@oracle.com>
748
749         * include/std/utility: Simplify the last commit, the whole
750         std::get code is C++0x only.
751
752 2011-05-16  Paolo Carlini  <paolo.carlini@oracle.com>
753
754         * include/std/utility (get(std::pair<>&&)): Add.
755         * include/bits/stl_pair.h (pair::swap(pair&),
756         swap(pair<>&, pair<>&)): Use noexcept.
757         * include/bits/random.h (discard_block_engine<>::base,
758         independent_bits_engine<>::base, shuffle_order_engine<>::base,
759         random_device::entropy): Use noexcept.
760         * include/std/array: Use noexcept where appropriate.
761         (get(array<>&&)): Add.
762         * testsuite/23_containers/array/requirements/get.cc: New.
763         * testsuite/20_util/pair/get.cc: Likewise.
764         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
765         line number.
766
767 2011-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
768
769         * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
770         Add.
771         * include/std/limits: Use the latter everywhere.
772         (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
773         macro usages, the specializations exist only in C++0x mode.
774         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
775         line number.
776
777 2011-05-11  Paolo Carlini  <paolo.carlini@oracle.com>
778
779         * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
780         dg-require-cmath.
781         * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
782
783 2011-05-11  François Dumont  <francois.cppdevs@free.fr>
784
785         * include/ext/pb_ds/detail/resize_policy/
786         hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
787         _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
788         * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
789         find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
790         constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
791         (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
792         * include/ext/pb_ds/detail/debug_map_base.hpp,
793         splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
794         cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
795         leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
796         bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
797         rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
798         PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
799         macro definitions move...
800         * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
801         * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
802         * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
803         resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
804         left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
805         binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
806         rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
807         PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
808         * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
809         ...here.
810
811 2011-05-09  Paolo Carlini  <paolo.carlini@oracle.com>
812
813         PR libstdc++/48933
814         * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
815         erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
816         llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
817         nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
818         scalbn, tgamma, trunc): Use __enable_if on the return type.
819         * include/tr1/cmath: Likewise.
820         * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
821         * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
822
823 2011-05-07  François Dumont  <francois.cppdevs@free.fr>
824
825         * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
826         (_GLICXX_DEBUG_VERIFY): Use latter.
827         * include/ext/pb_ds/detail/resize_policy/
828         hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
829         containing the original assert call.
830         * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
831         find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
832         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
833         split_join_fn_imps.hpp: Likewise.
834         * include/ext/pb_ds/detail/cc_hash_table_map_/
835         erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
836         find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
837         debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
838         constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
839         erase_no_store_hash_fn_imps.hpp: Likewise.
840         * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
841         insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
842         constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
843         leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
844         Likewise.
845         * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
846         r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
847         debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
848         bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
849         Likewise.
850         * include/ext/pb_ds/detail/gp_hash_table_map_/
851         erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
852         find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
853         debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
854         resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
855         debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
856         Likewise.
857         * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
858         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
859         erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
860         resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
861         * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
862         find_fn_imps.hpp, insert_fn_imps.hpp,
863         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
864         pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
865         * include/ext/pb_ds/detail/binomial_heap_/
866         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
867         binomial_heap_.hpp: Likewise.
868         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
869         erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
870         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
871         * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
872         find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
873         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
874         split_join_fn_imps.hpp: Likewise.
875         * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
876         ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
877         debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
878         * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
879         * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
880         find_fn_imps.hpp, insert_fn_imps.hpp,
881         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
882         splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
883         * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
884         find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
885         insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
886         * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
887         rc_binomial_heap_.hpp, insert_fn_imps.hpp,
888         constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
889         split_join_fn_imps.hpp: Likewise.
890         * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
891         insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
892         debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
893         * include/ext/pb_ds/hash_policy.hpp: Likewise.
894
895 2011-05-06  Paolo Carlini  <paolo.carlini@oracle.com>
896
897         * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
898
899 2011-05-04  Marc Glisse  <marc.glisse@normalesup.org>
900
901         PR libstdc++/47913 (again)
902         * include/std/ratio (ratio_add, ratio_less): Rewrite.
903         * testsuite/20_util/ratio/operations/47913.cc: Extend.
904         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
905         line numbers.
906         * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
907
908 2011-05-03  Paolo Carlini  <paolo.carlini@oracle.com>
909
910         PR libstdc++/48848
911         * include/std/valarray (valarray<>::valarray(valarray&&),
912         valarray<>::operator=(valarray&&), valarray<>::swap): Add.
913         * doc/xml/manual/status_cxx200x.xml: Update.
914         * testsuite/26_numerics/valarray/moveable.cc: New.
915         * testsuite/26_numerics/valarray/swap.cc: Likewise.
916
917 2011-05-03  Paolo Carlini  <paolo.carlini@oracle.com>
918
919         PR libstdc++/48750
920         * include/parallel/multiway_merge.h: Run _ValueType destructors.
921         * include/parallel/multiway_mergesort.h: Likewise.
922         * include/parallel/quicksort.h: Likewise.
923         * include/parallel/random_shuffle.h: Likewise.
924         * include/parallel/partial_sum.h: Likewise.
925         * include/parallel/losertree.h: Run destructors; minor tweaks.
926         * include/parallel/par_loop.h: Run destructors, fix memory
927         allocations and deallocations.
928         * testsuite/26_numerics/accumulate/48750.cc: New.
929
930         * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
931         parallel-mode to avoid spurious multiple errors.
932
933 2011-05-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
934
935         * include/std/functional (bind): Remove from overload set when first
936         argument type might be a socket file descriptor.
937         * testsuite/20_util/bind/socket.cc: New.
938
939 2011-05-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
940
941         PR libstdc++/48848
942         * doc/xml/manual/status_cxx200x.xml: Update valarray status.
943         * doc/html/*: Regenerate.
944
945 2011-05-02  Ollie Wild  <aaw@google.com>
946
947         * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
948         Fix unqualified lookup.
949         (__sso_string_base<>::_M_assign): Likewise.
950         (__sso_string_base<>::_M_reserve): Likewise.
951         (__sso_string_base<>::_M_mutate): Likewise.
952         (__sso_string_base<>::_M_erase): Likewise.
953         * include/ext/vstring.h (__versa_string<>::replace): Likewise.
954         (__versa_string<>::compare): Likewise.
955         * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
956
957 2011-05-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
958
959         * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
960         and FDIS content.
961         * doc/xml/manual/documentation_hacking.xml: Fix typo.
962         * doc/html/*: Regenerate.
963
964 2011-04-30  Daniel Krugler  <daniel.kruegler@googlemail.com>
965
966         * include/std/type_traits (__is_default_constructible_atom,
967         __is_default_constructible_safe<, true>,
968         __is_direct_constructible_new_safe,
969         __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
970         __is_direct_constructible_ref_cast, __is_direct_constructible,
971         __is_nary_constructible): Simplify; add comments throughout.
972
973 2011-04-30  Paolo Carlini  <paolo.carlini@oracle.com>
974
975         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
976         Adjust dg-error line numbers.
977         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
978         Likewise.
979         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
980
981 2011-04-30  Doug Kwan  <dougkwan@google.com>
982
983         * include/Makefile.am (install-freestanding-headers): Also install
984         cxxabi_tweaks.h.
985         * include/Makefile.in: Regenerate.
986
987 2011-04-28  Paolo Carlini  <paolo.carlini@oracle.com>
988
989         PR libstdc++/48760
990         * include/std/complex (complex<float>::complex(float, float),
991         complex<double>::complex(double, double),
992         complex<long double>::complex(long double, long double)): Use
993         list-initialization in C++0x mode, initialize in the body in
994         C++03 mode.
995         * testsuite/26_numerics/complex/cons/48760.cc: New.
996         * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
997
998 2011-04-28  Paolo Carlini  <paolo.carlini@oracle.com>
999
1000         * include/std/bitset (_Base_bitset(unsigned long long)): Minor
1001         tweak, remove redundant round braces.
1002
1003 2011-04-27  Paolo Carlini  <paolo.carlini@oracle.com>
1004
1005         * include/bits/move.h (move_if_noexcept): Add.
1006         * testsuite/20_util/move_if_noexcept/requirements/
1007         explicit_instantiation.cc: New.
1008         * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
1009
1010 2011-04-25  Paolo Carlini  <paolo.carlini@oracle.com>
1011
1012         * include/std/type_traits (struct underlying_type): Add.
1013         * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
1014         * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
1015         Likewise.
1016         * testsuite/20_util/underlying_type/requirements/
1017         explicit_instantiation.cc: Likewise.
1018         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
1019         line number.
1020
1021 2011-04-24  Paolo Carlini  <paolo.carlini@oracle.com>
1022
1023         * include/parallel/multiway_merge.h: Uglify equally_split
1024         and equally_split_point throughout.
1025         * include/parallel/par_loop.h: Likewise.
1026         * include/parallel/equally_split.h: Likewise.
1027         * include/parallel/set_operations.h: Likewise.
1028         * include/parallel/unique_copy.h: Likewise.
1029         * include/parallel/multiway_mergesort.h: Likewise.
1030         * include/parallel/search.h: Likewise.
1031         * include/parallel/partial_sum.h: Likewise.
1032         * include/parallel/find.h: Likewise.
1033
1034 2011-04-24  Gerald Pfeifer  <gerald@pfeifer.com>
1035
1036         * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
1037         documentation.  Expand link text.
1038
1039 2011-04-24  Gerald Pfeifer  <gerald@pfeifer.com>
1040
1041         * libsupc++/cxxabi.h: Adjust link to FAQ entry.
1042
1043 2011-04-22  François Dumont  <francois.cppdevs@free.fr>
1044
1045         * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
1046         unused compilation result thanks to /dev/null.
1047         * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
1048         check_v3_target_profile_mode, check_v3_target_normal_mode,
1049         check_v3_target_cstdint, check_v3_target_cmath,
1050         check_v3_target_atomic_builtins, check_v3_target_gthreads,
1051         check_v3_target_nanosleep, check_v3_target_sched_yield,
1052         check_v3_target_string_conversions, check_v3_target_swprintf,
1053         check_v3_target_binary_io): Use simple preprocessing rather than
1054         compilation. Discard unused preprocessing result thanks to /dev/null.
1055
1056 2011-04-20  Jim Meyering  <meyering@redhat.com>
1057
1058         * libsupc++/del_opnt.cc (operator delete): Remove useless
1059         if-before-free.
1060
1061 2011-04-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
1062
1063         PR libstdc++/48521
1064         * include/std/type_traits (result_of): Handle pointer to member.
1065         * include/std/functional (__invoke): Likewise.
1066         (_Function_to_function_pointer): Remove.
1067         (_Reference_wrapper_base): Provide nested types independent of
1068         unary_function and binary_function.
1069         (reference_wrapper::operator()): DR 2017.
1070         (ref(const A&&), cref(const A&&): Define as deleted.
1071         * include/std/future (async): Simplify SFINAE and use result_of to
1072         support pointer to member.
1073         * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
1074         member.
1075         * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
1076         * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
1077         instead of derivation from unary_function and binary_function.
1078         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
1079         * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
1080         * testsuite/20_util/reference_wrapper/ref_neg.c: New.
1081         * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
1082
1083 2011-04-19  Hans-Peter Nilsson  <hp@axis.com>
1084
1085         PR testsuite/48675
1086         * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
1087         this part if SAMPLES < 100000.
1088
1089 2011-04-18  Paolo Carlini  <paolo.carlini@oracle.com>
1090
1091         * include/std/type_traits (is_nothrow_default_constructible,
1092         is_nothrow_copy_constructible, is_nothrow_move_constructible,
1093         is_copy_constructible, is_move_constructible): Add.
1094         (has_nothrow_default_constructor, has_nothrow_copy_constructor):
1095         Remove.
1096         (is_nothrow_constructible): Adjust.
1097
1098         * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
1099         ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
1100         ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
1101         NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
1102
1103         * testsuite/20_util/has_nothrow_default_constructor: Remove.
1104         * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
1105
1106         * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
1107         * testsuite/20_util/is_nothrow_move_constructible/requirements/
1108         typedefs.cc: Likewise.
1109         * testsuite/20_util/is_nothrow_move_constructible/requirements/
1110         explicit_instantiation.cc: Likewise.
1111         * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
1112         * testsuite/20_util/is_nothrow_copy_constructible/requirements/
1113         typedefs.cc: Likewise.
1114         * testsuite/20_util/is_nothrow_copy_constructible/requirements/
1115         explicit_instantiation.cc: Likewise.
1116         * testsuite/20_util/is_nothrow_default_constructible/value.cc:
1117         Likewise.
1118         * testsuite/20_util/is_nothrow_default_constructible/requirements/
1119         typedefs.cc: Likewise.
1120         * testsuite/20_util/is_nothrow_default_constructible/requirements/
1121         explicit_instantiation.cc: Likewise.
1122         * testsuite/20_util/is_move_constructible/value.cc: Likewise.
1123         * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
1124         Likewise.
1125         * testsuite/20_util/is_move_constructible/requirements/
1126         explicit_instantiation.cc: Likewise.
1127         * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
1128         * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
1129         Likewise.
1130         * testsuite/20_util/is_copy_constructible/requirements/
1131         explicit_instantiation.cc: Likewise.
1132
1133         * testsuite/20_util/is_default_constructible/value.cc: Add tests.
1134         * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
1135
1136         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1137         Adjust dg-error line numbers.
1138         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1139         Likewise.
1140         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1141
1142 2011-04-17  Paolo Carlini  <paolo.carlini@oracle.com>
1143
1144         * testsuite/25_algorithms/partition/moveable.cc: Actually run
1145         it in parallel-mode for check-parallel.
1146
1147 2011-04-17  Daniel Krugler  <daniel.kruegler@googlemail.com>
1148             Paolo Carlini  <paolo.carlini@oracle.com>
1149
1150         PR libstdc++/48635 (again)
1151         * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
1152         unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
1153         unique_ptr<>::operator=(unique_ptr<>&&),
1154         unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
1155         forward<_Dp>, to forward the deleter.
1156         * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
1157
1158 2011-04-15  Daniel Krugler  <daniel.kruegler@googlemail.com>
1159             Paolo Carlini  <paolo.carlini@oracle.com>
1160
1161         PR libstdc++/48631
1162         * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
1163         function call operator.
1164         * testsuite/20_util/default_delete/48631_neg.cc: New.
1165         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1166         line numbers.
1167
1168 2011-04-15  Daniel Krugler  <daniel.kruegler@googlemail.com>
1169             Paolo Carlini  <paolo.carlini@oracle.com>
1170
1171         PR libstdc++/48635
1172         * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
1173         unique_ptr<>::operator=(unique_ptr<>&&),
1174         unique_ptr<_Tp[],>::operator=(unique_ptr&&),
1175         unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
1176         instead of moving it.
1177         * testsuite/20_util/unique_ptr/assign/48635.cc: New.
1178
1179 2011-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1180
1181         * scripts/extract_symvers.pl: Handle NOTY.
1182
1183 2011-04-15  Paolo Carlini  <paolo.carlini@oracle.com>
1184
1185         * include/std/istream: Fix comments in the light of DR60 + N3168.
1186
1187 2011-04-13  Daniel Krugler  <daniel.kruegler@googlemail.com>
1188             Paolo Carlini  <paolo.carlini@oracle.com>
1189
1190         PR libstdc++/48526
1191         * include/std/type_traits (struct is_constructible): Re-implement,
1192         according to n3290.
1193         (struct is_default_constructible): Add.
1194         (struct is_destructible): Likewise.
1195         (struct __and_, __or_, __not_): Add and use throughout; reorder some
1196         facilities, other minor tweaks.
1197         * testsuite/util/testsuite_tr1.h: Add test types.
1198         * testsuite/20_util/is_constructible/value-2.cc: New.
1199         * testsuite/20_util/is_default_constructible/value.cc: Likewise.
1200         * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
1201         Likewise.
1202         * testsuite/20_util/is_default_constructible/requirements/
1203         explicit_instantiation.cc: Likewise.
1204         * testsuite/20_util/is_destructible/value.cc: Likewise.
1205         * testsuite/20_util/is_destructible/requirements/typedefs.cc:
1206         Likewise.
1207         * testsuite/20_util/is_destructible/requirements/
1208         explicit_instantiation.cc: Likewise.
1209         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
1210         dg-error line numbers.
1211         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1212         Likewise.
1213         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1214         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
1215
1216 2011-04-13  Paolo Carlini  <paolo.carlini@oracle.com>
1217
1218         * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
1219         testsuite.
1220         * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
1221         * testsuite/20_util/is_function/requirements/
1222         explicit_instantiation.cc: Likewise.
1223         * testsuite/20_util/is_function/24808.cc: Likewise.
1224         * testsuite/20_util/is_function/35637.cc: Likewise.
1225         * testsuite/20_util/is_object/value.cc: Likewise.
1226         * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
1227         * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
1228         : Likewise.
1229         * testsuite/20_util/is_object/24808.cc: Likewise.
1230         * testsuite/20_util/is_compound/value.cc: Likewise.
1231         * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
1232         * testsuite/20_util/is_compound/requirements/
1233         explicit_instantiation.cc: Likewise.
1234         * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
1235         * testsuite/20_util/is_member_object_pointer/requirements/
1236         typedefs.cc: Likewise.
1237         * testsuite/20_util/is_member_object_pointer/requirements/
1238         explicit_instantiation.cc: Likewise.
1239         * testsuite/20_util/is_fundamental/value.cc: Likewise.
1240         * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
1241         * testsuite/20_util/is_fundamental/requirements/
1242         explicit_instantiation.cc: Likewise.
1243         * testsuite/20_util/is_member_pointer/value.cc: Likewise.
1244         * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
1245         Likewise.
1246         * testsuite/20_util/is_member_pointer/requirements/
1247         explicit_instantiation.cc: Likewise.
1248         * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
1249         * testsuite/20_util/is_member_function_pointer/
1250         requirements/typedefs.cc: Likewise.
1251         * testsuite/20_util/is_member_function_pointer/requirements/
1252         explicit_instantiation.cc: Likewise.
1253
1254         * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
1255         Copyright years.
1256
1257 2011-04-12  Takaya Saito  <gintensubaru@gmail.com>
1258
1259         PR libstdc++/48476
1260         * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
1261         _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
1262         (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
1263         * testsuite/20_util/tuple/cons/48476.cc: New.
1264         * testsuite/20_util/tuple/48476.cc: Likewise.
1265         * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
1266
1267 2011-04-12  Allan McRae  <allan@archlinux.org>
1268
1269         PR libstdc++/48566
1270         * testsuite/tr1/6_containers/unordered_map/requirements/
1271         iterator_null_neg.cc: Include <cstddef>.
1272         * testsuite/tr1/6_containers/unordered_set/requirements/
1273         iterator_null_neg.cc: Likewise.
1274         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
1275         <cstring>.
1276         * testsuite/util/testsuite_common_types.h: Include <limits>.
1277         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
1278         Adjust dg-error line numbers.
1279         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
1280         * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
1281         Likewise.
1282         * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
1283         Likewise.
1284         * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
1285         Likewise.
1286         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
1287         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
1288
1289 2011-04-11  Jason Merrill  <jason@redhat.com>
1290
1291         * testsuite/20_util/is_convertible/value.cc: Adjust.
1292
1293 2011-04-11  Paolo Carlini  <paolo.carlini@oracle.com>
1294
1295         * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
1296         it in parallel-mode for check-parallel.
1297         * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
1298         * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
1299         * testsuite/25_algorithms/remove/moveable.cc: Likewise.
1300         * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
1301         Likewise.
1302         * testsuite/25_algorithms/unique/moveable.cc: Likewise.
1303         * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
1304         * testsuite/25_algorithms/heap/moveable.cc: Likewise.
1305
1306         * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
1307         the tests based on std::lexicographical_compare for check-parallel.
1308         * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
1309
1310 2011-04-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
1311
1312         PR libstdc++/48541
1313         * include/std/functional (_Base_manager::_M_get_pointer): Use
1314         addressof.
1315         * testsuite/20_util/function/48541.cc: New.
1316
1317 2011-04-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
1318
1319         PR libstdc++/48465
1320         * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
1321         * configure: Regenerate.
1322         * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
1323         * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
1324
1325 2011-04-06  Jeffrey Yasskin  <jyasskin@google.com>
1326
1327         * include/ext/algorithm (is_sorted): In C++0x mode import from
1328         namespace std.
1329         * include/ext/numeric (iota): In C++0x mode import from
1330         namespace std.
1331         * testsuite/ext/is_sorted/cxx0x.cc: New.
1332         * testsuite/ext/iota/cxx0x.cc: New.
1333
1334 2011-04-02  Jonathan Wakely  <redi@gcc.gnu.org>
1335
1336         PR libstdc++/48398
1337         * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
1338         * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
1339         * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
1340         unused parameter name.
1341
1342 2011-03-31  Jeffrey Yasskin  <jyasskin@google.com>
1343
1344         * libsupc++/exception_ptr.h: Forward-declare std::type_info.
1345         * libsupc++/nested_exception.h (__throw_with_nested): Remove a
1346         redundant default argument from std::__throw_with_nested.
1347
1348 2011-03-31  Paolo Carlini  <paolo.carlini@oracle.com>
1349
1350         PR libstdc++/48382
1351         * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
1352         * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
1353         * src/Makefile.in: Regenerate.
1354         * include/Makefile.am: Remove ctype_noninline.h from host_headers.
1355         * include/Makefile.in: Regenerate.
1356         * doc/xml/manual/internals.xml: Update.
1357         * config/os/newlib/ctype_noninline.h: Fixup and rename to...
1358         * config/os/newlib/ctype_configure_char.cc: ... this.
1359         * config/os/aix/ctype_noninline.h: Likewise.
1360         * config/os/aix/ctype_configure_char.cc: Likewise.
1361         * config/os/vxworks/ctype_noninline.h: Likewise.
1362         * config/os/vxworks/ctype_configure_char.cc
1363         * config/os/hpux/ctype_noninline.h: Likewise.
1364         * config/os/hpux/ctype_configure_char.cc: Likewise.
1365         * config/os/gnu-linux/ctype_noninline.h: Likewise.
1366         * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
1367         * config/os/mingw32/ctype_noninline.h: Likewise.
1368         * config/os/mingw32/ctype_configure_char.cc: Likewise.
1369         * config/os/tpf/ctype_noninline.h: Likewise.
1370         * config/os/tpf/ctype_configure_char.cc: Likewise.
1371         * config/os/uclibc/ctype_noninline.h: Likewise.
1372         * config/os/uclibc/ctype_configure_char.cc: Likewise.
1373         * config/os/bionic/ctype_noninline.h: Likewise.
1374         * config/os/bionic/ctype_configure_char.cc: Likewise.
1375         * config/os/djgpp/ctype_noninline.h: Likewise.
1376         * config/os/djgpp/ctype_configure_char.cc: Likewise.
1377         * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
1378         * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
1379         * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
1380         * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
1381         * config/os/bsd/darwin/ctype_noninline.h: Likewise.
1382         * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
1383         * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
1384         * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
1385         * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
1386         * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
1387         * config/os/generic/ctype_noninline.h: Likewise.
1388         * config/os/generic/ctype_configure_char.cc: Likewise.
1389         * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
1390         * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
1391
1392 2011-03-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
1393
1394         * include/std/future (future::share): Add.
1395         (packaged_task::result_type): Remove as per LWG 2030.
1396         (packaged_task::packaged_task): Remove redundant constructors, as per
1397         LWG 1514.
1398         * testsuite/30_threads/future/members/share.cc: New.
1399         * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
1400
1401 2011-03-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
1402
1403         * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
1404         members which require a fully established result state.
1405         * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
1406
1407 2011-03-25  Paolo Carlini  <paolo.carlini@oracle.com>
1408
1409         * include/bits/random.h (negative_binomial_distribution<>::
1410         negative_binomial_distribution(_IntType, double),
1411         negative_binomial_distribution<>::
1412         negative_binomial_distribution(const param_type&)): Tweak
1413         construction of _M_gd.
1414         * include/bits/random.tcc (negative_binomial_distribution<>::
1415         operator()): Adjust.
1416
1417 2011-03-24  Paolo Carlini  <paolo.carlini@oracle.com>
1418
1419         * include/bits/random.h (negative_binomial_distribution<>::
1420         negative_binomial_distribution(_IntType, double),
1421         negative_binomial_distribution<>::
1422         negative_binomial_distribution(const param_type&)): Fix
1423         construction of _M_gd.
1424         * include/bits/random.tcc (negative_binomial_distribution<>::
1425         operator()): Fix computation, per Leger's algorithm.
1426         * testsuite/util/testsuite_random.h (discrete_pdf,
1427         negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
1428         (binomial_pdf): Swap last two parameters.
1429         * testsuite/26_numerics/random/discrete_distribution/
1430         operators/values.cc: New.
1431         * testsuite/26_numerics/random/negative_binomial_distribution/
1432         operators/values.cc: Likewise.
1433         * testsuite/26_numerics/random/poisson_distribution/
1434         operators/values.cc: Likewise.
1435         * testsuite/26_numerics/random/uniform_int_distribution/
1436         operators/values.cc: Likewise.
1437         * testsuite/26_numerics/random/binomial_distribution/
1438         operators/values.cc: Adjust.
1439
1440 2011-03-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1441
1442         * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
1443         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
1444         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
1445         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1446         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1447
1448 2011-03-23  Matthias Klose  <doko@ubuntu.com>
1449
1450         * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
1451
1452 2011-03-23  Uros Bizjak  <ubizjak@gmail.com>
1453
1454         * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
1455
1456 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
1457
1458         * configure.ac: Don't handle powerpc*-*-gnu*.
1459         * configure: Regenerate.
1460
1461 2011-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
1462
1463         * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
1464         Copyright years.
1465         * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
1466         Likewise.
1467
1468 2011-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
1469
1470         * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
1471         per DR 1401.
1472         (operator==, operator!=, operator<): Fix per the letter of DR 1401.
1473         * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
1474         * include/bits/unique_ptr.h (operator==, operator!=, operator<,
1475         operator<=, operator>, operator>=): Fix per the letter of DR 1401.
1476         * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
1477         * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
1478         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
1479
1480 2011-03-22  Jakub Jelinek  <jakub@redhat.com>
1481
1482         * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
1483         and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
1484         * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
1485         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
1486         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
1487         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
1488         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
1489         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
1490         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
1491         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1492         Likewise.
1493         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
1494         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1495         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1496         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
1497         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
1498         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
1499         * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
1500         * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
1501         test.
1502
1503 2011-03-21  Jack Howarth  <howarth@bromo.med.uc.edu>
1504
1505         * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
1506         create compact unwind for" warnings.
1507
1508 2011-03-21  Jakub Jelinek  <jakub@redhat.com>
1509
1510         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
1511         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
1512         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1513         Likewise.
1514         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
1515         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
1516         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
1517         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
1518         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
1519         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
1520         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
1521         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1522         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1523
1524         * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
1525         even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
1526         CXXABI_LDBL_1.3 versions.
1527
1528 2011-03-21  Benjamin Kosnik  <bkoz@redhat.com>
1529
1530         * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
1531
1532 2011-03-21  Jakub Jelinek  <jakub@redhat.com>
1533
1534         * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
1535         (CXXABI_1.3.5): Export _ZTI[PK]*[no].
1536
1537 2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1538
1539         * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
1540         sparc*-sun-solaris2.10 && lp64.
1541
1542 2011-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
1543
1544         * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
1545         to check_v3_target_cmath.
1546         * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
1547         to dg-require-cmath.
1548         * testsuite/26_numerics/random/binomial_distribution/
1549         operators/values.cc: Adjust.
1550
1551 2011-03-18  Diego Novillo  <dnovillo@google.com>
1552
1553         * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
1554         mixed-mode_neg.cc
1555         * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
1556         mixed-mode-arith_neg.cc
1557
1558 2011-03-18  Paolo Carlini  <paolo.carlini@oracle.com>
1559
1560         * testsuite/util/testsuite_random.h: New.
1561         * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
1562         * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
1563         * testsuite/26_numerics/random/bernoulli_distribution/
1564         operators/values.cc: New.
1565         * testsuite/26_numerics/random/binomial_distribution/
1566         operators/values.cc: Likewise.
1567         * testsuite/26_numerics/random/geometric_distribution/
1568         operators/values.cc: Likewise.
1569
1570 2011-03-16  Benjamin Kosnik  <bkoz@redhat.com>
1571
1572         * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
1573         * testsuite/19_diagnostics/stdexcept.cc: New.
1574
1575 2011-03-15  Benjamin Kosnik  <bkoz@redhat.com>
1576
1577         * include/std/thread: Revert.
1578         * src/thread.cc: Same.
1579         * config/abi/pre/gnu.ver: Same.
1580
1581 2011-03-15  Doug Kwan  <dougkwan@google.com>
1582
1583         PR libstdc++/48123
1584         * include/Makefile.am (install-freestanding-headers): Install
1585         cpu_defines.h
1586         * include/Makefile.in: Regenerate.
1587
1588 2011-03-15  Benjamin Kosnik  <bkoz@redhat.com>
1589
1590         * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
1591         Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
1592
1593 2011-03-14  Benjamin Kosnik  <bkoz@redhat.com>
1594
1595         PR libstdc++/48130
1596         * src/future.cc: Guard definitions.
1597         * libsupc++/nested_exception.cc: Same.
1598
1599 2011-03-14  Benjamin Kosnik  <bkoz@redhat.com>
1600
1601         * src/Makefile.am: Add functional.cc, shared_ptr.cc.
1602         * src/Makefile.in: Regenerate.
1603         * libsupc++/Makefile.am: Add nested_exception.cc.
1604         * libsupc++/Makefile.in: Regenerate.
1605         * src/system_error.cc: Add ctor and dtor definitions for error_category.
1606         * src/functional.cc: New. Add dtor definition for bad_function_call.
1607         * src/stdexcept.cc: Add dtor definitions for domain_error,
1608         invalid_argument, length_error, out_of_range, range_error,
1609         overflow_error, underflow_error.
1610         * src/future.cc: Add dtor definition for __future_base::_Result_base.
1611         * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
1612         * src/thread.cc: Add dtor for thread::_Impl_base.
1613         * include/std/system_error: Adjust.
1614         * include/std/stdexcept: Same.
1615         * include/std/future: Same.
1616         * include/std/functional: Same.
1617         * include/std/thread: Same.
1618         * include/bits/shared_ptr_base.h: Same.
1619         * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
1620         * libsupc++/nested_exception.h: Adjust.
1621         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
1622         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
1623         * config/abi/pre/gnu.ver: Add new exports.
1624
1625 2011-03-14  Benjamin Kosnik  <bkoz@redhat.com>
1626
1627         * include/bits/regex_compiler.h: Nest namespace versioning.
1628         * include/bits/regex_grep_matcher.tcc: Same.
1629         * include/bits/regex_grep_matcher.h: Same.
1630         * include/bits/regex_cursor.h: Same.
1631         * include/bits/regex_nfa.h: Same.
1632         * include/bits/regex_nfa.tcc: Same.
1633
1634         * include/bits/regex_grep_matcher.h: Version forward declarations.
1635         * include/bits/c++config: Add namespace association for __regex.
1636         * include/bits/regex.h: Make sub_match consistent.
1637
1638 2011-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1639
1640         * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
1641         equivalents.
1642         * doc/html/manual/abi.html: Regenerate.
1643
1644 2011-03-14  Tom Tromey  <tromey@redhat.com>
1645
1646         * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
1647         Try to import `gdb.printing' module.
1648         (UniquePointerPrinter.__init__): Add 'typename' argument.
1649         (StdSlistPrinter.__init__): Likewise.
1650         (StdSlistIteratorPrinter.__init__): Likewise.
1651         (StdVectorIteratorPrinter.__init__): Likewise.
1652         (StdRbtreeIteratorPrinter.__init__): Likewise.
1653         (StdDebugIteratorPrinter.__init__): Likewise.
1654         (StdDequeIteratorPrinter.__init__): Likewise.
1655         (StdStringPrinter.__init__): Likewise.
1656         (RxPrinter, Printer): New class.
1657         (libstdcxx_printer): New global.
1658         (register_libstdcxx_printers): Rewrite.
1659         (build_libstdcxx_dictionary): Rewrite.
1660         (pretty_printers_dict): Remove.
1661
1662 2011-03-14  Andrey Zholos  <aaz@althenia.net>
1663
1664         PR libstdc++/48114
1665         * include/bits/random.h (geometric_distribution): Correct formula
1666         in comment, per C++0x.
1667         (geometric_distribution<>::param_type::param_type(double)): Fix check.
1668         (geometric_distribution<>::param_type::_M_initialize):
1669         Store log(1 - p).
1670         * include/bits/random.tcc (geometric_distribution<>::operator()):
1671         Fix computation.
1672         (binomial_distribution<>::operator()): Likewise.
1673
1674 2011-03-09  Paolo Carlini  <paolo.carlini@oracle.com>
1675
1676         * testsuite/util/testsuite_rvalref.h: Minor tweaks.
1677
1678 2011-03-09  Jonathan Wakely  <redi@gcc.gnu.org>
1679             Chris Jefferson  <chris@bubblescope.net>
1680             Paolo Carlini  <paolo.carlini@oracle.com>
1681
1682         * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
1683         New.
1684         * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
1685         Likewise.
1686         * testsuite/25_algorithms/partial_sort/check_compare_by_value:
1687         Likewise.
1688         * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
1689         Likewise.
1690         * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
1691
1692 2011-03-09  Chris Jefferson  <chris@bubblescope.net>
1693
1694         PR libstdc++/48038
1695         * include/bits/stl_algo.h (__merge_backward): Rename to
1696         __move_merge_backward and change to always move rather than copy.
1697         (__move_merge): New function similar to std::merge except values
1698         are moved instead of copied.
1699         (__merge_adaptive, __merge_sort_loop): Change from using std::merge
1700         and __merge_backward to __move_merge and __move_merge_backward.
1701
1702 2011-03-07  Jason Merrill  <jason@redhat.com>
1703
1704         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
1705         expected errors.
1706
1707 2011-03-07  Benjamin Kosnik  <bkoz@redhat.com>
1708             Matthias Klose  <doko@ubuntu.com>
1709             Jonathan Wakely  <redi@gcc.gnu.org>
1710
1711         PR libstdc++/47145
1712         * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
1713         * configure.ac: Use it.
1714         * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
1715         * configure: Regenerate.
1716         * doc/Makefile.in: Regenerate.
1717
1718 2011-03-04  Benjamin Kosnik  <bkoz@chula>
1719
1720         * src/Makefile.am (inst_sources): Make source instantion files
1721         conditional.
1722         (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
1723         * src/Makefile.in: Regenerate.
1724         * src/valarray-inst.cc: Move to..
1725         * src/valarray.cc: ...this.
1726         * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
1727         * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
1728         * configure: Regenerate.
1729         * include/Makefile.am (stamp-extern-template): Add.
1730         * include/Makefile.in: Regenerate.
1731
1732         * doc/xml/manual/configure.xml: Document --enable-extern-template.
1733
1734         * include/bits/locale_classes.tcc: Adjust comment.
1735         * include/bits/locale_facets.tcc: Same.
1736         * include/bits/basic_ios.tcc: Same.
1737         * include/bits/istream.tcc: Same.
1738         * include/bits/codecvt.h: Same.
1739         * include/bits/ostream.tcc: Same.
1740         * include/bits/sstream.tcc: Same.
1741         * include/bits/c++config: Same.
1742         * include/bits/basic_string.tcc: Same.
1743         * include/bits/ostream_insert.h: Same.
1744         * include/bits/locale_facets_nonio.tcc: Same.
1745         * include/bits/streambuf.tcc: Same.
1746         * include/bits/allocator.h: Same.
1747         * include/bits/fstream.tcc: Same.
1748
1749         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1750
1751 2011-03-02  Benjamin Kosnik  <bkoz@redhat.com>
1752
1753         * testsuite/Makefile.am: Make clean fixups.
1754         * testsuite/Makefile.in: Regenerate.
1755
1756 2011-03-02  Marc Glisse  <marc.glisse@normalesup.org>
1757
1758         * include/std/ratio (ratio_less): Add comments.
1759
1760 2011-03-02  Marc Glisse  <marc.glisse@normalesup.org>
1761
1762         PR libstdc++/47913
1763         * include/std/ratio (ratio_add): Avoid denominator overflow.
1764         * testsuite/20_util/ratio/operations/47913.cc: New.
1765
1766 2011-02-28  Benjamin Kosnik  <bkoz@redhat.com>
1767
1768         * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
1769         * testsuite/20_util/hash/quality.cc: Same.
1770
1771 2011-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
1772
1773         PR libstdc++/47921
1774         * include/std/streambuf (basic_streambuf<>::__safe_gbump,
1775         __safe_pbump): Add.
1776         * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
1777         xputn): Use the latter.
1778         * include/bits/streambuf_iterator.h: Likewise.
1779         * src/strstream.cc: Likewise.
1780         * src/streambuf.cc: Likewise.
1781         * src/compatibility.cc: Likewise.
1782         * src/istream.cc: Likewise.
1783         * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
1784         instead of gbump.
1785         * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
1786         * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
1787         seekpos, _M_sync): Use setg, setp, and _M_pbump.
1788         * config/abi/pre/gnu.ver: Tweak.
1789
1790 2011-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
1791
1792         * testsuite/20_util/ratio/comparisons/comp3.cc: New.
1793
1794 2011-02-28  Marc Glisse  <marc.glisse@normalesup.org>
1795
1796         PR libstdc++/42622
1797         * include/std/ratio (ratio_less): Reimplement to never overflow.
1798         * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
1799
1800 2011-02-24  Benjamin Kosnik  <bkoz@redhat.com>
1801
1802         * testsuite/18_support/type_info/fundamental.cc: New.
1803
1804         * testsuite/Makefile.am: Make clean fixups.
1805         * testsuite/Makefile.in: Regenerate.
1806
1807 2011-02-19  François Dumont  <francois.cppdevs@free.fr>
1808
1809         * include/debug/string (basic_string::insert): Add iterator check and
1810         pass normal iterator to normal insert.
1811         * include/debug/macros.h (__glibcxx_check_heap,
1812         __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
1813         already done.
1814
1815 2011-02-17  Paolo Carlini  <paolo.carlini@oracle.com>
1816
1817         PR libstdc++/47776
1818         * testsuite/ext/vstring/hash/char/1.cc: Fix.
1819         * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1820
1821 2011-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
1822
1823         * include/bits/regex.h (basic_regex::traits_type): Add typedef.
1824         (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
1825         (basic_regex::operator=(basic_regex&&)): Likewise.
1826         (basic_regex::assign(basic_regex&&)): Likewise.
1827         (operator==(sub_match,...)): Implement DR 1181.
1828         (match_results::match_results(match_results&&)): Define.
1829         (match_results::operator=(const match_results&)): Fix parameter type.
1830         (match_results::operator=(match_results&&)): Define.
1831
1832 2011-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
1833
1834         PR libstdc++/47724
1835         * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
1836         line anchors as metacharacters.
1837         * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
1838
1839 2011-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
1840
1841         PR libstdc++/47773
1842         * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
1843         hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
1844         hash<__gnu_cxx::__u32vstring>): Add.
1845         * testsuite/ext/vstring/hash/char/1.cc: New.
1846         * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1847
1848 2011-02-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
1849
1850         * include/bits/regex.h (match_results::format): Use char_traits.
1851
1852 2011-02-16  Benjamin Kosnik  <bkoz@redhat.com>
1853
1854         * include/std/atomic: Remove atomic_address, uplift to N3225.
1855         * include/bits/atomic_0.h: Same.
1856         * include/bits/atomic_2.h: Same.
1857         * include/bits/atomic_base.h: Same.
1858         * testsuite/29_atomics/atomic_address/*: Delete.
1859
1860 2011-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
1861
1862         * include/bits/regex.h (sub_match::sub_match): Add.
1863         (match_results::ready): Add.
1864         (match_results::empty): Adjust.
1865         (match_results::length): Add missing dereference.
1866         (match_results::operator[],prefix,suffix): Add debug mode checks.
1867         (match_results::cend): Re-use end().
1868         (match_results::format): Adjust signatures.
1869         (operator==(match_results,match_results)): Implement.
1870         * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
1871         * include/bits/regex_constants.h (syntax_option_type): Likewise.
1872         * include/bits/regex_grep_matcher.h: Fix comment typo.
1873         (_SpecializedResults::_SpecializedResults): Simplify.
1874         * include/bits/regex_cursor.h: Fix comment typo.
1875         * include/bits/regex_nfa.h: Likewise.
1876         * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
1877         Fix error code, remove xfail.
1878         * testsuite/28_regex/basic_regex/ctors/extended/
1879         string_range_01_02_03.cc: Likewise.
1880
1881 2011-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
1882
1883         * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
1884         * include/bits/regex_nfa.h: Remove unnecessary base classes.
1885
1886 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1887
1888         * configure: Regenerate.
1889
1890 2011-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
1891
1892         PR libstdc++/47709
1893         * include/ext/algorithm (is_heap): In C++0x mode import from
1894         namespace std.
1895         * testsuite/ext/is_heap/47709.cc: New.
1896
1897 2011-02-12  Jakub Jelinek  <jakub@redhat.com>
1898             Jonathan Wakely  <jwakely.gcc@gmail.com>
1899
1900         PR libstdc++/47662
1901         * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
1902         * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
1903
1904 2011-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
1905
1906         * include/tr1/cmath (fabs): Define.
1907         * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
1908         in C++0x mode.
1909
1910 2011-02-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
1911
1912         * testsuite/tr1/headers/c++200x/complex.cc: New.
1913
1914 2011-02-11  Johannes Singler  <singler@kit.edu>
1915
1916         PR libstdc++/47433
1917         * include/parallel/losertree.h
1918         (_LoserTreeUnguarded<>::__delete_min_insert):
1919         Add missing "using std::swap;", as for other variants.
1920
1921 2011-02-10  Benjamin Kosnik  <bkoz@redhat.com>
1922
1923         * src/Makefile.am (sources): Add regex.cc.
1924         * src/Makefile.in: Regenerate.
1925         * src/regex.cc: New.
1926         * include/bits/regex_error.h (error_type): Use constexpr.
1927         (regex_error): Move ctor and dtor out of line.
1928
1929         * testsuite/28_regex/03_requirements: To...
1930         * testsuite/28_regex/requirements: ... this.
1931         * testsuite/28_regex/04_header: To...
1932         * testsuite/28_regex/headers: ... this.
1933         * testsuite/28_regex/05_constants: To...
1934         * testsuite/28_regex/constants: ... this.
1935         * testsuite/28_regex/06_exception_type: To...
1936         * testsuite/28_regex/regex_error: ... this.
1937         * testsuite/28_regex/07_traits: To...
1938         * testsuite/28_regex/traits: ... this.
1939         * testsuite/28_regex/08_basic_regex: To...
1940         * testsuite/28_regex/basic_regex: ... this.
1941         * testsuite/28_regex/09_sub_match: To...
1942         * testsuite/28_regex/sub_match: ... this.
1943         * testsuite/28_regex/10_match_results: To...
1944         * testsuite/28_regex/match_results: ... this.
1945         * testsuite/28_regex/11_algorithms: To...
1946         * testsuite/28_regex/algorithms: ... this.
1947         * testsuite/28_regex/12_iterators: To...
1948         * testsuite/28_regex/iterators: ... this.
1949
1950 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
1951
1952         PR libstdc++/47662
1953         * include/bits/c++config: Do not use alternative token.
1954         * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
1955
1956 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
1957
1958         * src/future.cc (future_error_category::message): Handle no_state.
1959
1960 2011-02-10  Paolo Carlini  <paolo.carlini@oracle.com>
1961
1962         * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
1963         not test in C++0x mode.
1964         * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
1965         * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
1966         in C++0x mode too.
1967
1968 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
1969
1970         * doc/xml/manual/status_cxx200x.xml: Update.
1971         * doc/html/*: Regenerate.
1972
1973 2011-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
1974
1975         * doc/xml/manual/debug.xml: Improve data race docs.
1976
1977 2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
1978
1979         PR libstdc++/47668
1980         * include/debug/map.h (map): Remove unnecessary using-declaration.
1981         * include/debug/multimap.h (multimap): Likewise.
1982         * include/profile/map.h (map): Likewise.
1983         * include/profile/multimap.h (multimap): Likewise.
1984
1985 2011-02-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
1986
1987         PR libstdc++/43863
1988         * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
1989         Move to ...
1990         * libsupc++/guard_error.cc: ... new file.
1991         * libsupc++/Makefile.am: Update.
1992         * libsupc++/Makefile.in: Regenerate.
1993
1994 2011-02-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
1995
1996         * include/std/future (packaged_task::operator bool): Rename to...
1997         (packaged_task::valid): ...this.
1998         * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
1999         * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
2000         * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
2001         * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
2002         * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
2003         * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
2004         * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
2005         * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
2006         * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
2007         * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
2008         * testsuite/30_threads/packaged_task/members/valid.cc: Add.
2009
2010 2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
2011
2012         * doc/xml/manual/io.xml: Fix typo.
2013         * doc/html/manual/streambufs.html: Likewise.
2014
2015 2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>
2016
2017         * config/abi/pre/gnu.ver: Fix.
2018
2019 2011-02-08  Benjamin Kosnik  <bkoz@redhat.com>
2020
2021         * doc/xml/manual/appendix_porting.xml: Add doc section.
2022         * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
2023         * doc/xml/manual/documentation_hacking.xml: ...here.
2024
2025         * doc/xml/manual/debug_mode.xml: Adjust.
2026         * doc/xml/manual/prerequisites.xml: Adjust.
2027         * doc/Makefile.am (xml_sources): Add dot files,
2028         documentation_hacking.xml.
2029         * doc/Makefile.in: Regenerate.
2030
2031         * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
2032         * doc/xml/images/confdeps.pdf: Add.
2033
2034         * doc/html/*: Regenerate.
2035
2036 2011-02-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
2037
2038         * doc/xml/gnu/fdl-1.2.xml: Remove.
2039         * doc/xml/gnu/gpl-2.0.xml: Remove.
2040         * doc/Makefile.am: Update.
2041         * doc/Makefile.in: Regenerate.
2042
2043 2011-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
2044
2045         PR libstdc++/47628
2046         * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
2047         iterator)): Add back in C++03 mode.
2048         * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
2049         * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
2050
2051 2011-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2052
2053         PR libstdc++/47560 try two
2054         * config/os/hpux/os_defines.h: Guard for C++.
2055
2056 2011-02-07  Gerald Pfeifer  <gerald@pfeifer.com>
2057
2058         * doc/xml/faq.xml: Adjust link to bug database.
2059         Remove old item on broken header files.
2060
2061 2011-02-04  Benjamin Kosnik  <bkoz@redhat.com>
2062
2063         * include/bits/regex_error.h (__throw_regex_error): Not inline.
2064         * src/functexcept.cc: Add definition.
2065         * config/abi/pre/gnu.ver: Export.
2066
2067 2011-02-04  Ralf Corsépius <ralf.corsepius@rtems.org>
2068
2069         * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
2070         * configure: Regenerate.
2071
2072 2011-02-01  Paolo Carlini  <paolo.carlini@oracle.com>
2073
2074         PR libstdc++/46914
2075         * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
2076         _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
2077         avoid name conflicts.
2078
2079 2011-02-01  Benjamin Kosnik  <bkoz@redhat.com>
2080
2081         PR libstdc++/47560
2082         * config/os/hpux/os_defines.h: Remove use of macros on namespace.
2083
2084 2011-02-01  Benjamin Kosnik  <bkoz@redhat.com>
2085
2086         * scripts/run_doxygen: Allow doxygen 1.7.0 again.
2087         * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
2088         (COMPACT_LATEX): Enable.
2089
2090         * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
2091         * include/profile/impl/profiler_hash_func.h: Same.
2092         * include/bits/hashtable.h: Same.
2093         * include/backward/auto_ptr.h: Same.
2094         * include/backward/strstream: Same.
2095         * include/backward/backward_warning.h: Same.
2096         * include/backward/binders.h: Same.
2097
2098 2011-02-01  Gerald Pfeifer  <gerald@pfeifer.com>
2099
2100         * doc/xml/manual/debug.xml: Use GDB instead of gdb.
2101         Adjust link to GDB manual.
2102
2103 2011-01-31  Benjamin Kosnik  <bkoz@redhat.com>
2104
2105         * include/bits/c++config (_GLIBCXX_DEPRECATED): To
2106         _GLIBCXX_USE_DEPRECATED.
2107         (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
2108         * doc/xml/manual/using.xml: Same.
2109         * include/std/memory: Same.
2110         * include/std/streambuf: Same.
2111         * include/bits/shared_ptr.h: Same.
2112         * include/bits/unique_ptr.h: Same.
2113         * include/bits/shared_ptr_base.h: Same.
2114         * include/bits/stl_function.h: Same.
2115         * include/tr1/shared_ptr.h: Same.
2116         * include/backward/auto_ptr.h: Same.
2117         * include/backward/binders.h: Same.
2118
2119 2011-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
2120
2121         * doc/html/ext/lwg-active.html: Update to Revision D73.
2122         * doc/html/ext/lwg-closed.html: Likewise.
2123         * doc/html/ext/lwg-defects.html: Likewise.
2124         * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
2125
2126 2011-01-30  Benjamin Kosnik  <bkoz@redhat.com>
2127
2128         PR libstdc++/36104 part four
2129         * include/bits/c++config (_GLIBCXX_STD): Remove.
2130         (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
2131         (_GLIBCXX_P): Now _GLIBCXX_STD_A.
2132         (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
2133          _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
2134         (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
2135          _GLIBCXX_INLINE_PROFILE): Remove.
2136         (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
2137         (_GLIBCXX_END_NAMESPACE): Remove.
2138         (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
2139         (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
2140         (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
2141         (_GLIBCXX_END_NAMESPACE_ALGO): Add.
2142         (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
2143         (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
2144         (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
2145         (_GLIBCXX_END_NAMESPACE_VERSION): Add.
2146         (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
2147         (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
2148         (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
2149         * include/*: Use new macros for namespace scope.
2150         * config/*: Same.
2151         * src/*: Same.
2152
2153         * src/Makefile.am (sources): Remove debug_list.cc, add
2154         compatibility-debug_list-2.cc.
2155         (parallel_sources): Remove parallel_list.cc, add
2156         compatibility-parallel_list-2.cc.
2157         (compatibility-parallel_list-2.[o,lo]): New rule.
2158         * src/Makefile.in: Regenerate.
2159         * src/debug_list.cc: Remove.
2160         * src/parallel_list.cc: Remove.
2161         * src/compatibility-list-2.cc: New.
2162         * src/compatibility-debug_list-2.cc: New.
2163         * src/compatibility-parallel_list-2.cc: New.
2164
2165         * doc/doxygen/user.cfg.in: Adjust macros.
2166
2167         * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
2168         * testsuite/20_util/declval/requirements/1_neg.cc: Same.
2169         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
2170         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
2171         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
2172         * testsuite/20_util/forward/c_neg.cc: Same.
2173         * testsuite/20_util/forward/f_neg.cc: Same.
2174         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
2175         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
2176         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
2177         * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
2178         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
2179         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
2180         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
2181         * testsuite/23_containers/deque/requirements/dr438/
2182         constructor_1_neg.cc: Same.
2183         * testsuite/23_containers/deque/requirements/dr438/
2184         constructor_2_neg.cc: Same.
2185         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
2186         * testsuite/23_containers/forward_list/capacity/1.cc: Same.
2187         * testsuite/23_containers/forward_list/requirements/dr438/
2188         assign_neg.cc: Same.
2189         * testsuite/23_containers/forward_list/requirements/dr438/
2190         constructor_1_neg.cc: Same.
2191         * testsuite/23_containers/forward_list/requirements/dr438/
2192         constructor_2_neg.cc: Same.
2193         * testsuite/23_containers/forward_list/requirements/dr438/
2194         insert_neg.cc: Same.
2195         * testsuite/23_containers/list/capacity/29134.cc: Same.
2196         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
2197         * testsuite/23_containers/list/requirements/dr438/
2198         constructor_1_neg.cc: Same.
2199         * testsuite/23_containers/list/requirements/dr438/
2200         constructor_2_neg.cc: Same.
2201         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
2202         * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
2203         * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
2204         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
2205         * testsuite/23_containers/vector/requirements/dr438/
2206         constructor_1_neg.cc: Same.
2207         * testsuite/23_containers/vector/requirements/dr438/
2208         constructor_2_neg.cc: Same.
2209         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
2210         * testsuite/25_algorithms/sort/35588.cc: Same.
2211         * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
2212         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2213         * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
2214         * testsuite/ext/profile/profiler_algos.cc: Same.
2215         * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
2216         * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
2217         * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
2218         * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
2219         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
2220
2221 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
2222
2223         * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
2224         Improve description of one such reference.
2225
2226 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
2227
2228         * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
2229         Standards Revision Group.
2230         * doc/xml/manual/locale.xml: Ditto.
2231         * doc/xml/manual/messages.xml: Ditto.
2232         * doc/xml/manual/using_exceptions.xml: Ditto.
2233
2234 2011-01-28  Paolo Carlini  <paolo.carlini@oracle.com>
2235
2236         * include/bits/atomic_base.h: Do not include <stddef.h>.
2237         (kill_dependency): Uglify ret.
2238
2239 2011-01-26  Johannes Singler  <singler@kit.edu>
2240
2241         * include/parallel/numeric (inner_product, partial_sum):
2242         Qualify subsequent call with __gnu_parallel instead of
2243         _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
2244         * include/parallel/algobase.h (equal): Likewise.
2245         * include/parallel/algo.h (find_first_of, search_n, merge,
2246         nth_element, partial_sort, max_element, min_element): Likewise.
2247         * testsuite/25_algorithms/headers/algorithm/
2248         parallel_algorithm_mixed1.cc (main): Add respective test cases.
2249         * testsuite/25_algorithms/headers/algorithm/
2250         parallel_algorithm_mixed2.cc (main): Likewise.
2251         * testsuite/26_numerics/headers/numeric/
2252         parallel_numeric_mixed1.cc (main): Likewise.
2253         * testsuite/26_numerics/headers/numeric/
2254         parallel_numeric_mixed2.cc (main): Likewise.
2255
2256 2011-01-24  Graham Reed  <greed@pobox.com>
2257
2258         PR libstdc++/47387
2259         * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
2260         provided.
2261
2262 2011-01-24  Johannes Singler  <singler@kit.edu>
2263
2264         PR libstdc++/47433
2265         * include/parallel/losertree.h
2266         (_LoserTree<>::__delete_min_insert):
2267         Do not qualify swap with std:: for value type,
2268         but include a using directive instead.
2269         (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
2270         * include/parallel/balanced_quicksort.h (__qsb_divide):
2271         Use std::iter_swap instead of std::swap.
2272         (__qsb_local_sort_with_helping): Likewise.
2273         * include/parallel/partition.h (__parallel_partition):
2274         Likewise. (__parallel_nth_element): Likewise.
2275
2276 2011-01-24  Johannes Singler  <singler@kit.edu>
2277
2278         PR libstdc++/47437
2279         * include/parallel/multiway_merge.h (_UnguardedIterator):
2280         Remove useless "mutable" from reference declaration.
2281
2282 2011-01-21  Benjamin Kosnik  <bkoz@redhat.com>
2283
2284         * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
2285         * include/debug/safe_sequence.h: Same.
2286         * include/debug/safe_iterator.h: Same.
2287         * include/std/forward_list: Same.
2288         * include/std/deque: Same.
2289         * include/std/list: Same.
2290         * include/std/random: Same.
2291         * include/std/streambuf: Same.
2292         * include/std/fstream: Same.
2293         * include/std/istream: Same.
2294         * include/std/string: Same.
2295         * include/std/ostream: Same.
2296         * include/std/sstream: Same.
2297         * include/ext/vstring.h: Same.
2298         * include/bits/basic_ios.h: Same.
2299         * include/bits/locale_classes.h: Same.
2300         * include/bits/locale_facets.h: Same.
2301         * include/bits/valarray_array.h: Same.
2302         * include/bits/locale_facets_nonio.h: Same.
2303         * include/tr1/random: Same.
2304
2305 2011-01-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
2306
2307         * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
2308
2309 2011-01-20  Benjamin Kosnik  <bkoz@redhat.com>
2310
2311         PR libstdc++/36104 part three
2312         * src/hashtable_c++0x.cc: Adjust namespace macros.
2313         * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
2314         * config/abi/pre/gnu-versioned-namespace.ver: Update.
2315
2316 2011-01-20  Benjamin Kosnik  <bkoz@redhat.com>
2317
2318         * include/ext/pb_ds/detail/resize_policy/
2319         hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
2320         * include/ext/pb_ds/detail/pat_trie_/
2321         constructors_destructor_fn_imps.hpp: Same.
2322         * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
2323         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
2324         * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
2325
2326         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
2327         iterations downward when testing in debug mode.
2328         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
2329         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
2330         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
2331         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
2332         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
2333         * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
2334         reduce in debug mode.
2335
2336 2011-01-19  Benjamin Kosnik  <bkoz@redhat.com>
2337
2338         PR libstdc++/36104 part two
2339         * include/bits/hashtable.h: Revert to non-nested macro usage.
2340         * include/bits/hashtable_policy.h: Same.
2341
2342 2011-01-19  Graham Reed  <greed@pobox.com>
2343
2344         PR libstdc++/47354
2345         * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
2346
2347 2011-01-18  Benjamin Kosnik  <bkoz@redhat.com>
2348
2349         * doc/xml/images/confdeps.png: Regenerate.
2350
2351         * include/std/chrono (duration): Mark copy constructor constexpr.
2352         * testsuite/20_util/duration/cons/constexpr.cc: Add test.
2353
2354 2011-01-18  Paolo Carlini  <paolo.carlini@oracle.com>
2355
2356         * include/bits/unique_ptr.h (default_delete<>::default_delete()):
2357         Declare defaulted per DR 1517.
2358         * testsuite/util/testsuite_common_types.h
2359         (constexpr_defaulted_default_constructible): Add.
2360         * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
2361
2362 2011-01-17  Paolo Carlini  <paolo.carlini@oracle.com>
2363
2364         * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
2365         Implement DR 1198.
2366         * include/bits/stl_stack.h (stack<>::swap): Likewise.
2367
2368 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
2369
2370         PR libstdc++/47323
2371         * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
2372         Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
2373
2374 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
2375
2376         PR libstdc++/47320
2377         * testsuite/18_support/numeric_limits/lowest.cc:
2378         Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
2379
2380 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
2381
2382         PR libstdc++/47321
2383         * testsuite/21_strings/basic_string/requirements/typedefs.cc:
2384         Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
2385
2386 2011-01-16  François Dumont  <francois.cppdevs@free.fr>
2387
2388         * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
2389         to this. Use _neg suffix.
2390         * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
2391         this.
2392         * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
2393         Same.
2394         * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
2395         * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
2396         Same.
2397         * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
2398         * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
2399         Same.
2400         * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
2401         * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
2402         Same.
2403         * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
2404         * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
2405         Same.
2406         * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
2407         * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
2408         Same.
2409         * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
2410         * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
2411         Same.
2412         * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
2413         * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
2414         Same.
2415         * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
2416         * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
2417         Same.
2418         * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
2419         * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
2420         Same.
2421         * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
2422         * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
2423         Same.
2424         * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
2425         * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
2426         Same.
2427         * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
2428         * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
2429         Same.
2430         * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
2431         * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
2432         Same.
2433         * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
2434         * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
2435         Same.
2436         * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
2437
2438 2011-01-14  Benjamin Kosnik  <bkoz@redhat.com>
2439
2440         PR libstdc++/36104
2441         * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
2442         * include/Makefile.in: Regenerate.
2443         * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
2444         (install-stdHEADERS, install-bitsHEADERS): New.
2445         * libsupc++/Makefile.in: Regenerate.
2446
2447         * include/bits/c++config: Update for inline namespaces.
2448         * libsupc++/cxxabi-forced.h: To...
2449         * libsupc++/cxxabi_forced.h: ...this.
2450         * libsupc++/hash_bytes.h: Separate file.
2451         * libsupc++/typeinfo: Use it.
2452         * libsupc++/exception: Adjust for bits subdirectory.
2453         * libsupc++/eh_aux_runtime.cc: Same.
2454         * libsupc++/eh_ptr.cc: Same.
2455         * libsupc++/new_op.cc: Same.
2456         * libsupc++/exception_defines.h: Same.
2457         * libsupc++/nested_exception.h: Same.
2458         * libsupc++/eh_terminate.cc: Same.
2459         * libsupc++/vec.cc: Same.
2460         * libsupc++/vterminate.cc: Same.
2461         * libsupc++/exception_ptr.h: Same.
2462         * libsupc++/eh_personality.cc: Same.
2463         * libsupc++/eh_call.cc: Same.
2464         * libsupc++/new_opnt.cc: Same.
2465         * libsupc++/hash_bytes.cc: Same.
2466         * config/cpu/arm/cxxabi_tweaks.h: Same.
2467         * config/cpu/generic/cxxabi_tweaks.h: Same.
2468         * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
2469         * include/std/bitset: Same.
2470         * include/ext/vstring.tcc: Same.
2471         * include/bits/hashtable.h: Same.
2472         * include/bits/functional_hash.h: Same.
2473         * include/bits/hashtable_policy.h: Same.
2474         * include/bits/basic_string.h: Same.
2475         * include/bits/istream.tcc: Same.
2476         * include/bits/ostream.tcc: Same.
2477         * include/bits/algorithmfwd.h: Same.
2478         * include/bits/basic_string.tcc: Same.
2479         * include/bits/ostream_insert.h: Same.
2480         * include/bits/fstream.tcc: Same.
2481         * include/bits/functexcept.h: Same.
2482
2483         * doc/doxygen/user.cfg.in: Adjust names.
2484
2485         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
2486
2487 2011-01-14  Paolo Carlini  <paolo.carlini@oracle.com>
2488
2489         * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
2490         tweaks.
2491         * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
2492
2493 2011-01-13  Paolo Carlini  <paolo.carlini@oracle.com>
2494
2495         * testsuite/25_algorithms/is_permutation/check_type.cc: New.
2496         * testsuite/25_algorithms/is_permutation/requirements/
2497         explicit_instantiation/2.cc: Likewise.
2498         * testsuite/25_algorithms/is_permutation/requirements/
2499         explicit_instantiation/pod.cc: Likewise.
2500         * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
2501
2502 2011-01-13  John Lakos  <jlakos@bloomberg.net>
2503             Pablo Halpern  <phalpern@halpernwightsoftware.com>
2504             Paolo Carlini  <paolo.carlini@oracle.com>
2505
2506         * include/bits/stl_algo.h (is_permutation): Add, per N3068.
2507         * include/bits/algorithmfwd.h: Add.
2508
2509 2011-01-13  Jonathan Wakely  <jwakely.gcc@gmail.com>
2510
2511         PR libstdc++/47045
2512         * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
2513
2514 2011-01-11  Paolo Carlini  <paolo.carlini@oracle.com>
2515
2516         * aclocal.m4: Regenerate.
2517
2518 2011-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
2519
2520         PR libstdc++/47185
2521         * src/placeholders.cc: New.
2522         * src/Makefile.am: Adjust.
2523         * src/Makefile.in: Regenerate.
2524         * include/std/functional (placeholders::_1, _2, ..., _29): Declare
2525         extern.
2526         * config/abi/pre/gnu.ver: Export.
2527
2528 2011-01-05  François Dumont  <francois.cppdevs@free.fr>
2529
2530         * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
2531         * include/src/debug.cc: Use latter
2532         * include/debug/forward_list (forward_list<>::_M_swap):  Fix to
2533         correctly handle before_begin iterators.
2534         * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
2535         useless _GLIBCXX_DEBUG checks.
2536
2537 2011-01-04  Kai Tietz  <kai.tietz@onevision.com>
2538
2539         PR libstdc++/47145
2540         * configure.ac (AC_CHECK_FILE): Replaced by test -f.
2541         * configure: Regenerated.
2542
2543 2011-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
2544
2545         PR libstdc++/46922
2546         * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
2547
2548 \f
2549 Copyright (C) 2011 Free Software Foundation, Inc.
2550
2551 Copying and distribution of this file, with or without modification,
2552 are permitted in any medium without royalty provided the copyright
2553 notice and this notice are preserved.