OSDN Git Service

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