OSDN Git Service

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