OSDN Git Service

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