OSDN Git Service

2010-03-23 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2010-03-23  Paolo Carlini  <paolo.carlini@oracle.com>
2
3         * include/bits/stl_algobase.h (lower_bound(_ForwardIterator,
4         _ForwardIterator, const _Tp&, _Compare)): Move...
5         * include/bits/stl_algo.h: ... here.
6
7 2010-03-22  Johannes Singler  <singler@kit.edu>
8
9         * include/parallel/numeric (inner_product, partial_sum):
10         Precede subsequent call with _GLIBCXX_STD_P:: to avoid ambiguity
11         between __gnu_parallel:: and std::
12         * include/parallel/algobase.h (equal): Likewise.
13         * include/parallel/algo.h (find_first_of, search_n, merge, nth_element,
14         partial_sort, max_element, min_element): Likewise.
15         * include/parallel/partial_sum.h (__parallel_partial_sum_linear):
16         Qualify accumulate call with __gnu_parallel::.
17
18 2010-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
19
20         * include/parallel/base.h (_PseudoSequence): Do not forward declare.
21         (_VoidFunctor): Remove, unused.
22         (__median_of_three_iterators): Take __comp by value.
23         (_PseudoSequenceIterator<>::operator++(int)): Do not const qualify
24         the return type.
25         (_PseudoSequenceIterator<>::operator!=): Fix return type to bool.
26
27 2010-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
28
29         * include/parallel/base.h (_Less): Use std::less.
30         (_Plus): Likewise use std::plus.
31         (_Multiplies): Likewise use std::multiplies.
32         * include/parallel/numeric: Adjust.
33
34 2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
35
36         * testsuite/17_intro/freestanding.cc: Avoid -Wall warnings.
37
38 2010-03-19  Rodolfo Lima  <rodolfo@rodsoft.org>
39
40         * include/bits/shared_ptr.h (shared_ptr(unique_ptr&&),
41         shared_ptr(auto_ptr&&)): Remove explicit specifier (as per DR 925).
42         * include/bits/shared_ptr_base.h: Likewise.
43         * testsuite/20_util/shared_ptr/creation/dr925.cc: New.
44
45 2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
46
47         * include/bits/random.tcc: Minor formatting changes.
48
49 2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
50
51         * include/bits/stl_algo.h (shuffle): Fix typo in signature.
52         * include/bits/algorithmfwd.h: Adjust.
53         * testsuite/25_algorithms/shuffle/requirements/
54         explicit_instantiation/2.cc: Likewise.
55         * testsuite/25_algorithms/shuffle/requirements/
56         explicit_instantiation/pod.cc: Likewise.
57
58 2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
59
60         * include/bits/stl_algo.h (shuffle): Add, per D3056.
61         (random_shuffle): Fix signature in C++0x mode.
62         (lower_bound, __lg): Move...
63         * include/bits/stl_algobase.h: ... here.
64         * include/bits/algorithmfwd.h: Adjust.
65         * include/parallel/algorithmfwd.h: Likewise.
66         * include/parallel/algo.h: Likewise.
67         * include/bits/hashtable_policy.h (__lower_bound): Remove,
68         adjust callers.
69         * include/tr1/hashtable_policy.h (__lower_bound): Likewise.
70         * include/bits/random.tcc (__detail::__transform): Add,
71         adjust std::transform callers; don't include <algorithm>.
72         * testsuite/25_algorithms/shuffle/1.cc: Add.
73         * testsuite/25_algorithms/shuffle/requirements/
74         explicit_instantiation/2.cc: Likewise.
75         * testsuite/25_algorithms/shuffle/requirements/
76         explicit_instantiation/pod.cc: Likewise.
77
78         * include/bits/random.h: Add comments.
79
80 2010-03-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
81
82         * doc/xml/manual/debug_mode.xml: Correct debug headers.
83
84 2010-03-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
85
86         PR libstdc++/43397
87         * include/std/functional (_Mem_fn): Use perfect forwarding.
88         * testsuite/20_util/function/43397.cc: New.
89
90 2010-03-16  Paolo Carlini  <paolo.carlini@oracle.com>
91
92         PR libstdc++/43394
93         * include/parallel/compatibility.h: Add __k8 and __core2 among the
94         i386 targets supporting atomic operations.
95
96 2010-03-16  Paolo Carlini  <paolo.carlini@oracle.com>
97
98         * include/backward/hash_map: Use consistently the _BACKWARD_*
99         prefix for the include guard.
100         * include/backward/hash_fun.h: Likewise.
101         * include/backward/hashtable.h: Likewise.
102         * include/backward/auto_ptr.h: Likewise.
103         * include/backward/strstream: Likewise.
104         * include/backward/binders.h: Likewise.
105         * include/backward/hash_set: Likewise.
106
107 2010-03-16  Paolo Carlini  <paolo.carlini@oracle.com>
108
109         * include/bits/random.h (operator==(const uniform_int_distribution<>&,
110         const uniform_int_distribution<>&), operator==(const
111         uniform_real_distribution<>&, const uniform_real_distribution<>&),
112         operator==(const lognormal_distribution<>&,
113         const lognormal_distribution<>&), operator==(const
114         chi_squared_distribution<>&, const chi_squared_distribution<>&),
115         operator==(const cauchy_distribution<>&, const cauchy_distribution<>&),
116         operator==(const fisher_distribution<>&, const fisher_distribution<>&),
117         operator==(const student_t_distribution<>&,
118         const student_t_distribution<>&), operator==(const
119         bernoulli_distribution<>&, const bernoulli_distribution<>&),
120         operator==(const binomial_distribution<>&, const
121         binomial_distribution<>&), operator==(const geometric_distribution<>&,
122         const geometric_distribution<>&), operator==(const
123         negative_binomial_distribution<>&, const
124         negative_binomial_distribution<>&), operator==(const
125         poisson_distribution<>&, const poisson_distribution<>&),
126         operator==(const exponential_distribution<>&,
127         const exponential_distribution<>&), operator==(const
128         gamma_distribution<>&, const gamma_distribution<>&), operator==(const
129         weibull_distribution<>&, const weibull_distribution<>&),
130         operator==(const extreme_value_distribution<>&,
131         const extreme_value_distribution<>&), operator==(const
132         discrete_distribution<>&, const discrete_distribution<>&),
133         operator==(const piecewise_constant_distribution<>&,
134         const piecewise_constant_distribution<>&), operator==(const
135         piecewise_linear_distribution<>&, const
136         piecewise_linear_distribution<>&)): Add, likewise for operator!=.
137         (operator!=(const independent_bits_engine<>&, const
138         independent_bits_engine<>&), operator!=(const
139         subtract_with_carry_engine<>&, const subtract_with_carry_engine<>&),
140         operator!=(const discard_block_engine<>&, const
141         discard_block_engine<>&), operator!=(const mersenne_twister_engine<>&,
142         const mersenne_twister_engine<>&), operator!=(const
143         linear_congruential_engine<>&, const linear_congruential_engine<>&),
144         operator!=(const shuffle_order_engine<>&, const
145         shuffle_order_engine<>&): Add.
146         * include/bits/random.tcc (operator==(const normal_distribution<>&,
147         const normal_distribution<>&)): Add.
148         * testsuite/26_numerics/random/uniform_real_distribution/operators/
149         inequal.cc: New.
150         * testsuite/26_numerics/random/uniform_real_distribution/operators/
151         equal.cc: Likewise.
152         * testsuite/26_numerics/random/piecewise_constant_distribution/
153         operators/inequal.cc: Likewise.
154         * testsuite/26_numerics/random/piecewise_constant_distribution/
155         operators/equal.cc: Likewise.
156         * testsuite/26_numerics/random/chi_squared_distribution/operators/
157         inequal.cc: Likewise.
158         * testsuite/26_numerics/random/chi_squared_distribution/operators/
159         equal.cc: Likewise.
160         * testsuite/26_numerics/random/normal_distribution/operators/
161         inequal.cc: Likewise.
162         * testsuite/26_numerics/random/normal_distribution/operators/
163         equal.cc: Likewise.
164         * testsuite/26_numerics/random/uniform_int_distribution/operators/
165         inequal.cc: Likewise.
166         * testsuite/26_numerics/random/uniform_int_distribution/operators/
167         equal.cc: Likewise.
168         * testsuite/26_numerics/random/poisson_distribution/operators/
169         inequal.cc: Likewise.
170         * testsuite/26_numerics/random/poisson_distribution/operators/
171         equal.cc: Likewise.
172         * testsuite/26_numerics/random/bernoulli_distribution/operators/
173         inequal.cc: Likewise.
174         * testsuite/26_numerics/random/bernoulli_distribution/operators/
175         equal.cc: Likewise.
176         * testsuite/26_numerics/random/discrete_distribution/operators/
177         inequal.cc: Likewise.
178         * testsuite/26_numerics/random/discrete_distribution/operators/
179         equal.cc: Likewise.
180         * testsuite/26_numerics/random/weibull_distribution/operators/
181         inequal.cc: Likewise.
182         * testsuite/26_numerics/random/weibull_distribution/operators/
183         equal.cc: Likewise.
184         * testsuite/26_numerics/random/independent_bits_engine/operators/
185         inequal.cc: Likewise.
186         * testsuite/26_numerics/random/subtract_with_carry_engine/operators/
187         inequal.cc: Likewise.
188         * testsuite/26_numerics/random/discard_block_engine/operators/
189         inequal.cc: Likewise.
190         * testsuite/26_numerics/random/cauchy_distribution/operators/
191         inequal.cc: Likewise.
192         * testsuite/26_numerics/random/cauchy_distribution/operators/
193         equal.cc: Likewise.
194         * testsuite/26_numerics/random/negative_binomial_distribution/
195         operators/inequal.cc: Likewise.
196         * testsuite/26_numerics/random/negative_binomial_distribution/
197         operators/equal.cc: Likewise.
198         * testsuite/26_numerics/random/gamma_distribution/operators/
199         inequal.cc: Likewise.
200         * testsuite/26_numerics/random/gamma_distribution/operators/
201         equal.cc: Likewise.
202         * testsuite/26_numerics/random/mersenne_twister_engine/operators/
203         inequal.cc: Likewise.
204         * testsuite/26_numerics/random/fisher_f_distribution/operators/
205         inequal.cc: Likewise.
206         * testsuite/26_numerics/random/fisher_f_distribution/operators/
207         equal.cc: Likewise.
208         * testsuite/26_numerics/random/exponential_distribution/operators/
209         inequal.cc: Likewise.
210         * testsuite/26_numerics/random/exponential_distribution/operators/
211         equal.cc: Likewise.
212         * testsuite/26_numerics/random/binomial_distribution/operators/
213         inequal.cc: Likewise.
214         * testsuite/26_numerics/random/binomial_distribution/operators/
215         equal.cc: Likewise.
216         * testsuite/26_numerics/random/lognormal_distribution/operators/
217         inequal.cc: Likewise.
218         * testsuite/26_numerics/random/lognormal_distribution/operators/
219         equal.cc: Likewise.
220         * testsuite/26_numerics/random/extreme_value_distribution/operators/
221         inequal.cc: Likewise.
222         * testsuite/26_numerics/random/extreme_value_distribution/operators/
223         equal.cc: Likewise.
224         * testsuite/26_numerics/random/piecewise_linear_distribution/
225         operators/inequal.cc: Likewise.
226         * testsuite/26_numerics/random/piecewise_linear_distribution/
227         operators/equal.cc: Likewise.
228         * testsuite/26_numerics/random/student_t_distribution/operators/
229         inequal.cc: Likewise.
230         * testsuite/26_numerics/random/student_t_distribution/operators/
231         equal.cc: Likewise.
232         * testsuite/26_numerics/random/linear_congruential_engine/operators/
233         inequal.cc: Likewise.
234         * testsuite/26_numerics/random/shuffle_order_engine/operators/
235         inequal.cc: Likewise.
236         * testsuite/26_numerics/random/geometric_distribution/operators/
237         inequal.cc: Likewise.
238         * testsuite/26_numerics/random/geometric_distribution/operators/
239         equal.cc: Likewise.
240
241 2010-03-15  Paolo Carlini  <paolo.carlini@oracle.com>
242
243         * include/bits/forward_list.tcc (_Fwd_list_node_base::
244         _M_transfer_after): Return _Fwd_list_node_base*.
245         (forward_list<>::_M_splice_after): Add.
246         (forward_list<>::insert_after(const_iterator, size_type, const _Tp&),
247         insert_after(const_iterator, _InputIterator, _InputIterator),
248         insert_after(const_iterator, initializer_list<>)): Use the above,
249         implement DR 1278 ([Ready] in Pittsburgh).
250         * include/bits/forward_list.h (insert_after(const_iterator,
251         size_type, const _Tp&), insert_after(const_iterator, _InputIterator,
252         _InputIterator), insert_after(const_iterator, initializer_list<>)):
253         Only declare.
254         * testsuite/23_containers/forward_list/modifiers/2.cc: Adjust.
255         * testsuite/23_containers/forward_list/requirements/dr438/
256         assign_neg.cc: Adjust dg-error line number.
257         * testsuite/23_containers/forward_list/requirements/dr438/
258         insert_neg.cc: Likewise.
259         * testsuite/23_containers/forward_list/requirements/dr438/
260         constructor_1_neg.cc: Likewise.
261         * testsuite/23_containers/forward_list/requirements/dr438/
262         constructor_2_neg.cc: Likewise.
263
264 2010-03-15  Paolo Carlini  <paolo.carlini@oracle.com>
265
266         * testsuite/23_containers/forward_list/requirements/dr438/
267         assign_neg.cc: Adjust dg-error line number.
268         * testsuite/23_containers/forward_list/requirements/dr438/
269         constructor_1_neg.cc: Likewise.
270         * testsuite/23_containers/forward_list/requirements/dr438/
271         constructor_2_neg.cc: Likewise.
272         * testsuite/23_containers/forward_list/requirements/dr438/
273         insert_neg.cc: Likewise.
274         * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
275
276         Revert:
277         2008-11-11  Bob Walters  <bob.s.walters@gmail.com>
278
279         * include/bits/forward_list.h: Support non-standard pointer types
280         (_Fwd_list_node_base): Add _Alloc template parameter.
281         (_Fwd_list_node<>): Likewise.
282         (_Fwd_list_iterator<>): Likewise.
283         (_Fwd_list_const_iterator<>): Likewise.
284         (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
285         Use _Alloc<_Tp>::pointer.
286         (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
287         (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
288         _M_insert_after, _M_put_node, _M_erase_after): Likewise.
289         (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
290         (forward_list<>): Use __static_pointer_cast in place of static_cast,
291         and __const_pointer_cast in place of const_cast.
292         * include/bits/forward_list.tcc
293         (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
294         of standard pointers, __static_pointer_cast in place of static_cast.
295         (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
296         Likewise.
297         (forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
298         splice_after, remove, remove_if, merge): Likewise.
299         * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
300         * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
301         Likewise.
302         * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
303         Likewise.
304         * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
305         Likewise.
306         * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
307         Likewise.
308         * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
309         Likewise.
310         * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
311         Likewise.
312         * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
313         Likewise.
314         * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
315         Likewise.
316         * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
317         Likewise.
318         * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
319         Likewise.
320         * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
321         Likewise.
322         * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
323         Likewise.
324         * testsuite/23_containers/forward_list/ext_pointer/requirements/
325         explicit_instantiation/1.cc: Likewise.
326         * testsuite/23_containers/forward_list/ext_pointer/requirements/
327         explicit_instantiation/3.cc: Likewise.
328         * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.
329
330 2010-03-13  Paolo Carlini  <paolo.carlini@oracle.com>
331
332         * include/tr1_impl/array (swap(array<>&, array<>&)): Use member swap.
333
334         * include/bits/stl_algo.h: Improve comment.
335
336 2010-03-12  Benjamin Kosnik  <bkoz@redhat.com>
337
338         * scripts/run_doxygen: Adjust.
339         * doc/doxygen/user.cfg.in: Adjust latex, xml prefs.
340         * doc/xml/api.xml: Update.
341         * doc/Makefile.am: Re-do stamp rules.
342         * doc/Makefile.in: Regenerate.
343
344 2010-03-10  Paolo Carlini  <paolo.carlini@oracle.com>
345
346         * include/bits/hashtable_policy.h (_Rehash_base<_Prime_rehash_policy,
347         _Hashtable>::reserve): Add, per DR 1189.
348         * include/bits/hashtable.h (_Hashtable<>::size_type,
349         _Hashtable<>::difference_type): Do not typedef from _Allocator.
350         * testsuite/23_containers/unordered_map/dr1189.cc: New.
351         * testsuite/23_containers/unordered_set/dr1189.cc: Likewise.
352         * testsuite/23_containers/unordered_multimap/dr1189.cc: Likewise.
353         * testsuite/23_containers/unordered_multiset/dr1189.cc: Likewise.
354
355 2010-03-08  Paolo Carlini  <paolo.carlini@oracle.com>
356
357         Revert:
358         2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
359
360         PR libstdc++/41975, DR 579
361         * include/bits/hashtable.h (_Hashtable<>::_M_erase_node): Remove.
362         (erase(const_iterator), erase(const_iterator, const_iterator)):
363         Change return type to void.
364         * include/debug/unordered_map: Adjust.
365         * include/debug/unordered_set: Likewise.
366         * testsuite/util/exception/safety.h: Likewise.
367         * testsuite/23_containers/unordered_map/erase/1.cc: Likewise.
368         * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
369         * testsuite/23_containers/unordered_set/erase/1.cc:  Likewise.
370         * testsuite/23_containers/unordered_set/erase/24061-map.cc: Likewise.
371         * testsuite/23_containers/unordered_multimap/erase/1.cc:  Likewise.
372         * testsuite/23_containers/unordered_multimap/erase/24061-map.cc:
373         Likewise.
374         * testsuite/23_containers/unordered_multiset/erase/1.cc:  Likewise.
375         * testsuite/23_containers/unordered_multiset/erase/24061-map.cc:
376         Likewise.
377
378 2010-03-04  Paolo Carlini  <paolo.carlini@oracle.com>
379
380         * testsuite/util/testsuite_container_traits.h (traits_base): Add
381         has_throwing_erase trait.
382         (traits<vector>, traits<deque>): Typedef the latter to true_type.
383         * testsuite/util/exception/safety.h (generation_prohibited):
384         Do not test vector::erase and deque::erase: can throw if
385         either copy constructor or assignment operator of value_type
386         throws.
387         * testsuite/23_containers/vector/requirements/exception/
388         generation_prohibited.cc: Remove xfail.
389         * testsuite/23_containers/deque/requirements/exception/
390         generation_prohibited.cc: Likewise.
391
392         * include/ext/throw_allocator.h (hash<__gnu_cxx::throw_value_limit>::
393         operator(), hash<__gnu_cxx::throw_value_random>::operator()): Pass
394         argument by const ref.
395
396         * testsuite/util/testsuite_container_traits.h (traits<map>,
397         traits<multimap>, traits<set>, traits<multiset>,
398         traits<unordered_map>, traits<unordered_multimap>,
399         traits<unordered_set>, traits<unordered_multiset>): Typedef
400         consistently has_erase and has_insert as true_type.
401
402         * testsuite/util/testsuite_container_traits.h
403         (traits<unordered_map>, traits<unordered_multimap>,
404         traits<unordered_set>, traits<unordered_multiset>): Do not wrongly
405         typedef has_size_type_constructor as true_type: the constructor
406         accepting a size_type actually gets the initial number of
407         buckets.
408
409 2010-03-03  Benjamin Kosnik  <bkoz@redhat.com>
410
411         * doc/Makefile.am: Re-organize xml sources.
412         (doc-latex-doxygen): New.
413         (doc-pdf-doxygen): New.
414         (stamp-xml-doxygen, stamp-latex-doxygen): New.
415         * doc/Makefile.in: Regenerate.
416         * doc/doxygen/user.cfg.in: Add support here.
417         * doc/xml/manual/appendix_contributing.xml: Add specifics.
418
419         * doc/xml/manual/concurrency.xml: New.
420         * doc/xml/manual/atomics.xml: New.
421         * doc/xml/manual/spine.xml: Adjust.
422         * doc/xml/manual/diagnostics.xml: Adjust.
423
424 2010-03-03  Paolo Carlini  <paolo.carlini@oracle.com>
425             Jonathan Wakely  <jwakely.gcc@gmail.com>
426
427         * include/bits/unique_ptr.h (unique_ptr<>::get_deleter): Simplify
428         return type.
429         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust
430         dg-error line number.
431         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
432
433 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
434
435         * include/debug/bitset (hash): Minor tweaks.
436         * include/debug/vector (hash): Likewise.
437         * include/profile/bitset (hash): Likewise.
438         * include/profile/vector (hash): Likewise.
439
440 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
441
442         * include/bits/functional_hash.h (_Fnv_hash_base<>::hash): Change
443         to template.
444         * include/tr1/functional_hash.h (_Fnv_hash_base<>::hash): Likewise.
445         * include/bits/vector.tcc (hash): Adjust.
446         * include/bits/basic_string.h (hash): Likewise.
447         * include/std/bitset (hash): Likewise.
448         * src/hash-string-aux.cc (hash): Likewise.
449
450 2010-03-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
451
452         * include/std/mutex (lock_guard::lock_guard): Do not lock mutex when
453         adopt_lock_t constructor is used.
454         * testsuite/30_threads/lock_guard/cons/1.cc: New.
455
456 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
457
458         * include/bits/stl_bvector.h (hash<vector<bool, _Alloc>>::
459         operator()(const vector<bool, _Alloc>&)): Move definition...
460         * include/bits/vector.tcc: ... here.
461
462 2010-03-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
463
464         * testsuite/Makefile.am (check-DEJAGNU): Include de* in normal0
465         dirs.
466         * testsuite/Makefile.in: Regenerate.
467
468 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
469
470         * include/bits/stl_bvector.h (hash<vector<bool, _Alloc>>): Add.
471         * include/debug/vector (hash<__debug::vector<bool, _Alloc>>):
472         Likewise.
473         * include/profile/vector (hash<__profile::vector<bool, _Alloc>>):
474         Likewise.
475         * testsuite/23_containers/vector/bool/hash/1.cc: New.
476
477         * include/std/bitset (hash<bitset<_Nb>>): Small tweaks.
478         (hash<bitset<0>>): Add.
479         * include/debug/bitset (hash<__debug::bitset<_Nb>>): Forward to
480         hash<bitset<_Nb>>.
481         * include/profile/bitset (hash<__profile::bitset<_Nb>>): Likewise.
482         * testsuite/23_containers/bitset/hash/1.cc: Improve.
483
484 2010-03-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
485
486         PR libstdc++/43230
487         * testsuite/30_threads/promise/members/set_value3.cc
488         (tester::~tester): Remove.
489
490 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
491
492         * include/std/bitset (_Base_bitset<>::_M_getdata()): Add.
493         (hash<bitset<_Nb>>): Add, use the latter.
494         * include/debug/bitset (hash<__debug::bitset<_Nb>>): Add.
495         * include/profile/bitset (hash<__profile::bitset<_Nb>>): Likewise.
496         * testsuite/23_containers/bitset/hash/1.cc: New.
497
498 2010-03-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
499
500         PR libstdc++/43183
501         * include/bits/unique_ptr.h (reset): Fix as per working paper.
502         (operator*, operator->, operator[], operator bool, release): Use
503         pointer's null value instead of 0.
504         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
505         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
506         * testsuite/20_util/unique_ptr/modifiers/43183.cc: New.
507
508 2010-03-01  Paolo Carlini  <paolo.carlini@oracle.com>
509
510         * include/std/iomanip (get_money, put_money): Add in C++0x mode; tidy.
511         * testsuite/27_io/manipulators/extended/get_money/char/1.cc: New.
512         * testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc:
513         Likewise.
514         * testsuite/27_io/manipulators/extended/put_money/char/1.cc: Likewise.
515         * testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc:
516         Likewise.
517
518 2010-03-01  Benjamin Kosnik  <bkoz@redhat.com>
519
520         * include/bits/atomicfwd_cxx.h: Add typedefs to group.
521
522 2010-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
523
524         PR libstdc++/32499
525         * testsuite/Makefile.am (check-DEJAGNU
526         $(check_DEJAGNU_normal_targets)): Export AR, RANLIB.
527         * testsuite/Makefile.in: Regenerate.
528
529 2010-02-28  Gerald Pfeifer  <gerald@pfeifer.com>
530
531         * doc/html/ext/pb_ds/references.html: Adjust link to SGI's STL
532         site.
533
534 2010-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
535
536        * src/hash-long-double-aux.cc (hash<long double>::
537        operator()(long double)): Hash both -0 and +0 to 0.
538
539 2010-02-25  Ed Smith-Rowland  <3dw4rd@verizon.net>
540
541         * include/bits/random.tcc (operator<<): Use max_digits10.
542
543 2010-02-25  Ed Smith-Rowland  <3dw4rd@verizon.net>
544
545         * include/std/limits (__numeric_limits_base::max_digits10,
546         numeric_limits<>::max_digits10, numeric_limits<>::lowest): Add.
547         * src/limits.cc: Define max_digits10.
548         * config/abi/pre/gnu.ver: Adjust.
549         * testsuite/18_support/numeric_limits/dr559.cc: Test max_digits10
550         and lowest too.
551         * testsuite/18_support/numeric_limits/lowest.cc: New.
552         * testsuite/18_support/numeric_limits/max_digits10.cc: New.
553
554 2010-02-25  Paolo Carlini  <paolo.carlini@oracle.com>
555
556         * include/bits/functional_hash.h (__hash_combine): Remove.
557         (_Fnv_hash_base<>::hash(const char*, size_t)): Add defaulted
558         hash parameter.
559         (_Fnv_hash::__hash_combine(const _Tp&, size_t)): Add.
560         * include/std/system_error (hash<system_error>): Adjust.
561         * src/compatibility-c++0x.cc (hash<system_error>): Likewise.
562
563 2010-02-24  Benjamin Kosnik  <bkoz@redhat.com>
564
565         * doc/xml/faq.xml: Adjust structure for pdf index.
566         * doc/xml/manual/mt_allocator.xml: Same.
567         * doc/xml/manual/allocator.xml: Same.
568         * doc/xml/manual/ctype.xml: Same.
569         * doc/xml/manual/numerics.xml: Same.
570         * doc/xml/manual/codecvt.xml: Same.
571         * doc/xml/manual/intro.xml: Same.
572         * doc/xml/manual/shared_ptr.xml: Same.
573         * doc/xml/manual/status_cxxtr1.xml: Same.
574         * doc/xml/manual/auto_ptr.xml: Same.
575         * doc/xml/manual/internals.xml: Same.
576         * doc/xml/manual/status_cxx1998.xml: Same.
577         * doc/xml/manual/parallel_mode.xml: Same.
578         * doc/xml/manual/profile_mode.xml: Same.
579         * doc/xml/manual/containers.xml: Same.
580         * doc/xml/manual/io.xml: Same.
581         * doc/xml/manual/concurrency_extensions.xml: Same.
582         * doc/xml/manual/appendix_porting.xml: Same.
583         * doc/xml/manual/utilities.xml: Same.
584         * doc/xml/manual/support.xml: Same.
585         * doc/xml/manual/bitmap_allocator.xml: Same.
586         * doc/xml/manual/configure.xml: Same.
587         * doc/xml/manual/build_hacking.xml: Same.
588         * doc/xml/manual/evolution.xml: Same.
589         * doc/xml/manual/using.xml: Same.
590         * doc/xml/manual/debug.xml: Same.
591         * doc/xml/manual/localization.xml: Same.
592         * doc/xml/manual/strings.xml: Same.
593         * doc/xml/manual/debug_mode.xml: Same.
594         * doc/xml/manual/locale.xml: Same.
595         * doc/xml/manual/extensions.xml: Same.
596         * doc/xml/manual/appendix_contributing.xml: Same.
597         * doc/xml/manual/prerequisites.xml: Same.
598         * doc/xml/manual/messages.xml: Same.
599         * doc/xml/manual/diagnostics.xml: Same.
600         * doc/xml/manual/algorithms.xml: Same.
601         * doc/xml/manual/appendix_free.xml: Same.
602         * doc/xml/manual/iterators.xml: Same.
603         * doc/xml/manual/spine.xml: Same.
604         * doc/xml/manual/status_cxxtr24733.xml: Same.
605         * doc/xml/manual/status_cxx200x.xml: Same.
606         * doc/Makefile.am: Refactor.
607         * doc/Makefile.in: Regenerate.
608
609         * include/bits/c++0x_warning.h: Tweak doxygen file markup.
610
611 2010-02-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
612
613         * testsuite/ext/new_allocator/deallocate_global.cc: Require
614         __cxa_atexit.
615         * testsuite/ext/throw_allocator/deallocate_global.cc: Likewise.
616
617 2010-02-23  Benjamin Kosnik  <bkoz@redhat.com>
618
619         * doc/xml/manual/concurrency.xml: Move...
620         * doc/xml/manual/concurrency_extensions.xml: ...here.
621         * doc/xml/manual/extensions.xml: Adjust.
622         * doc/Makefile.am: Adjust.
623         * doc/Makefile.in: Regenerate.
624
625 2010-02-23  Benjamin Kosnik  <bkoz@redhat.com>
626
627         * include/bits/random.h: Doxygen group markup fixes.
628
629 2010-02-23  Paolo Carlini  <paolo.carlini@oracle.com>
630
631         * include/bits/functional_hash.h (struct _Fnv_hash): Rename
632         to _Fnv_hash_base.
633         (struct _Fnv_hash): Add, derives from the latter.
634         (__hash_combine): Add.
635         (hash<float>::operator()(float), hash<double>::operator()(double)):
636         Adjust.
637         * include/bits/basic_string.h (hash<string>, hash<wstring>,
638         hash<u16string>, hash<u32string>): Adjust.
639         * src/hash-string-aux.cc: Adjust.
640         * src/compatibility-c++0x.cc (hash<error_code>): Use __hash_combine.
641         * include/std/system_error (hash<error_code>): Likewise.
642         * include/std/thread (struct hash<thread::id>): Add.
643         * include/tr1/functional_hash.h : Rename to _Fnv_hash_base.
644         (struct _Fnv_hash): Add, derives from the latter.
645         (hash<float>::operator()(float), hash<double>::operator()(double)):
646         Adjust.
647         * testsuite/30_threads/thread/id/hash.cc: New.
648         * testsuite/30_threads/thread/cons/assign_neg.cc: Adjust dg-error
649         line number.
650         * testsuite/30_threads/thread/cons/copy_neg.cc: Likewise.
651
652 2010-02-22  Janis Johnson  <janis187@us.ibm.com>
653
654         * src/compatibility-ldbl.cc: Include new hash-long-double-aux.cc.
655
656 2010-02-22  Paolo Carlini  <paolo.carlini@oracle.com>
657
658         * src/hash-aux.cc: Rename to...
659         * src/hash-string-aux.cc: ... this.
660         * src/hash-long-double-aux.cc: New.
661         * src/hash_c++0x.cc: Adjust.
662         * src/hash_tr1.cc: Likewise.
663         * src/compatibility-c++0x.cc: Likewise.
664
665 2010-02-22  Benjamin Kosnik  <bkoz@redhat.com>
666
667         * doc/xml/class.txml: Adjust biblio markup.
668         * doc/xml/manual/allocator.xml: Same.
669         * doc/xml/manual/ctype.xml: Same.
670         * doc/xml/manual/codecvt.xml: Same.
671         * doc/xml/manual/backwards_compatibility.xml: Same.
672         * doc/xml/manual/abi.xml: Same.
673         * doc/xml/manual/shared_ptr.xml: Same.
674         * doc/xml/manual/profile_mode.xml: Same.
675         * doc/xml/manual/using_exceptions.xml: Same.
676         * doc/xml/manual/locale.xml: Same.
677         * doc/xml/manual/appendix_contributing.xml: Same.
678         * doc/xml/manual/messages.xml: Same.
679         * doc/Makefile.am (DBLATEX_FLAGS): Adjust.
680         * doc/Makefile.in: Regenerate.
681
682 2010-02-22  François Dumont  <francois.cppdevs@free.fr>
683
684        * doc/xml/manual/profile_mode.xml: Minor updates and fixes.
685        * doc/xml/manual/debug_mode.xml: Likewise.
686        * doc/xml/manual/test.xml: Likewise.
687
688 2010-02-22  Paolo Carlini  <paolo.carlini@oracle.com>
689
690         * include/tr1_impl/complex (arg): Use std::signbit only when
691         available.
692
693 2010-02-22  Paolo Carlini  <paolo.carlini@oracle.com>
694
695         * include/bits/functional_hash.h (hash<string>, hash<wstring>,
696         hash<u16string>, hash<u32string>, hash<error_code>): Move, per
697         DR 1182 to...
698         * include/bits/basic_string.h: ... here.
699         * include/std/system_error: ... and here, respectively.
700         * src/hash-aux.cc (hash<long double>::operator()(long double)):
701         Move definition...
702         * src/hash_c++0x.cc: ... here, new file.
703         * src/hash_tr1.cc: ... and here, tweak includes.
704         * src/compatibility-c++0x.cc (hash, _Fnv_hash): Remove.
705         * src/Makefile.am: Adjust.
706         * src/Makefile.in: Regenerate.
707         * include/std/functional: Include <bits/functexcept.h>.
708         * include/std/unordered_set: Remove redundant include.
709         * include/std/unordered_map: Likewise.
710         * include/tr1/functional_hash.h: Remove spurious trailing semicolon.
711         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Remove
712         dg-excess.
713
714 2010-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
715
716         * include/std/complex (proj): Change return type per DR 1137.
717         (conj): Copy from tr1_impl, likewise adjust return type.
718         * include/tr1_impl/complex (conj): Remove.
719         * include/tr1/complex (conj): Add both overloads.
720         * testsuite/26_numerics/complex/dr781.cc: Rename to...
721         * testsuite/26_numerics/complex/dr781_dr1137.cc: ... this, and extend.
722
723         * include/tr1_impl/complex (arg): Optimize.
724
725 2010-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
726
727         * testsuite/20_util/is_trivial/requirements/typedefs.cc: New.
728         * testsuite/20_util/is_trivial/requirements/
729         explicit_instantiation.cc: Likewise.
730         * testsuite/20_util/is_pod/value.cc: Likewise.
731         * testsuite/20_util/is_pod/requirements/typedefs.cc: Likewise.
732         * testsuite/20_util/is_pod/requirements/
733         explicit_instantiation.cc: Likewise.
734         * testsuite/20_util/is_standard_layout/requiremenents/
735         typedefs.cc: Likewise.
736         * testsuite/20_util/is_standard_layout/requiremenents/
737         explicit_instantiation.cc: Likewise.
738
739 2010-02-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
740
741         PR c++/35669
742         * testsuite/18_support/headers/cstddef/macros.cc: Add
743         -Wno-conversion-null.
744
745 2010-02-19  Paolo Carlini  <paolo.carlini@oracle.com>
746
747         * include/tr1_impl/array (array): Add pointer and const_pointer
748         typedefs in C++0x mode, per DR 1306.
749         * testsuite/util/testsuite_containers.h (basic_types): Add pointer
750         and const_pointer typedefs.
751         (pointer_aware_types): Remove.
752         * testsuite/util/testsuite_container_traits.h: Adjust.
753
754 2010-02-19  Paolo Carlini  <paolo.carlini@oracle.com>
755
756         * include/bits/stl_algo.h (for_each): Implement resolution of DR 1110.
757         * testsuite/25_algorithms/for_each/1.cc: New.
758
759 2010-02-19  Paolo Carlini  <paolo.carlini@oracle.com>
760
761         * include/bits/shared_ptr_base.h (__weak_ptr): Remove deleted
762         comparison operators, per DR 1256.
763         * include/bits/shared_ptr.h (weak_ptr): Likewise.
764         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
765
766 2010-02-18  Benjamin Kosnik  <bkoz@redhat.com>
767
768         * scripts/run_doxygen: Add shortnames option.
769         * doc/Makefile.am (doc-man-doxygen): Use it.
770         (doc-html-doxygen): Use it.
771         (doc-xml-doxygen): Use it, but default to NO.
772         (doc-pdf-dblatex): Add.
773         * doc/Makefile.in: Regenerate.
774         * doc/doxygen/user.cfg.in: Update filelist.
775         * include/bits/locale_facets.h: Fix markup warning.
776
777 2010-02-18  Benjamin Kosnik  <bkoz@redhat.com>
778
779         * doc/xml/manual/using.xml: Update.
780         * doc/xml/manual/status_cxx1998.xml: Same.
781         * doc/xml/manual/status_cxx200x.xml: Add link.
782         * doc/html/*: Regenerate.
783
784         * testsuite/17_intro/freestanding.cc: Add.
785
786 2010-02-18  Paolo Carlini  <paolo.carlini@oracle.com>
787
788         * libsupc++/typeinfo: Add system_header pragma.
789         * libsupc++/exception: Likewise.
790         * libsupc++/cxxabi-forced.h: Likewise.
791         * libsupc++/new: Likewise.
792         * libsupc++/cxxabi.h: Likewise.
793         * libsupc++/initializer_list: Likewise.
794
795 2010-02-18  Paolo Carlini  <paolo.carlini@oracle.com>
796
797         * libsupc++/nested_exception.h: Fix <bits/c++0x_warning.h> include.
798
799 2010-02-17  Benjamin Kosnik  <bkoz@redhat.com>
800
801         * doc/xml/manual/appendix_contributing.xml: Update markup rules
802         for quoting and functions.
803
804 2010-02-17  Chris Jefferson  <chris@bubblescope.net>
805
806         * include/bits/locale_facets.h (__convert_to_v): Add empty
807         exception-specification.
808
809 2010-02-17  Paolo Carlini  <paolo.carlini@oracle.com>
810
811         * include/std/limits: Implement resolution of DR 559 (CD1) in
812         C++0x mode.
813         * testsuite/18_support/numeric_limits/dr559.cc: New.
814
815 2010-02-16  Benjamin Kosnik  <bkoz@redhat.com>
816
817         * src/ios_locale.cc: Fixes for -pedantic.
818         * src/system_error.cc: Same.
819         * src/locale.cc: Same.
820         * src/list.cc: Same.
821         * src/locale_facets.cc: Same.
822         * src/locale_init.cc: Same.
823         * src/ios.cc: Same.
824         * config/locale/darwin/ctype_members.cc: Same.
825         * config/locale/gnu/collate_members.cc: Same.
826         * config/locale/gnu/ctype_members.cc: Same.
827         * config/locale/gnu/c_locale.cc: Same.
828         * config/locale/gnu/monetary_members.cc: Same.
829         * config/locale/gnu/time_members.cc: Same.
830         * config/locale/ieee_1003.1-2001/c_locale.cc: Same.
831         * config/locale/generic/collate_members.cc: Same.
832         * config/locale/generic/ctype_members.cc: Same.
833         * config/locale/generic/c_locale.cc: Same.
834         * config/locale/generic/monetary_members.cc: Same.
835         * config/locale/generic/time_members.cc: Same.
836         * config/io/basic_file_stdio.cc: Same.
837
838         * libsupc++/pbase_type_info.cc: Fixes for -fno-rtti.
839         * libsupc++/pointer_type_info.cc: Same.
840         * libsupc++/eh_personality.cc: Same.
841
842         * include/std/system_error: Throw spacing.
843         * include/bits/locale_classes.h: Same.
844         * include/bits/locale_facets.h: Same.
845         * include/bits/ios_base.h: Same.
846
847         * testsuite/17_intro/headers/c++200x/all_no_rtti.cc: New.
848         * testsuite/17_intro/headers/c++1998/all_no_rtti.cc: New.
849
850 2010-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
851
852         * include/bits/random.h (linear_congruential_engine(_Sseq&),
853         mersenne_twister_engine(_Sseq&), subtract_with_carry_engine(_Sseq&)):
854         Do not enable for the type itself.
855         (discard_block_engine(_Sseq&), independent_bits_engine(_Sseq&),
856         shuffle_order_engine(_Sseq&)): Do not enable for the type itself too.
857         (linear_congruential_engine<>::seed(_Sseq&),
858         mersenne_twister_engine<>::seed(_Sseq&),
859         subtract_with_carry_engine<>::seed(_Sseq&)): Use enable_if on the
860         return type.
861         (discard_block_engine<>::seed(_Sseq&),
862         independent_bits_engine<>::seed(_Sseq&),
863         shuffle_order_engine<>::seed(_Sseq&)): Do not use enable_if.
864         * include/bits/random.tcc: Adjust definitions.
865         * testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc:
866         New.
867         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
868         copy.cc: Likewise.
869         * testsuite/26_numerics/random/discard_block_engine/cons/
870         copy.cc: Likewise.
871         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
872         copy.cc: Likewise.
873         * testsuite/26_numerics/random/linear_congruential_engine/cons/
874         copy.cc: Likewise.
875         * testsuite/26_numerics/random/shuffle_order_engine/cons/
876         copy.cc: Likewise.
877
878         * testsuite/26_numerics/random/independent_bits_engine/cons/
879         base_move.cc: Minor tweaks.
880         * testsuite/26_numerics/random/independent_bits_engine/cons/seed1.cc:
881         Likewise.
882         * testsuite/26_numerics/random/independent_bits_engine/cons/seed2.cc:
883         Likewise.
884         * testsuite/26_numerics/random/independent_bits_engine/cons/
885         base_copy.cc: Likewise.
886         * testsuite/26_numerics/random/independent_bits_engine/cons/
887         default.cc: Likewise.
888         * testsuite/26_numerics/random/independent_bits_engine/cons/
889         seed_seq.cc: Likewise.
890         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
891         seed1.cc: Likewise.
892         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
893         seed2.cc: Likewise.
894         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
895         default.cc: Likewise.
896         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
897         seed_seq.cc: Likewise.
898         * testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc:
899         Likewise.
900         * testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc:
901         Likewise.
902         * testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc:
903         Likewise.
904         * testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc:
905         Likewise.
906         * testsuite/26_numerics/random/discard_block_engine/cons/default.cc:
907         Likewise.
908         * testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc:
909         Likewise.
910         * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed1.cc:
911         Likewise.
912         * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed2.cc:
913         Likewise.
914         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
915         default.cc: Likewise.
916         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
917         seed_seq.cc: Likewise.
918         * testsuite/26_numerics/random/linear_congruential_engine/cons/
919         seed1.cc: Likewise.
920         * testsuite/26_numerics/random/linear_congruential_engine/cons/
921         seed2.cc: Likewise.
922         * testsuite/26_numerics/random/linear_congruential_engine/cons/
923         seed_seq.cc: Likewise.
924         * testsuite/26_numerics/random/shuffle_order_engine/cons/base_move.cc:
925         Likewise.
926         * testsuite/26_numerics/random/shuffle_order_engine/cons/seed1.cc:
927         Likewise.
928         * testsuite/26_numerics/random/shuffle_order_engine/cons/seed2.cc:
929         Likewise.
930         * testsuite/26_numerics/random/shuffle_order_engine/cons/base_copy.cc:
931         Likewise.
932         * testsuite/26_numerics/random/shuffle_order_engine/cons/default.cc:
933         Likewise.
934         * testsuite/26_numerics/random/shuffle_order_engine/cons/seed_seq.cc:
935         Likewise.
936
937 2010-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
938
939         * include/bits/unique_ptr.h: (unique_ptr<>::
940         unique_ptr(const unique_ptr<_Up, _Up_Deleter>&),
941         operator=(const unique_ptr<_Up, _Up_Deleter>&)): Remove, redundant,
942         per DR 1303.
943         * include/bits/shared_ptr.h (shared_ptr<>::
944         shared_ptr(const unique_ptr<_Up, _Up_Deleter>&),
945         operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise.
946         * include/bits/shared_ptr_base.h (__shared_ptr<>::
947         __shared_ptr(const unique_ptr<_Up, _Up_Deleter>&),
948         operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise.
949         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
950         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
951         * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
952         * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc:
953         Likewise.
954
955 2010-02-15  Paolo Carlini  <paolo.carlini@oracle.com>
956
957         * testsuite/ext/median.cc: Adjust.
958
959 2010-02-15  Paolo Carlini  <paolo.carlini@oracle.com>
960
961         * include/bits/stl_algo.h (__median): Move...
962         * include/ext/algorithm: ... here, being an SGI extension.
963
964 2010-02-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
965             Paolo Carlini  <paolo.carlini@oracle.com>
966
967         PR libstdc++/42819, DR 1315
968         * include/std/future (async): Use std::result_of for the template
969         argument of the std::future return type; adjust everywhere.
970         * testsuite/30_threads/async/42819.cc: New.
971         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
972         dg-error line number.
973         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
974         * testsuite/30_threads/future/cons/assign_neg.cc: Likewise.
975         * testsuite/30_threads/future/cons/copy_neg.cc: Likewise.
976         * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
977         * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
978
979 2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
980
981         * config/abi/pre/gnu.ver: Revert last changes.
982
983 2010-02-11  Jason Merrill  <jason@redhat.com>
984
985         * include/std/thread (~_Impl_base): Declare inline.
986         * libsupc++/nested_exception.h (~nested_exception): Likewise.
987
988 2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
989
990         PR libstdc++/41975, DR 579
991         * include/bits/hashtable.h (_Hashtable<>::_M_erase_node): Remove.
992         (erase(const_iterator), erase(const_iterator, const_iterator)):
993         Change return type to void.
994         * include/debug/unordered_map: Adjust.
995         * include/debug/unordered_set: Likewise.
996         * testsuite/util/exception/safety.h: Likewise.
997         * testsuite/23_containers/unordered_map/erase/1.cc: Likewise.
998         * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
999         * testsuite/23_containers/unordered_set/erase/1.cc:  Likewise.
1000         * testsuite/23_containers/unordered_set/erase/24061-map.cc: Likewise.
1001         * testsuite/23_containers/unordered_multimap/erase/1.cc:  Likewise.
1002         * testsuite/23_containers/unordered_multimap/erase/24061-map.cc:
1003         Likewise.
1004         * testsuite/23_containers/unordered_multiset/erase/1.cc:  Likewise.
1005         * testsuite/23_containers/unordered_multiset/erase/24061-map.cc:
1006         Likewise.
1007
1008 2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
1009
1010         * config/abi/pre/gnu.ver: Avoid exporting inadvertently
1011         std::nested_exception symbols at GLIBCXX_3.4.
1012
1013 2010-02-10  Jason Merrill  <jason@redhat.com>
1014
1015         Core issue 906
1016         * include/std/thread (~_Impl_base): Move defaulted dtor out of line.
1017         * libsupc++/nested_exception.h (~nested_exception): Likewise.
1018         * testsuite/18_support/nested_exception/throw_with_nested.cc: Likewise.
1019         * testsuite/18_support/nested_exception/rethrow_if_nested.cc: Likewise.
1020
1021 2010-02-10  Paolo Carlini  <paolo.carlini@oracle.com>
1022
1023         * include/tr1/hashtable.h: Fold in include/tr1_impl/hashtable.h
1024         contents.
1025         * include/tr1_impl/hashtable.h: Remove.
1026         * include/tr1_impl/hashtable_policy.h: Move and rename...
1027         * include/tr1/hashtable_policy.h: ... here.
1028         * include/tr1_impl/unordered_map: Move and rename...
1029         * include/tr1/unordered_map.h: ... here.
1030         * include/tr1_impl/unordered_set: Move and rename...
1031         * include/tr1/unordered_set.h: ... here.
1032         * include/tr1_impl/unordered_map: Move and rename...
1033         * include/tr1/unordered_map.h: ... here.
1034         * include/tr1/unordered_map: Adjust.
1035         * include/tr1/unordered_set: Likewise.
1036         * include/Makefile.am: Adjust.
1037         * include/Makefile.in: Regenerate.
1038
1039         * include/std/c++0x_warning.h: Move...
1040         * include/bits/c++0x_warning.h: ... here.
1041         * include/debug/unordered_map: Adjust.
1042         * include/debug/unordered_set: Likewise.
1043         * include/std/tuple: Likewise.
1044         * include/std/system_error: Likewise.
1045         * include/std/forward_list: Likewise.
1046         * include/std/thread: Likewise.
1047         * include/std/type_traits: Likewise.
1048         * include/std/future: Likewise.
1049         * include/std/regex: Likewise.
1050         * include/std/atomic: Likewise.
1051         * include/std/ratio: Likewise.
1052         * include/std/random: Likewise.
1053         * include/std/unordered_map: Likewise.
1054         * include/std/chrono: Likewise.: Likewise.
1055         * include/std/condition_variable: Likewise.
1056         * include/std/mutex: Likewise.
1057         * include/std/unordered_set: Likewise.
1058         * include/std/array: Likewise.
1059         * include/profile/unordered_map: Likewise.
1060         * include/profile/unordered_set: Likewise.
1061         * include/c_global/cinttypes: Likewise.
1062         * include/c_global/ctgmath: Likewise.
1063         * include/c_global/cfenv: Likewise.
1064         * include/c_global/cstdint: Likewise.
1065         * include/c_global/cstdbool: Likewise.
1066         * include/c_global/ccomplex: Likewise.
1067
1068         * include/bits/shared_ptr.h: Do not include <bits/c++0x_warning.h>
1069         at all, the file is not meant to be included by the users.
1070         * include/bits/functional_hash.h: Likewise.
1071         * include/bits/unique_ptr.h: Likewise.
1072         * include/bits/forward_list.h: Likewise.
1073
1074         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-*
1075         line numbers.
1076         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
1077         * testsuite/23_containers/forward_list/requirements/dr438/
1078         assign_neg.cc: Likewise.
1079         * testsuite/23_containers/forward_list/requirements/dr438/
1080         insert_neg.cc: Likewise.
1081         * testsuite/23_containers/forward_list/requirements/dr438/
1082         constructor_1_neg.cc: Likewise.
1083         * testsuite/23_containers/forward_list/requirements/dr438/
1084         constructor_2_neg.cc: Likewise.
1085         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Likewise.
1086         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
1087
1088 2010-02-10  Paolo Carlini  <paolo.carlini@oracle.com>
1089
1090         * include/bits/hashtable.h: Fold in include/tr1_impl/hashtable.h
1091         for C++0x use.
1092         * include/bits/hashtable_policy.h: New, copy and adjust for
1093         C++0x use, include/tr1_impl/hashtable_policy.h; fix erase and
1094         insert member functions per n3000.
1095         * include/bits/unordered_map.h: Likewise for include/tr1_impl/
1096         unordered_map.
1097         * include/bits/unordered_set.h: Likewise for include/tr1_impl/
1098         unordered_set.
1099         * include/Makefile.am: Adjust.
1100         * include/Makefile.in: Regenerate.
1101         * include/tr1/unordered_map: Adjust.
1102         * include/tr1/unordered_set: Likewise.
1103         * include/tr1_impl/unordered_map: Adjust, now used only by tr1.
1104         * include/tr1_impl/hashtable: Likewise.
1105         * include/tr1_impl/hashtable_policy.h: Likewise.
1106         * include/tr1_impl/unordered_set: Likewise.
1107         * include/std/unordered_map: Adjust and simplify includes.
1108         * include/std/unordered_set: Likewise.
1109         * include/debug/unordered_map: Adjuse erase and insert members.
1110         * include/debug/unordered_set: Likewise.
1111         * include/profile/unordered_map: Likewise.
1112         * include/profile/unordered_set: Likewise.
1113         * testsuite/util/exception/safety.h: Fix for the updated erase and
1114         insert member functions of the unordered_containers.
1115         * testsuite/23_containers/unordered_map/erase/1.cc: New.
1116         * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
1117         * testsuite/23_containers/unordered_map/insert/map_single.cc:
1118         Likewise.
1119         * testsuite/23_containers/unordered_map/insert/array_syntax.cc:
1120         Likewise.
1121         * testsuite/23_containers/unordered_map/insert/24061-map.cc: Likewise.
1122         * testsuite/23_containers/unordered_map/insert/map_range.cc: Likewise.
1123         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
1124         * testsuite/23_containers/unordered_multimap/erase/1.cc: Likewise.
1125         * testsuite/23_containers/unordered_multimap/erase/
1126         24061-multimap.cc: Likewise.
1127         * testsuite/23_containers/unordered_multimap/insert/
1128         24061-multimap.cc: Likewise.
1129         * testsuite/23_containers/unordered_multimap/insert/
1130         multimap_range.cc: Likewise.
1131         * testsuite/23_containers/unordered_multimap/insert/
1132         multimap_single.cc: Likewise.
1133         * testsuite/23_containers/unordered_set/erase/1.cc: Likewise.
1134         * testsuite/23_containers/unordered_set/erase/24061-set.cc: Likewise.
1135         * testsuite/23_containers/unordered_set/insert/set_single.cc: Likewise.
1136         * testsuite/23_containers/unordered_set/insert/24061-set.cc: Likewise.
1137         * testsuite/23_containers/unordered_set/insert/set_range.cc: Likewise.
1138         * testsuite/23_containers/unordered_multiset/erase/1.cc: Likewise.
1139         * testsuite/23_containers/unordered_multiset/erase/
1140         24061-multiset.cc: Likewise.
1141         * testsuite/23_containers/unordered_multiset/insert/
1142         24061-multiset.cc: Likewise.
1143         * testsuite/23_containers/unordered_multiset/insert/
1144         multiset_range.cc: Likewise.
1145         * testsuite/23_containers/unordered_multiset/insert/
1146         multiset_single.cc: Likewise.
1147
1148         * testsuite/23_containers/set/operators/1_neg.cc: Tweak dg-errors
1149         to avoid spurious fails in debug-mode.
1150         * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
1151
1152 2010-02-09  Benjamin Kosnik  <bkoz@redhat.com>
1153
1154         * include/std/streambuf: Adjust doxygen group markup.
1155         * include/std/functional: Same.
1156         * include/ext/vstring.h: Same.
1157         * include/ext/pb_ds/assoc_container.hpp: Same.
1158         * include/ext/stdio_filebuf.h: Same.
1159         * include/ext/stdio_sync_filebuf.h: Same.
1160         * include/bits/localefwd.h: Same.
1161         * include/bits/functional_hash.h: Same.
1162         * include/bits/locale_classes.h: Same.
1163         * include/bits/locale_facets.h: Same.
1164         * include/bits/ios_base.h: Same.
1165         * include/bits/codecvt.h: Same.
1166         * include/bits/locale_facets_nonio.h: Same.
1167
1168         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
1169         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1170
1171 2010-02-08  Benjamin Kosnik  <bkoz@redhat.com>
1172
1173         PR libstdc++/42460
1174         * include/tr1_impl/regex: Fix quoting issues in doxygen markup.
1175         * include/bits/random.h: Fix multi-line doxygen function markup.
1176
1177 2010-02-08  Matthias Klose  <doko@debian.org>
1178
1179         PR libstdc++/42460
1180         * include/std/istream: Fix '\' quoting in doxygen markup.
1181
1182 2010-02-08  Ed Smith-Rowland  <3dw4rd@verizon.net>
1183
1184         * include/bits/random.tcc (uniform_int_distribution<>::
1185         operator()(_UniformRandomNumberGenerator&, const param_type&)):
1186         Use make_unsigned instead of __add_unsigned and conditional
1187         instead of __conditional_type.
1188         * include/std/random: Do not include <ext/type_traits.h> and
1189         <ext/numeric_traits.h>.
1190
1191 2010-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
1192
1193         PR libstdc++/16896
1194         * include/bits/stl_list.h (_List_node_base::transfer): Rename
1195         to _M_transfer.
1196         (_List_node_base::reverse): Rename to _M_reverse.
1197         (_List_node_base::hook): Rename to _M_hook.
1198         (_List_node_base::unhook): Rename to _M_unhook; adjust callers.
1199         * include/bits/list.tcc: Adjust callers.
1200         * src/list.cc: Adjust.
1201         * src/compatibility.cc: Likewise.
1202         * src/compatibility-list.cc: New.
1203         * src/compatibility-debug_list.cc: Likewise.
1204         * src/compatibility-parallel_list.cc: Likewise.
1205         * src/Makefile.am: Add.
1206         * src/Makefile.in: Regenerate.
1207         * config/abi/pre/gnu.ver: Export _M_* symbols.
1208
1209         * src/hash.cc: Rename to hash-aux.cc.
1210         * src/compatibility-ldbl.cc: Adjust.
1211         * src/compatibility-c++0x.cc: Likewise.
1212         * src/hash_tr1.cc: Likewise.
1213
1214         * src/hashtable.cc: Rename to hashtable-aux.cc.
1215         * src/hashtable_c++0x.cc: Adjust.
1216         * src/hashtable_tr1.cc: Likewise.
1217
1218         * src/limits_c++0x.cc: Fold...
1219         * src/limits.cc... here.
1220
1221 2010-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
1222
1223         * include/bits/stl_pair.h (pair<>::pair(_U1&&, const _T2&),
1224         pair<>::pair(const _T1&, _U2&&), pair<>::pair(_U1&&, _U2&&)):
1225         Revert to std::is_convertible, basing on DR 811.
1226
1227 2010-02-06  Paolo Carlini  <paolo.carlini@oracle.com>
1228
1229         PR libstdc++/42989
1230         * config/abi/pre/gnu.ver: Fix wstring move assignment operator typo.
1231
1232 2010-02-06  Paolo Carlini  <paolo.carlini@oracle.com>
1233
1234         PR libstdc++/27340
1235         * include/bits/valarray_before.h: Uglify the structs wrapping
1236         cmath functions differently, eg, _Cos instead of __cos.
1237         * include/bits/valarray_after.h: Adjust.
1238
1239 2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>
1240
1241         * include/std/future (swap(packaged_task<>&, packaged_task<>&)): Fix
1242         typo in last commit.
1243
1244 2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>
1245
1246         * include/std/future (swap(packaged_task<>&, packaged_task<>&),
1247         swap(promise<>&, promise<>&)): Add; minor formatting fixes.
1248         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
1249         dg-error line number.
1250         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
1251         * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
1252         * testsuite/30_threads/promise/cons/copy_neg.cc: Likewise.
1253
1254 2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>
1255
1256         * include/bits/stl_algobase.h (struct __iter_base): Rename to
1257         _Iter_base; add iterator_type typedef.
1258         (struct __miter_base): Rename to _Miter_base.
1259         (struct __niter_base): Rename to _Niter_base.
1260         (__miter_base, __niter_base): Add, use the latter; adjust everywhere.
1261
1262 2010-02-04  Benjamin Kosnik  <bkoz@redhat.com>
1263
1264         PR libstdc++/42460
1265         * doc/doxygen/user.cfg.in: Update file list.
1266         * include/debug/safe_sequence.h: Doxygen markup fixes for '' and "".
1267         * include/debug/safe_base.h: Same.
1268         * include/debug/macros.h: Same.
1269         * include/tr1_impl/regex: Same.
1270         * include/std/iostream: Same.
1271         * include/std/streambuf: Same.
1272         * include/std/bitset: Same.
1273         * include/std/iosfwd: Same.
1274         * include/std/limits: Same.
1275         * include/std/fstream: Same.
1276         * include/std/istream: Same.
1277         * include/std/ostream: Same.
1278         * include/std/sstream: Same.
1279         * include/parallel/multiway_merge.h: Same.
1280         * include/parallel/for_each.h: Same.
1281         * include/parallel/workstealing.h: Same.
1282         * include/parallel/omp_loop_static.h: Same.
1283         * include/parallel/omp_loop.h: Same.
1284         * include/c_std/csignal: Same.
1285         * include/c_std/cstdlib: Same.
1286         * include/c_std/cstdio: Same.
1287         * include/c_std/cstdarg: Same.
1288         * include/c_std/cctype: Same.
1289         * include/c_std/cerrno: Same.
1290         * include/c_std/cmath: Same.
1291         * include/c_std/ciso646: Same.
1292         * include/c_std/ctime: Same.
1293         * include/c_std/clocale: Same.
1294         * include/c_std/climits: Same.
1295         * include/c_std/cassert: Same.
1296         * include/c_std/csetjmp: Same.
1297         * include/c_std/cwchar: Same.
1298         * include/c_std/cfloat: Same.
1299         * include/c_std/cstring: Same.
1300         * include/c_std/cstddef: Same.
1301         * include/c_std/cwctype: Same.
1302         * include/profile/iterator_tracker.h: Same.
1303         * include/profile/impl/profiler_trace.h: Same.
1304         * include/ext/vstring.h: Same.
1305         * include/ext/algorithm: Same.
1306         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.h.pp: Same.
1307         * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.h.pp: Same.
1308         * include/ext/pb_ds/detail/type_utils.hpp: Same.
1309         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same
1310         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
1311         * include/ext/rc_string_base.h: Same.
1312         * include/ext/stdio_sync_filebuf.h: Same.
1313         * include/ext/functional: Same.
1314         * include/ext/mt_allocator.h: Same.
1315         * include/bits/basic_ios.h: Same.
1316         * include/bits/stl_map.h: Same.
1317         * include/bits/stl_algobase.h: Same.
1318         * include/bits/stl_queue.h: Same.
1319         * include/bits/locale_classes.h: Same.
1320         * include/bits/stl_set.h: Same.
1321         * include/bits/locale_facets.h: Same.
1322         * include/bits/stl_stack.h: Same.
1323         * include/bits/stl_iterator_base_types.h: Same.
1324         * include/bits/basic_string.h: Same.
1325         * include/bits/stl_multimap.h: Same.
1326         * include/bits/ios_base.h: Same.
1327         * include/bits/stl_deque.h: Same.
1328         * include/bits/stl_multiset.h: Same.
1329         * include/bits/stl_iterator_base_funcs.h: Same.
1330         * include/bits/char_traits.h: Same.
1331         * include/bits/stl_algo.h: Same.
1332         * include/bits/stl_iterator.h: Same.
1333         * include/bits/stl_tempbuf.h: Same.
1334         * include/bits/random.tcc: Same.
1335         * include/bits/stl_function.h: Same.
1336         * include/bits/cpp_type_traits.h: Same.
1337         * include/bits/random.h: Same.
1338         * include/bits/allocator.h: Same.
1339         * include/bits/locale_facets_nonio.h: Same.
1340         * include/c_global/csignal: Same.
1341         * include/c_global/cstdlib: Same.
1342         * include/c_global/cstdio: Same.
1343         * include/c_global/cstdarg: Same.
1344         * include/c_global/cctype: Same.
1345         * include/c_global/cerrno: Same.
1346         * include/c_global/cmath: Same.
1347         * include/c_global/ciso646: Same.
1348         * include/c_global/ctime: Same.
1349         * include/c_global/clocale: Same.
1350         * include/c_global/climits: Same.
1351         * include/c_global/cassert: Same.
1352         * include/c_global/csetjmp: Same.
1353         * include/c_global/cwchar: Same.
1354         * include/c_global/cfloat: Same.
1355         * include/c_global/cstring: Same.
1356         * include/c_global/cstddef: Same.
1357         * include/c_global/cwctype: Same.
1358         * include/tr1/hypergeometric.tcc: Same.
1359         * include/tr1/random.tcc: Same.
1360         * include/tr1/functional: Same.
1361         * include/tr1/random.h: Same.
1362         * include/backward/auto_ptr.h: Same.
1363         * include/backward/binders.h: Same.
1364         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1365         Adjust line numbers.
1366         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
1367         * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
1368         Same.
1369         * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
1370         Same.
1371
1372 2010-02-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
1373
1374         * include/std/condition_variable (condition_variable_any): Provide
1375         definitions for all members.
1376         * src/condition_variable.cc (condition_variable_any): Adjust
1377         definitions.
1378         * config/abi/pre/gnu.ver: Adjust exports for condition_variable_any.
1379         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
1380         Adjust dg-error line number.
1381         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1382         Likewise.
1383         * testsuite/30_threads/condition_variable_any/members/1.cc: New.
1384         * testsuite/30_threads/condition_variable_any/members/2.cc: New.
1385         * testsuite/30_threads/condition_variable_any/requirements/
1386         standard_layout.cc: Remove.
1387         * testsuite/30_threads/condition_variable_any/native_handle/
1388         typesizes.cc: Remove.
1389
1390 2010-02-02  Paolo Carlini  <paolo.carlini@oracle.com>
1391
1392         * include/ext/vstring.h (__versa_string::shrink_to_fit): Fix
1393         for -fno-exceptions.
1394
1395 2010-02-02  Benjamin Kosnik  <bkoz@redhat.com>
1396
1397         * include/bits/allocator.h: Fix for -fno-exceptions.
1398         * include/bits/basic_string.h (basic_string::shrink_to_fit): Same.
1399
1400 2010-02-02  Paolo Carlini  <paolo.carlini@oracle.com>
1401
1402         * testsuite/30_threads/unique_future: Rename to /future.
1403
1404 2010-02-01  Paolo Carlini  <paolo.carlini@oracle.com>
1405
1406         PR libstdc++/42408
1407         * include/bits/random.h (linear_congruential_engine<>::
1408         linear_congruential_engine(seed_seq&),
1409         linear_congruential_engine<>::seed(seed_seq&),
1410         mersenne_twister<>::mersenne_twister(seed_seq&),
1411         mersenne_twister<>::seed(seed_seq&),
1412         subtract_with_carry_engine<>::subtract_with_carry_engine(seed_seq&),
1413         subtract_with_carry_engine<>::seed(seed_seq&),
1414         discard_block_engine<>::discard_block_engine(seed_seq&),
1415         discard_block_engine<>::seed(seed_seq&),
1416         independent_bits_engine<>::independent_bits_engine(seed_seq&),
1417         independent_bits_engine<>::seed(seed_seq&),
1418         shuffle_order_engine<>::shuffle_order_engine(seed_seq&),
1419         shuffle_order_engine<>::seed(seed_seq&)): Templatize.
1420         * include/bits/random.tcc: Adjust.
1421         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
1422         seed_seq.cc: New.
1423         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
1424         seed_seq.cc: Likewise.
1425         * testsuite/26_numerics/random/linear_congruential_engine/
1426         cons/seed_seq.cc: Likewise.
1427
1428 2010-02-01  Paolo Carlini  <paolo.carlini@oracle.com>
1429
1430         * include/bits/forward_list.h (forward_list<>::resize(size_type),
1431         forward_list(size_type)): Only declare.
1432         * include/bits/forward_list.tcc (forward_list<>::resize(size_type),
1433         forward_list(size_type)): Define, don't assume CopyConstructible.
1434         * testsuite/23_containers/forward_list/cons/10.cc: New.
1435         * testsuite/23_containers/forward_list/modifiers/6.cc: Likewis.
1436         * testsuite/23_containers/forward_list/requirements/dr438/
1437         assign_neg.cc: Adjust dg-error line numbers.
1438         * testsuite/23_containers/forward_list/requirements/dr438/
1439         insert_neg.cc: Likewise.
1440         * testsuite/23_containers/forward_list/requirements/dr438/
1441         constructor_1_neg.cc: Likewise.
1442         * testsuite/23_containers/forward_list/requirements/dr438/
1443         constructor_2_neg.cc: Likewise.
1444
1445         * include/bits/forward_list.h: Use _M_get_Node_allocator throughout.
1446
1447 2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
1448
1449         * testsuite/23_containers/array/requirements/exception/
1450         generation_prohibited.c: Remove, swap can indeed throw (DR 774).
1451
1452         * testsuite/util/exception/safety.h (insert_base<__versa_string>): Fix.
1453         * testsuite/util/testsuite_container_traits.h
1454         (traits<__versa_string>): Enable insert tests.
1455
1456 2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
1457
1458         * include/bits/forward_list.h (forward_list<>::insert_after
1459         (const_iterator, size_type, const _Tp&), insert_after(const_iterator,
1460         _InputIterator, _InputIterator), insert_after(const_iterator,
1461         std::initializer_list<>)): Fix return type per N3000.
1462         * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
1463         Adjust.
1464         * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
1465         * testsuite/23_containers/forward_list/requirements/dr438/
1466         assign_neg.cc: Adjust dg-error line numbers.
1467         * testsuite/23_containers/forward_list/requirements/dr438/
1468         insert_neg.cc: Likewise.
1469         * testsuite/23_containers/forward_list/requirements/dr438/
1470         constructor_1_neg.cc: Likewise.
1471         * testsuite/23_containers/forward_list/requirements/dr438/
1472         constructor_2_neg.cc: Likewise.
1473
1474 2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
1475
1476         Revert last changes. Also revert, among the previous changes:
1477         * include/std/condition_variable (condition_variable_any::
1478         wait<>(_Lock&)): Provide definition.
1479
1480 2010-01-29  Paolo Carlini  <paolo.carlini@oracle.com>
1481
1482         * include/std/condition_variable (condition_variable_any::
1483         __wait_until_impl): Add.
1484         (condition_variable_any::wait_until): Provide definitions.
1485         * testsuite/30_threads/condition_variable_any/members/2.cc: New.
1486         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
1487         Adjust dg-error line number.
1488         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1489         Likewise.
1490
1491         * testsuite/30_threads/condition_variable/members/1.cc: Minor
1492         stylistic changes.
1493         * testsuite/30_threads/condition_variable/members/1.cc: Likewise.
1494
1495 2010-01-29  Paolo Carlini  <paolo.carlini@oracle.com>
1496
1497         * include/std/condition_variable (enum class cv_status): Add and
1498         use it throughout, per N3000.
1499         (condition_variable_any::wait<>(_Lock&), wait<>(_Lock&, _Predicate),
1500         wait_until<>(_Lock&, const chrono::time_point<>&, _Predicate)):
1501         Provide definitions.
1502         * src/condition_variable.cc (condition_variable_any::notify_one,
1503         condition_variable_any::notify_all): Likewise.
1504         * config/abi/pre/gnu.ver: Export.
1505         * testsuite/30_threads/condition_variable_any/requirements/
1506         typedefs.cc: New.
1507         * testsuite/30_threads/condition_variable_any/requirements/
1508         standard_layout.cc: Likewise.
1509         * testsuite/30_threads/condition_variable/members/1.cc: Adjust.
1510         * testsuite/30_threads/condition_variable/members/2.cc: Likewise.
1511         * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Adjust
1512         dg-error line numbers.
1513         * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
1514         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
1515         Likewise.
1516         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
1517         Likewise.
1518
1519 2010-01-28  François Dumont  <francois.cppdevs@free.fr>
1520
1521         * include/bits/stl_algobase.h (struct __iter_base): Add.
1522         (__niter_base, __miter_base): Adjust, use the latter.
1523
1524 2010-01-28  Paolo Carlini  <paolo.carlini@oracle.com>
1525
1526         * testsuite/21_strings/basic_string/element_access/char/21674.cc:
1527         Extend xfail to all systems.
1528         * testsuite/21_strings/basic_string/element_access/wchar_T/21674.cc:
1529         Likewise.
1530         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
1531         Extend xfail to darwin10 systems.
1532
1533 2010-01-27  Benjamin Kosnik  <bkoz@redhat.com>
1534
1535         PR c++/42346
1536         * testsuite/23_containers/unordered_map/requirements/exception/: Remove
1537         -O1 workaround.
1538         * testsuite/23_containers/multimap/requirements/exception/: Same.
1539         * testsuite/23_containers/map/requirements/exception: Same.
1540
1541 2010-01-27  Richard Guenther  <rguenther@suse.de>
1542
1543         PR libstdc++/42832
1544         * include/std/functional (function<>::swap): Perform bytewise
1545         swap of _M_functor.
1546         * include/tr1/functional (function<>::swap): Likewise.
1547
1548 2010-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1549
1550         * config/abi/pre/gnu.ver: Avoid time_get pattern conflicts.
1551
1552 2010-01-26  François Dumont  <francois.cppdevs@free.fr>
1553
1554         * doc/xml/manual/allocator.xml: Minor updates and fixes.
1555         * doc/xml/manual/containers.xml: Likewise.
1556         * doc/xml/manual/using.xml: Likewise.
1557         * doc/xml/manual/locale.xml: Likewise.
1558         * doc/xml/manual/appendix_contributing.xml: Likewise.
1559
1560 2010-01-26  Daniel Frey  <d.frey@gmx.de>
1561
1562         * include/std/functional: Use enable_if instead of __enable_if
1563         throughout, do not include ext/type_traits.h.
1564         (is_placeholder, is_bind_expression): Use integral_constant.
1565
1566 2010-01-25  Paolo Carlini  <paolo.carlini@oracle.com>
1567
1568         * testsuite/util/testsuite_common_types.h (has_bitwise_operators):
1569         Avoid -Wall warnings.
1570
1571 2010-01-25  Paolo Carlini  <paolo.carlini@oracle.com>
1572
1573         * testsuite/22_locale/time_get/get_monthname/char/6.cc: Use an int
1574         as loop variable, to avoid -Wall warnings.
1575         * testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
1576         * testsuite/22_locale/time_get/get_weekday/char/6.cc: Likewise.
1577         * testsuite/22_locale/time_get/get_weekday/wchar_t/6.cc: Likewise.
1578         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
1579
1580         * testsuite/20_util/reference_wrapper/24803.cc: Remove unused vars.
1581         * testsuite/20_util/reference_wrapper/invoke.cc: Likewise.
1582
1583 2010-01-22  Daniel Frey  <d.frey@gmx.de>
1584
1585         * include/std/functional (_Index_tuple, _Build_index_tuple):
1586         Simplify and speed-up.
1587
1588 2010-01-22  Joern Rennecke  <amylaar@spamcop.net>
1589
1590         PR libstdc++/36101, PR libstdc++/42813
1591         * acinclude.m4 (enable_parallel): Test ${TARGET_CONFIGDIRS} instead of
1592         looking for omp.h.
1593         * configure: Regenerate.
1594
1595 2010-01-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
1596
1597         PR libstdc++/42201
1598         * include/std/future: Update to latest WP.
1599         * src/functexcept.cc (__throw_future_error): Use make_error_code.
1600         * testsuite/30_threads/async/any.cc: New.
1601         * testsuite/30_threads/async/async.cc: New.
1602         * testsuite/30_threads/async/sync.cc: New.
1603         * testsuite/30_threads/packaged_task/cons/alloc.cc: New.
1604         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust.
1605         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Adjust.
1606         * testsuite/30_threads/packaged_task/members/get_future.cc: Adjust.
1607         * testsuite/30_threads/packaged_task/members/get_future2.cc: Likewise.
1608         * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
1609         * testsuite/30_threads/packaged_task/members/invoke2.cc: Adjust.
1610         * testsuite/30_threads/packaged_task/members/invoke3.cc: Adjust.
1611         * testsuite/30_threads/packaged_task/members/invoke4.cc: Adjust.
1612         * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
1613         * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
1614         * testsuite/30_threads/shared_future/cons/assign_neg.cc: Remove.
1615         * testsuite/30_threads/shared_future/cons/default_neg.cc: Remove.
1616         * testsuite/30_threads/shared_future/cons/default.cc: New.
1617         * testsuite/30_threads/shared_future/cons/assign.cc: New.
1618         * testsuite/30_threads/shared_future/cons/copy.cc: Adjust.
1619         * testsuite/30_threads/shared_future/cons/move.cc: Adjust.
1620         * testsuite/30_threads/shared_future/cons/move_assign.cc: New.
1621         * testsuite/30_threads/shared_future/members/is_ready.cc: Remove.
1622         * testsuite/30_threads/shared_future/members/has_value.cc: Remove.
1623         * testsuite/30_threads/shared_future/members/has_exception.cc: Remove.
1624         * testsuite/30_threads/shared_future/members/valid.cc: New.
1625         * testsuite/30_threads/unique_future/cons/default_neg.cc: Remove.
1626         * testsuite/30_threads/unique_future/cons/default.cc: New.
1627         * testsuite/30_threads/unique_future/cons/move_assign.cc: New.
1628         * testsuite/30_threads/unique_future/cons/assign_neg.cc: Adjust.
1629         * testsuite/30_threads/unique_future/cons/copy_neg.cc: Adjust.
1630         * testsuite/30_threads/unique_future/cons/move.cc: Adjust.
1631         * testsuite/30_threads/unique_future/requirements/
1632         explicit_instantiation.cc: Adjust.
1633         * testsuite/30_threads/unique_future/members/is_ready.cc: Remove.
1634         * testsuite/30_threads/unique_future/members/has_value.cc: Remove.
1635         * testsuite/30_threads/unique_future/members/has_exception.cc: Remove.
1636         * testsuite/30_threads/unique_future/members/valid.cc: New.
1637         * testsuite/30_threads/unique_future/members/get.cc: Adjust.
1638         * testsuite/30_threads/unique_future/members/get2.cc: Adjust.
1639         * testsuite/30_threads/unique_future/members/wait.cc: Adjust.
1640         * testsuite/30_threads/unique_future/members/wait_for.cc: Adjust.
1641         * testsuite/30_threads/unique_future/members/wait_until.cc: Adjust.
1642         * testsuite/30_threads/headers/future/types_std_c++0x.cc: Adjust.
1643         * testsuite/30_threads/promise/cons/alloc.cc: New.
1644         * testsuite/30_threads/promise/cons/assign_neg.cc: Adjust.
1645         * testsuite/30_threads/promise/cons/copy_neg.cc: Adjust.
1646         * testsuite/30_threads/promise/cons/move.cc: Adjust.
1647         * testsuite/30_threads/promise/cons/move_assign.cc: Adjust.
1648         * testsuite/30_threads/promise/members/get_future.cc: Adjust.
1649         * testsuite/30_threads/promise/members/set_value.cc: Adjust.
1650         * testsuite/30_threads/promise/members/set_exception.cc: Adjust.
1651         * testsuite/30_threads/promise/members/set_exception2.cc: Adjust.
1652         * testsuite/30_threads/promise/members/set_value2.cc: Adjust.
1653         * testsuite/30_threads/promise/members/set_value3.cc: Adjust.
1654         * testsuite/30_threads/promise/members/swap.cc: Adjust.
1655
1656 2010-01-20  Janis Johnson  <janis187@us.ibm.com>
1657             Paolo Carlini  <paolo.carlini@oracle.com>
1658
1659         PR libstdc++/21769
1660         * testsuite/lib/dg-options.exp (add_options_for_no_pch): Add.
1661         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
1662         Use it.
1663
1664 2010-01-19  Johannes Singler  <singler@kit.edu>
1665
1666         PR libstdc++/42712
1667         * include/parallel/settings.h (_Settings): Add search_minimal_n.
1668         * include/parallel/algo.h (__search_switch):
1669         Add serial fallback for too small inputs.
1670         (__search_n_switch): Likewise.  Call serial fallback on higher level
1671         to gain special treatment for __count 0 or 1.
1672         * testsuite/25_algorithms/search_n/iterator.cc:
1673         Reenable full test depth for parallel mode.
1674
1675 2010-01-18  Daniel Frey  <d.frey@gmx.de>
1676
1677         * include/std/functional (_Bind<_Functor(_Bound_args...)>::
1678         operator()): "Pass" _Result to __call*.
1679         (_Bind<_Functor(_Bound_args...)>::__call*): Adjust, simplify.
1680
1681 2010-01-18  Johannes Singler  <singler@kit.edu>
1682
1683         * include/parallel/base.h (__unary_negate): Correct comment.
1684
1685 2010-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
1686
1687         * include/std/functional (_Bind<_Functor(_Bound_args...)>::__call):
1688         Rename const version to __call_c and remove _Sfinae template
1689         parameter.
1690         (_Bind<_Functor(_Bound_args...)>::operator()): Adjust.
1691
1692         * include/std/functional: Pass everywhere temporary tuple<_Args...>
1693         arguments by rvalue reference.
1694
1695         * testsuite/20_util/bind/cv_quals.cc: New.
1696
1697         * testsuite/20_util/bind/ref2.cc: Add missing test variables.
1698
1699 2010-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1700
1701         PR libstdc++/35942
1702         * configure.ac: Remove -lstdc++ from libtool's postdeps_CXX.
1703         * configure: Regenerate.
1704
1705 2010-01-15  Phil Muldoon  <pmuldoon@redhat.com>
1706
1707         * python/libstdcxx/v6/printers.py (StdStringPrinter.__init__):
1708         Remove encoding argument.
1709         (StdStringPrinter.to_string): Do not compute or pass encoding.
1710         Use lazy_string over string function.
1711
1712 2010-01-14  Paolo Carlini  <paolo.carlini@oracle.com>
1713
1714         * include/c_std/cstring (memchr): Forward to the builtin.
1715         * include/c_std/cstring: Remove redundant casts; use names consistent
1716         with the letter of the Standard.
1717         * include/c_global/cstring: Likewise.
1718
1719 2010-01-13  Benjamin Kosnik  <bkoz@redhat.com>
1720
1721         * include/profile/iterator_tracker.h: Add copyright.
1722
1723 2010-01-13  Paolo Carlini  <paolo.carlini@oracle.com>
1724
1725         * testsuite/Makefile.am (check-debug): Add.
1726         * testsuite/Makefile.in: Regenerate.
1727         * config.h.in: Likewise.
1728
1729 2010-01-12  Paolo Carlini  <paolo.carlini@oracle.com>
1730
1731         * testsuite/17_intro/using_namespace_std_tr1_neg.cc: Do not run
1732         in parallel-mode.
1733         * testsuite/25_algorithms/inplace_merge/moveable.cc: Likewiwse.
1734         * testsuite/25_algorithms/rotate/moveable.cc: Likewiwse.
1735         * testsuite/25_algorithms/stable_partition/moveable.cc: Likewiwse.
1736         * testsuite/25_algorithms/remove/moveable.c: Likewiwse.
1737         * testsuite/25_algorithms/random_shuffle/moveable.cc: Likewiwse.
1738         * testsuite/25_algorithms/nth_element/moveable.cc: Likewiwse.
1739         * testsuite/25_algorithms/partial_sort/moveable.cc: Likewiwse.
1740         * testsuite/25_algorithms/next_permutation/moveable.cc: Likewiwse.
1741         * testsuite/25_algorithms/partition/moveable.cc: Likewiwse.
1742         * testsuite/25_algorithms/stable_sort/moveable.cc: Likewiwse.
1743         * testsuite/25_algorithms/stable_sort/moveable2.cc: Likewiwse.
1744         * testsuite/25_algorithms/sort/moveable.cc: Likewiwse.
1745         * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewiwse.
1746         * testsuite/25_algorithms/unique/moveable.cc: Likewiwse.
1747         * testsuite/25_algorithms/remove_if/moveable.cc: Likewiwse.
1748         * testsuite/25_algorithms/heap/moveable.cc: Likewiwse.
1749
1750         * testsuite/25_algorithms/search_n/iterator.cc: Reduce iteration #
1751         in parallel-mode.
1752
1753 2010-01-12  Hans-Peter Nilsson  <hp@axis.com>
1754
1755         * testsuite/ext/profile/all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS
1756         for non-tls_native targets.
1757
1758 2010-01-12  Benjamin Kosnik  <bkoz@redhat.com>
1759
1760         * scripts/run_doxygen: Correct nested scope on the man pages.
1761         * doc/xml/faq.xml: Edits, linkcheck, doxygen link reassociate.
1762         * doc/xml/manual/mt_allocator.xml: Same.
1763         * doc/xml/manual/allocator.xml: Same.
1764         * doc/xml/manual/codecvt.xml: Same.
1765         * doc/xml/manual/backwards_compatibility.xml: Same.
1766         * doc/xml/manual/concurrency.xml: Same.
1767         * doc/xml/manual/parallel_mode.xml: Same.
1768         * doc/xml/manual/io.xml: Same.
1769         * doc/xml/manual/support.xml: Same.
1770         * doc/xml/manual/evolution.xml: Same.
1771         * doc/xml/manual/using.xml: Same.
1772         * doc/xml/manual/extensions.xml: Same.
1773         * doc/xml/manual/appendix_contributing.xml: Same.
1774         * doc/xml/manual/prerequisites.xml: Same.
1775         * doc/xml/manual/diagnostics.xml: Same.
1776         * doc/xml/manual/spine.xml: Same.
1777         * doc/xml/manual/status_cxx200x.xml: Same.
1778         * doc/xml/manual/test.xml: Same.
1779         * doc/xml/spine.xml: Same.
1780         * doc/html/*: Regenerate.
1781
1782         * include/profile/impl/profiler.h: Remove duplicate markup.
1783
1784 2010-01-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
1785
1786         PR libstdc++/24803
1787         PR libstdc++/35569
1788         PR libstdc++/42593
1789         * include/std/functional (bind): Forward rvalues and detect correct
1790         result type of bound function object.
1791         * include/std/mutex (call_once): Specify bind result type.
1792         * testsuite/20_util/reference_wrapper/invoke.cc: Remove invalid tests.
1793         * testsuite/20_util/reference_wrapper/24803.cc: Remove invalid tests
1794         and enable FIXME tests.
1795         * testsuite/20_util/bind/35569.cc: New.
1796         * testsuite/20_util/bind/ref2.cc: New.
1797         * testsuite/20_util/bind/38889.cc: New.
1798         * testsuite/20_util/bind/ref_neg.cc: New.
1799         * testsuite/20_util/bind/42593.cc: New.
1800
1801 2010-01-11  Paolo Carlini  <paolo.carlini@oracle.com>
1802
1803         * include/parallel/base.h (decode2): Rename to __decode2.
1804         (binder2nd): Likewise to __binder2nd.
1805         * include/parallel/quicksort.h: Adjust callers.
1806         * include/parallel/balanced_quicksort.h: Likewise.
1807         * include/parallel/partition.h: Likewise.
1808         * include/parallel/queue.h: Likewise.
1809
1810         * include/parallel/algo.h: Qualify with std:: binder2nd use.
1811
1812 2010-01-10  Paolo Carlini  <paolo.carlini@oracle.com>
1813
1814         * include/debug/string (basic_string<>::basic_string(basic_string&&),
1815         operator=(basic_string&&), assign(basic_string&&)): Add.
1816
1817         * include/debug/string: Fully qualify initializer_list with std; fix
1818         _Allocator misspellings as _Alloc.
1819
1820 2010-01-10  Paolo Carlini  <paolo.carlini@oracle.com>
1821
1822         * include/bits/basic_string.h (basic_string<>::
1823         basic_string(basic_string&&), operator=(basic_string&&),
1824         assign(basic_string&&)): Add.
1825         * config/abi/pre/gnu.ver: Export new symbols.
1826         * include/ext/vstring.h (__versa_string<>::assign(__versa_string&&)):
1827         Add.
1828         (operator=(__versa_string&&)): Don't call clear unnecessarily.
1829         * include/ext/rc_string_base.h (__rc_string_base<>::
1830         __rc_string_base(__rc_string_base&&)): Simplify a tad.
1831         * testsuite/21_strings/basic_string/cons/char/moveable.cc: New.
1832         * testsuite/21_strings/basic_string/cons/wchar_t/moveable.cc: Likewise.
1833         * testsuite/ext/vstring/assign/move_assign.cc: Likewise.
1834         * testsuite/21_strings/basic_string/assign/char/move_assign.cc:
1835         Likewise.
1836         * testsuite/21_strings/basic_string/assign/wchar_t/move_assign.cc:
1837         Likewise.
1838
1839         * testsuite/ext/vstring/cons/moveable.cc: Fix comment nit.
1840
1841 2010-01-10  Silvius Rus  <rus@google.com>
1842
1843         * configure.ac: Add detection of execinfo.h.
1844         * configure: Regenerate.
1845         * config.h.in: Likewise.
1846         * doc/xml/manual/profile_mode.xml: Add list_to_slist manual.
1847         Also, correct user interface mistakes.
1848         * include/Makefile.am: Add references to new include files.
1849         * include/Makefile.in: Regenerate.
1850         * include/backward/hash_map: Remove profile include.
1851         * include/backward/hash_set: Likewise.
1852         * include/profile/hashtable.h: Delete file.
1853         * include/profile/iterator_tracker.h: New file.
1854         * include/profile/vector: Add instrumentation for tracked iterator.
1855         * include/profile/list: Same.
1856         * include/profile/impl/profiler_list_to_slist.h: New file.
1857         * include/profile/impl/profiler_list_to_vector.h: Same.
1858         * include/profile/impl/profiler.h: Add list_to_slist and
1859         list_to_vector instrumentation hook interfaces.  Fixed broken
1860         diagnostic disabling mechanism.
1861         (_GLIBCXX_PROFILE_DEFINE_DATA,_GLIBCXX_PROFILE_DATA) New macros.
1862         (__reentrance_guard) Fix bug.
1863         * include/profile/impl/profiler_trace.h: Replace dummy templates
1864         with _GLIBCXX_PROFILE_DEFINE_DATA.
1865         * include/profile/impl/profiler_container_size.h: Same.
1866         * include/profile/impl/profiler_vector_size.h: Same.
1867         * include/profile/impl/profiler_hash_func.h: Same.
1868         * include/profile/impl/profiler_vector_to_list.h: Same.
1869         * include/profile/impl/profiler_map_to_unordered_map.h: Same.
1870         * include/profile/impl/profiler_hashtable_size.h: Same.
1871         * include/profile/impl/profiler_node.h: Same.
1872         * include/profile/impl/profiler_state.h: Same.  Also, remove
1873         class __state. Also, use __sync_val_compare_and_swap to set state.
1874
1875 2010-01-09  H.J. Lu  <hongjiu.lu@intel.com>
1876
1877         PR other/42230
1878         * testsuite/abi/pr42230.cc: New.
1879
1880 2010-01-09  Paolo Carlini  <paolo.carlini@oracle.com>
1881
1882         * include/debug/set.h: Revert last change, per DR 1204 [Ready];
1883         mention the latter in comment.
1884         * include/debug/unordered_map: Likewise.
1885         * include/debug/multiset.h: Likewise.
1886         * include/debug/vector: Likewise.
1887         * include/debug/unordered_set: Likewise.
1888         * include/debug/deque: Likewise.
1889         * include/debug/map.h: Likewise.
1890         * include/debug/list: Likewise.
1891         * include/debug/multimap.h: Likewise.
1892         * include/tr1_impl/unordered_map: Likewise.
1893         * include/tr1_impl/unordered_set: Likewise.
1894         * include/profile/set.h: Likewise.
1895         * include/profile/unordered_map: Likewise.
1896         * include/profile/multiset.h: Likewise.
1897         * include/profile/unordered_set: Likewise.
1898         * include/profile/vector: Likewise.
1899         * include/profile/deque: Likewise.
1900         * include/profile/map.h: Likewise.
1901         * include/profile/list: Likewise.
1902         * include/profile/multimap.h: Likewise.
1903         * include/ext/vstring.h: Likewise.
1904         * include/bits/stl_list.h: Likewise.
1905         * include/bits/stl_map.h: Likewise.
1906         * include/bits/stl_set.h: Likewise.
1907         * include/bits/stl_multimap.h: Likewise.
1908         * include/bits/stl_vector.h: Likewise.
1909         * include/bits/stl_deque.h: Likewise.
1910         * include/bits/stl_multiset.h: Likewise.
1911
1912         * include/bits/forward_list.h: Remove pre-existing check.
1913         * include/ext/vstring.h: Likewise.
1914
1915         * testsuite/ext/vstring/cons/self_move_assign.cc: Remove.
1916         * testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
1917         Likewise.
1918         * testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
1919         * testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
1920         * testsuite/23_containers/unordered_multimap/cons/
1921         self_move_assign.cc: Likewise.
1922         * testsuite/23_containers/forward_list/cons/self_move_assign.cc:
1923         Likewise.
1924         * testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
1925         Likewise.
1926         * testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
1927         * testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
1928         * testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
1929         * testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
1930         * testsuite/23_containers/unordered_multiset/cons/
1931         self_move_assign.cc: Likewise.
1932         * testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.
1933
1934         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1935         Adjust dg-error line numbers.
1936         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1937         Likewise.
1938         * testsuite/23_containers/vector/requirements/dr438/
1939         constructor_1_neg.cc: Likewise.
1940         * testsuite/23_containers/vector/requirements/dr438/
1941         constructor_2_neg.cc: Likewise.
1942         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1943         Likewise.
1944         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1945         Likewise.
1946         * testsuite/23_containers/deque/requirements/dr438/
1947         constructor_1_neg.cc: Likewise.
1948         * testsuite/23_containers/forward_list/requirements/dr438/
1949         assign_neg.cc: Likewise.
1950         * testsuite/23_containers/forward_list/requirements/dr438/
1951         insert_neg.cc: Likewise.
1952         * testsuite/23_containers/forward_list/requirements/dr438/
1953         constructor_1_neg.cc: Likewise.
1954         * testsuite/23_containers/forward_list/requirements/dr438/
1955         constructor_2_neg.cc: Likewise.
1956         * testsuite/23_containers/deque/requirements/dr438/
1957         constructor_2_neg.cc: Likewise.
1958         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1959         Likewise.
1960         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1961         Likewise.
1962         * testsuite/23_containers/list/requirements/dr438/
1963         constructor_1_neg.cc: Likewise.
1964         * testsuite/23_containers/list/requirements/dr438/
1965         constructor_2_neg.cc: Likewise.
1966
1967 2010-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
1968
1969         * include/debug/set.h: Protect move assignment operator vs self
1970         assignment.
1971         * include/debug/unordered_map: Likewise.
1972         * include/debug/multiset.h: Likewise.
1973         * include/debug/vector: Likewise.
1974         * include/debug/unordered_set: Likewise.
1975         * include/debug/deque: Likewise.
1976         * include/debug/map.h: Likewise.
1977         * include/debug/list: Likewise.
1978         * include/debug/multimap.h: Likewise.
1979         * include/tr1_impl/unordered_map: Likewise.
1980         * include/tr1_impl/unordered_set: Likewise.
1981         * include/profile/set.h: Likewise.
1982         * include/profile/unordered_map: Likewise.
1983         * include/profile/multiset.h: Likewise.
1984         * include/profile/unordered_set: Likewise.
1985         * include/profile/vector: Likewise.
1986         * include/profile/deque: Likewise.
1987         * include/profile/map.h: Likewise.
1988         * include/profile/list: Likewise.
1989         * include/profile/multimap.h: Likewise.
1990         * include/ext/vstring.h: Likewise.
1991         * include/bits/stl_list.h: Likewise.
1992         * include/bits/stl_map.h: Likewise.
1993         * include/bits/stl_set.h: Likewise.
1994         * include/bits/stl_multimap.h: Likewise.
1995         * include/bits/stl_vector.h: Likewise.
1996         * include/bits/stl_deque.h: Likewise.
1997         * include/bits/stl_multiset.h: Likewise.
1998         * include/ext/vstring.h: Use clear().
1999         * testsuite/ext/vstring/cons/self_move_assign.cc: New.
2000         * testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
2001         Likewise.
2002         * testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
2003         * testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
2004         * testsuite/23_containers/unordered_multimap/cons/
2005         self_move_assign.cc: Likewise.
2006         * testsuite/23_containers/forward_list/cons/self_move_assign.cc:
2007         Likewise.
2008         * testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
2009         Likewise.
2010         * testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
2011         * testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
2012         * testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
2013         * testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
2014         * testsuite/23_containers/unordered_multiset/cons/
2015         self_move_assign.cc: Likewise.
2016         * testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.
2017
2018         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2019         Adjust dg-error line numbers.
2020         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2021         Likewise.
2022         * testsuite/23_containers/vector/requirements/dr438/
2023         constructor_1_neg.cc: Likewise.
2024         * testsuite/23_containers/vector/requirements/dr438/
2025         constructor_2_neg.cc: Likewise.
2026         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2027         Likewise.
2028         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2029         Likewise.
2030         * testsuite/23_containers/deque/requirements/dr438/
2031         constructor_1_neg.cc: Likewise.
2032         * testsuite/23_containers/deque/requirements/dr438/
2033         constructor_2_neg.cc: Likewise.
2034         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2035         Likewise.
2036         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2037         Likewise.
2038         * testsuite/23_containers/list/requirements/dr438/
2039         constructor_1_neg.cc: Likewise.
2040         * testsuite/23_containers/list/requirements/dr438/
2041         constructor_2_neg.cc: Likewise.
2042
2043         * testsuite/ext/vstring/moveable.cc: Move to...
2044         * testsuite/ext/vstring/cons/moveable.cc: ... here.
2045         * testsuite/23_containers/unordered_map/moveable.cc: Move to...
2046         * testsuite/23_containers/unordered_map/cons/moveable.cc ... here.
2047         * testsuite/23_containers/multimap/moveable.cc: Move to...
2048         * testsuite/23_containers/multimap/cons/moveable.cc: ... here.
2049         * testsuite/23_containers/set/moveable.cc: Move to...
2050         * testsuite/23_containers/set/cons/moveable.cc: ... here.
2051         * testsuite/23_containers/unordered_multimap/moveable.cc: Move to...
2052         * testsuite/23_containers/unordered_multimap/cons/moveable.cc:
2053         ... here.
2054         * testsuite/23_containers/forward_list/moveable.cc: Move to...
2055         * testsuite/23_containers/forward_list/cons/moveable.cc: ... here.
2056         * testsuite/23_containers/unordered_set/moveable.cc Move to...
2057         * testsuite/23_containers/unordered_set/moveable.cc: ... here.
2058         * testsuite/23_containers/vector/cons/moveable.cc Move to...
2059         * testsuite/23_containers/vector/cons/moveable2.cc: ... this.
2060         * testsuite/23_containers/deque/cons/moveable.cc Move to...
2061         * testsuite/23_containers/deque/cons/moveable2.cc: ... this.
2062         * testsuite/23_containers/multiset/moveable.cc Move to...
2063         * testsuite/23_containers/multiset/cons/moveable.cc: ... here.
2064         * testsuite/23_containers/list/moveable.h Move to...
2065         * testsuite/23_containers/list/cons/moveable.h: ... here.
2066         * testsuite/23_containers/list/moveable.cc Move to...
2067         * testsuite/23_containers/list/cons/moveable.cc: ... here.
2068         * testsuite/23_containers/unordered_multiset/moveable.cc Move to...
2069         * testsuite/23_containers/unordered_multiset/cons/moveable.cc:
2070         ... here.
2071         * testsuite/23_containers/map/moveable.cc Move to...
2072         * testsuite/23_containers/map/cons/moveable.cc: ... here.
2073         * testsuite/23_containers/vector/moveable.cc: Move to...
2074         * testsuite/23_containers/vector/cons/moveable.cc: ... here.
2075         * testsuite/23_containers/deque/moveable.cc: Move to...
2076         * testsuite/23_containers/deque/cons/moveable.cc: ... here.
2077
2078 2010-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
2079
2080         PR libstdc++/42573
2081         * include/bits/allocator.h (struct __shrink_to_fit): Add.
2082         * include/bits/stl_deque.h (deque<>::shrink_to_fit): Add.
2083         * include/bits/stl_vector.h (vector<>::shrink_to_fit): Likewise.
2084         * include/bits/stl_bvector.h (vector<bool>::shrink_to_fit): Likewise.
2085         * include/bits/basic_string.h (basic_string<>::shrink_to_fit):
2086         Likewise.
2087         * include/ext/vstring.h (__versa_string<>::shrink_to_fit): Likewise.
2088         * include/debug/deque: Add corresponding using declaration.
2089         * include/debug/vector: Likewise.
2090         * include/debug/string: Likewise.
2091         * include/profile/deque: Likewise.
2092         * include/profile/vector: Likewise.
2093         * config/abi/pre/gnu.ver: Export new symbols.
2094         * testsuite/23_containers/deque/capacity/shrink_to_fit.cc: New.
2095         * testsuite/23_containers/vector/capacity/shrink_to_fit.cc: Likewise.
2096         * testsuite/21_strings/basic_string/capacity/char/shrink_to_fit.cc:
2097         Likewise.
2098         * testsuite/21_strings/basic_string/capacity/wchar_t/shrink_to_fit.cc:
2099         Likewise.
2100         * testsuite/ext/vstring/capacity/shrink_to_fit.cc: Likewise.
2101         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2102         Adjust dg-error line number.
2103         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2104         Likewise.
2105         * testsuite/23_containers/deque/requirements/dr438/
2106         constructor_1_neg.cc: Likewise.
2107         * testsuite/23_containers/deque/requirements/dr438/
2108         constructor_2_neg.cc: Likewise.
2109         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2110         Adjust dg-error line number.
2111         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2112         Likewise.
2113         * testsuite/23_containers/vector/requirements/dr438/
2114         constructor_1_neg.cc: Likewise.
2115         * testsuite/23_containers/vector/requirements/dr438/
2116         constructor_2_neg.cc: Likewise.
2117
2118 2010-01-07  Benjamin Kosnik  <bkoz@redhat.com>
2119
2120         * doc/xml/manual/evolution.xml: Fix typos, update.
2121
2122 2010-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
2123
2124         * include/bits/locale_facets_nonio.tcc (time_put<>::do_put): Avoid
2125         pointless __builtin_alloca use.
2126
2127 2010-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
2128
2129         PR libstdc++/26701
2130         * include/bits/locale_facets_nonio.tcc (time_get<>::_M_extract_num):
2131         Encode short two digits over four parsings to negative numbers.
2132         (time_get<>::_M_extract_via_format): Adjust, accept both two digits
2133         and four digits for both 'y' and 'Y'.
2134         (time_get<>::do_get_year): Call time_get<>::_M_extract_num.
2135         * doc/xml/manual/prerequisites.xml: Add en_GB.
2136         * testsuite/lib/libstdc++.exp: Adjust
2137         * testsuite/22_locale/time_get/get_date/char/26701.cc: New.
2138         * testsuite/22_locale/time_get/get_date/wchar_t/26701.cc: Likewise.
2139
2140 2010-01-06  Benjamin Kosnik  <bkoz@redhat.com>
2141
2142         PR libstdc++/42491
2143         * scripts/check_performance (CXX): Add -std=gnu++0x.
2144         * testsuite/performance/30_threads/future/polling.cc: Mark up as
2145         using threads.
2146
2147 2010-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
2148
2149         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc:
2150         Add dg-require-namedlocale.
2151
2152 2010-01-05  Benjamin Kosnik  <bkoz@redhat.com>
2153
2154         * doc/xml/manual/evolution.xml: Update for 4.4 and 4.5 releases.
2155         * doc/html: Regenerate.
2156
2157 2010-01-05  Paolo Carlini  <paolo.carlini@oracle.com>
2158
2159         PR libstdc++/38081
2160         * include/bits/locale_facets_nonio.h (time_get<>::
2161         _M_extract_wday_or_month): New, declare.
2162         * include/bits/locale_facets_nonio.tcc (time_get<>::
2163         _M_extract_wday_or_month): Define.
2164         (time_get<>::do_get_weekday, time_get<>::do_get_monthname): Use it.
2165         * config/abi/pre/gnu.ver: Export new symbols.
2166         * doc/xml/manual/prerequisites.xml: Add ru_RU.UTF-8 and
2167         ru_RU.ISO-8859-5.
2168         * testsuite/lib/libstdc++.exp: Adjust.
2169         * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: New.
2170         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
2171
2172 2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2173
2174         * configure: Regenerate.
2175
2176 2010-01-05  Paolo Carlini  <paolo.carlini@oracle.com>
2177
2178         * testsuite/22_locale/time_get/get_monthname/char/6.cc: New.
2179         * testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
2180         * testsuite/22_locale/time_get/get_weekday/char/6.cc: Likewise.
2181         * testsuite/22_locale/time_get/get_weekday/wchar_t/6.cc: Likewise.
2182
2183 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
2184
2185         * include/profile/list: Implement DR 1133 here too.
2186
2187         * testsuite/25_algorithms/set_intersection/34730.cc: Do not force
2188         debug-mode, leads to spurious failures in profile-mode.
2189         * testsuite/25_algorithms/upper_bound/33613.cc: Likewise.
2190         * testsuite/25_algorithms/lower_bound/33613.cc: Likewise.
2191         * testsuite/25_algorithms/set_difference/35541.cc: Likewise.
2192         * testsuite/21_strings/basic_string/40160.cc: Likewise.
2193         * testsuite/26_numerics/random/uniform_real_distribution/
2194         cons/parms_neg.cc: Likewise.
2195         * testsuite/26_numerics/random/uniform_int_distribution/
2196         cons/parms_neg.cc: Likewise.
2197         * testsuite/23_containers/unordered_map/requirements/debug_mode.cc:
2198         Likewise.
2199         * testsuite/23_containers/multimap/14340.cc: Likewise.
2200         * testsuite/23_containers/bitset/18604.cc: Likewise.
2201         * testsuite/23_containers/set/14340.cc: Likewise.
2202         * testsuite/23_containers/set/18604.cc: Likewise.
2203         * testsuite/23_containers/unordered_set/requirements/
2204         debug_mode.cc: Likewise.
2205         * testsuite/23_containers/vector/
2206         debug_mode_requires_reallocation-1.cc: Likewise.
2207         * testsuite/23_containers/vector/
2208         debug_mode_requires_reallocation-2.cc: Likewise.
2209         * testsuite/23_containers/vector/14340.cc: Likewise.
2210         * testsuite/23_containers/vector/15523.cc: Likewise.
2211         * testsuite/23_containers/vector/18604.cc: Likewise.
2212         * testsuite/23_containers/deque/14340.cc: Likewise.
2213         * testsuite/23_containers/deque/18604.cc: Likewise.
2214         * testsuite/23_containers/multiset/14340.cc: Likewise.
2215         * testsuite/23_containers/list/operations/35969.cc: Likewise.
2216         * testsuite/23_containers/list/14340.cc: Likewise.
2217         * testsuite/23_containers/list/18604.cc: Likewise.
2218         * testsuite/23_containers/map/14340.cc: Likewise.
2219         * testsuite/23_containers/map/18604.cc: Likewise.
2220         * testsuite/tr1/5_numerical_facilities/random/uniform_int/
2221         cons/range_neg.cc: Likewise.
2222
2223         * testsuite/23_containers/unordered_map/requirements/
2224         explicit_instantiation/2.cc: Do not instantiate for
2225         non-defaultconstructible mapped_type.
2226
2227 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
2228
2229         * include/debug/set.h: Implement DR 130 here too.
2230         * include/debug/multiset.h: Likewise.
2231         * include/debug/map.h: Likewise.
2232         * include/debug/multimap.h: Likewise.
2233         * include/profile/set.h: Implement DR 130 fully.
2234         * include/profile/multiset.h: Likewise.
2235         * include/profile/map.h: Likewise.
2236         * include/profile/multimap.h: Likewise.
2237         * include/debug/list: Implement DR 1133 here too.
2238         * include/ext/pb_ds/detail/debug_map_base.hpp: Comment out for
2239         now uses of __gnu_cxx::throw_allocator.
2240         * testsuite/21_strings/basic_string/40160.cc: Don't pass
2241         explicitly -D_GLIBCXX_DEBUG, doesn't play well with profile-mode
2242         testing.
2243
2244 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
2245
2246         * include/profile/bitset (bitset<>::bitset(unsigned long long)): Add
2247         in C++0x mode.
2248         * include/debug/bitset (bitset<>::bitset(unsigned long long)):
2249         Likewise.
2250
2251 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
2252
2253         * include/tr1_impl/hashtable (_Hashtable<>): Remove insert_return_type
2254         typedef.
2255         * include/profile/unordered_map (unordered_map<>::insert(const
2256         value_type&), unordered_multimap<>::insert(const value_type&)): Adjust.
2257         * include/profile/unordered_set (unordered_set<>::insert(const
2258         value_type&), unordered_multimap<>::insert(const value_type&)):
2259         Likewise.
2260
2261 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
2262
2263         * include/bits/stl_pair.h (pair<>::pair(_U1&&, const _T2&),
2264         pair<>::pair(const _T1&, _U2&&), pair<>::pair(_U1&&, _U2&&)):
2265         Use std::is_constructible instead of std::is_convertible.
2266
2267 2010-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
2268
2269         Revert last change, reinstantiate basic_string and vstring tests.
2270
2271 2010-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
2272
2273         * testsuite/21_strings/basic_string/requirements/exception/
2274         propagation_consistent.cc: Remove, cannot instantiate basic_string
2275         for non-PODs (21/1).
2276         * testsuite/21_strings/basic_string/requirements/exception/
2277         basic.cc: Likewise.
2278         * testsuite/21_strings/basic_string/requirements/exception/
2279         generation_prohibited.cc: Likewise.
2280         * testsuite/ext/vstring/requirements/exception/
2281         propagation_consistent.cc: Likewise.
2282         * testsuite/ext/vstring/requirements/exception/basic.cc:
2283         Likewise.
2284         * testsuite/ext/vstring/requirements/exception/
2285         generation_prohibited.cc: Likewise.