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