OSDN Git Service

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