OSDN Git Service

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