OSDN Git Service

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