OSDN Git Service

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