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