OSDN Git Service

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