OSDN Git Service

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