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