OSDN Git Service

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