OSDN Git Service

7bed51831251f6356db343f8d5b443009c47a746
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2010-02-17  Chris Jefferson  <chris@bubblescope.net>
2
3         * include/bits/locale_facets.h (__convert_to_v): Add empty
4         exception-specification.
5
6 2010-02-17  Paolo Carlini  <paolo.carlini@oracle.com>
7
8         * include/std/limits: Implement resolution of DR 559 (CD1) in
9         C++0x mode.
10         * testsuite/18_support/numeric_limits/dr559.cc: New.
11
12 2010-02-16  Benjamin Kosnik  <bkoz@redhat.com>
13
14         * src/ios_locale.cc: Fixes for -pedantic.
15         * src/system_error.cc: Same.
16         * src/locale.cc: Same.
17         * src/list.cc: Same.
18         * src/locale_facets.cc: Same.
19         * src/locale_init.cc: Same.
20         * src/ios.cc: Same.
21         * config/locale/darwin/ctype_members.cc: Same.
22         * config/locale/gnu/collate_members.cc: Same.
23         * config/locale/gnu/ctype_members.cc: Same.
24         * config/locale/gnu/c_locale.cc: Same.
25         * config/locale/gnu/monetary_members.cc: Same.
26         * config/locale/gnu/time_members.cc: Same.
27         * config/locale/ieee_1003.1-2001/c_locale.cc: Same.
28         * config/locale/generic/collate_members.cc: Same.
29         * config/locale/generic/ctype_members.cc: Same.
30         * config/locale/generic/c_locale.cc: Same.
31         * config/locale/generic/monetary_members.cc: Same.
32         * config/locale/generic/time_members.cc: Same.
33         * config/io/basic_file_stdio.cc: Same.
34
35         * libsupc++/pbase_type_info.cc: Fixes for -fno-rtti.
36         * libsupc++/pointer_type_info.cc: Same.
37         * libsupc++/eh_personality.cc: Same.
38
39         * include/std/system_error: Throw spacing.
40         * include/bits/locale_classes.h: Same.
41         * include/bits/locale_facets.h: Same.
42         * include/bits/ios_base.h: Same.
43
44         * testsuite/17_intro/headers/c++200x/all_no_rtti.cc: New.
45         * testsuite/17_intro/headers/c++1998/all_no_rtti.cc: New.
46
47 2010-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
48
49         * include/bits/random.h (linear_congruential_engine(_Sseq&),
50         mersenne_twister_engine(_Sseq&), subtract_with_carry_engine(_Sseq&)):
51         Do not enable for the type itself.
52         (discard_block_engine(_Sseq&), independent_bits_engine(_Sseq&),
53         shuffle_order_engine(_Sseq&)): Do not enable for the type itself too.
54         (linear_congruential_engine<>::seed(_Sseq&),
55         mersenne_twister_engine<>::seed(_Sseq&),
56         subtract_with_carry_engine<>::seed(_Sseq&)): Use enable_if on the
57         return type.
58         (discard_block_engine<>::seed(_Sseq&),
59         independent_bits_engine<>::seed(_Sseq&),
60         shuffle_order_engine<>::seed(_Sseq&)): Do not use enable_if.
61         * include/bits/random.tcc: Adjust definitions.
62         * testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc:
63         New.
64         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
65         copy.cc: Likewise.
66         * testsuite/26_numerics/random/discard_block_engine/cons/
67         copy.cc: Likewise.
68         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
69         copy.cc: Likewise.
70         * testsuite/26_numerics/random/linear_congruential_engine/cons/
71         copy.cc: Likewise.
72         * testsuite/26_numerics/random/shuffle_order_engine/cons/
73         copy.cc: Likewise.
74
75         * testsuite/26_numerics/random/independent_bits_engine/cons/
76         base_move.cc: Minor tweaks.
77         * testsuite/26_numerics/random/independent_bits_engine/cons/seed1.cc:
78         Likewise.
79         * testsuite/26_numerics/random/independent_bits_engine/cons/seed2.cc:
80         Likewise.
81         * testsuite/26_numerics/random/independent_bits_engine/cons/
82         base_copy.cc: Likewise.
83         * testsuite/26_numerics/random/independent_bits_engine/cons/
84         default.cc: Likewise.
85         * testsuite/26_numerics/random/independent_bits_engine/cons/
86         seed_seq.cc: Likewise.
87         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
88         seed1.cc: Likewise.
89         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
90         seed2.cc: Likewise.
91         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
92         default.cc: Likewise.
93         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
94         seed_seq.cc: Likewise.
95         * testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc:
96         Likewise.
97         * testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc:
98         Likewise.
99         * testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc:
100         Likewise.
101         * testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc:
102         Likewise.
103         * testsuite/26_numerics/random/discard_block_engine/cons/default.cc:
104         Likewise.
105         * testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc:
106         Likewise.
107         * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed1.cc:
108         Likewise.
109         * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed2.cc:
110         Likewise.
111         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
112         default.cc: Likewise.
113         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
114         seed_seq.cc: Likewise.
115         * testsuite/26_numerics/random/linear_congruential_engine/cons/
116         seed1.cc: Likewise.
117         * testsuite/26_numerics/random/linear_congruential_engine/cons/
118         seed2.cc: Likewise.
119         * testsuite/26_numerics/random/linear_congruential_engine/cons/
120         seed_seq.cc: Likewise.
121         * testsuite/26_numerics/random/shuffle_order_engine/cons/base_move.cc:
122         Likewise.
123         * testsuite/26_numerics/random/shuffle_order_engine/cons/seed1.cc:
124         Likewise.
125         * testsuite/26_numerics/random/shuffle_order_engine/cons/seed2.cc:
126         Likewise.
127         * testsuite/26_numerics/random/shuffle_order_engine/cons/base_copy.cc:
128         Likewise.
129         * testsuite/26_numerics/random/shuffle_order_engine/cons/default.cc:
130         Likewise.
131         * testsuite/26_numerics/random/shuffle_order_engine/cons/seed_seq.cc:
132         Likewise.
133
134 2010-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
135
136         * include/bits/unique_ptr.h: (unique_ptr<>::
137         unique_ptr(const unique_ptr<_Up, _Up_Deleter>&),
138         operator=(const unique_ptr<_Up, _Up_Deleter>&)): Remove, redundant,
139         per DR 1303.
140         * include/bits/shared_ptr.h (shared_ptr<>::
141         shared_ptr(const unique_ptr<_Up, _Up_Deleter>&),
142         operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise.
143         * include/bits/shared_ptr_base.h (__shared_ptr<>::
144         __shared_ptr(const unique_ptr<_Up, _Up_Deleter>&),
145         operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise.
146         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
147         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
148         * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
149         * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc:
150         Likewise.
151
152 2010-02-15  Paolo Carlini  <paolo.carlini@oracle.com>
153
154         * testsuite/ext/median.cc: Adjust.
155
156 2010-02-15  Paolo Carlini  <paolo.carlini@oracle.com>
157
158         * include/bits/stl_algo.h (__median): Move...
159         * include/ext/algorithm: ... here, being an SGI extension.
160
161 2010-02-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
162             Paolo Carlini  <paolo.carlini@oracle.com>
163
164         PR libstdc++/42819, DR 1315
165         * include/std/future (async): Use std::result_of for the template
166         argument of the std::future return type; adjust everywhere.
167         * testsuite/30_threads/async/42819.cc: New.
168         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
169         dg-error line number.
170         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
171         * testsuite/30_threads/future/cons/assign_neg.cc: Likewise.
172         * testsuite/30_threads/future/cons/copy_neg.cc: Likewise.
173         * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
174         * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
175
176 2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
177
178         * config/abi/pre/gnu.ver: Revert last changes.
179
180 2010-02-11  Jason Merrill  <jason@redhat.com>
181
182         * include/std/thread (~_Impl_base): Declare inline.
183         * libsupc++/nested_exception.h (~nested_exception): Likewise.
184
185 2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
186
187         PR libstdc++/41975, DR 579
188         * include/bits/hashtable.h (_Hashtable<>::_M_erase_node): Remove.
189         (erase(const_iterator), erase(const_iterator, const_iterator)):
190         Change return type to void.
191         * include/debug/unordered_map: Adjust.
192         * include/debug/unordered_set: Likewise.
193         * testsuite/util/exception/safety.h: Likewise.
194         * testsuite/23_containers/unordered_map/erase/1.cc: Likewise.
195         * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
196         * testsuite/23_containers/unordered_set/erase/1.cc:  Likewise.
197         * testsuite/23_containers/unordered_set/erase/24061-map.cc: Likewise.
198         * testsuite/23_containers/unordered_multimap/erase/1.cc:  Likewise.
199         * testsuite/23_containers/unordered_multimap/erase/24061-map.cc:
200         Likewise.
201         * testsuite/23_containers/unordered_multiset/erase/1.cc:  Likewise.
202         * testsuite/23_containers/unordered_multiset/erase/24061-map.cc:
203         Likewise.
204
205 2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
206
207         * config/abi/pre/gnu.ver: Avoid exporting inadvertently
208         std::nested_exception symbols at GLIBCXX_3.4.
209
210 2010-02-10  Jason Merrill  <jason@redhat.com>
211
212         Core issue 906
213         * include/std/thread (~_Impl_base): Move defaulted dtor out of line.
214         * libsupc++/nested_exception.h (~nested_exception): Likewise.
215         * testsuite/18_support/nested_exception/throw_with_nested.cc: Likewise.
216         * testsuite/18_support/nested_exception/rethrow_if_nested.cc: Likewise.
217
218 2010-02-10  Paolo Carlini  <paolo.carlini@oracle.com>
219
220         * include/tr1/hashtable.h: Fold in include/tr1_impl/hashtable.h
221         contents.
222         * include/tr1_impl/hashtable.h: Remove.
223         * include/tr1_impl/hashtable_policy.h: Move and rename...
224         * include/tr1/hashtable_policy.h: ... here.
225         * include/tr1_impl/unordered_map: Move and rename...
226         * include/tr1/unordered_map.h: ... here.
227         * include/tr1_impl/unordered_set: Move and rename...
228         * include/tr1/unordered_set.h: ... here.
229         * include/tr1_impl/unordered_map: Move and rename...
230         * include/tr1/unordered_map.h: ... here.
231         * include/tr1/unordered_map: Adjust.
232         * include/tr1/unordered_set: Likewise.
233         * include/Makefile.am: Adjust.
234         * include/Makefile.in: Regenerate.
235
236         * include/std/c++0x_warning.h: Move...
237         * include/bits/c++0x_warning.h: ... here.
238         * include/debug/unordered_map: Adjust.
239         * include/debug/unordered_set: Likewise.
240         * include/std/tuple: Likewise.
241         * include/std/system_error: Likewise.
242         * include/std/forward_list: Likewise.
243         * include/std/thread: Likewise.
244         * include/std/type_traits: Likewise.
245         * include/std/future: Likewise.
246         * include/std/regex: Likewise.
247         * include/std/atomic: Likewise.
248         * include/std/ratio: Likewise.
249         * include/std/random: Likewise.
250         * include/std/unordered_map: Likewise.
251         * include/std/chrono: Likewise.: Likewise.
252         * include/std/condition_variable: Likewise.
253         * include/std/mutex: Likewise.
254         * include/std/unordered_set: Likewise.
255         * include/std/array: Likewise.
256         * include/profile/unordered_map: Likewise.
257         * include/profile/unordered_set: Likewise.
258         * include/c_global/cinttypes: Likewise.
259         * include/c_global/ctgmath: Likewise.
260         * include/c_global/cfenv: Likewise.
261         * include/c_global/cstdint: Likewise.
262         * include/c_global/cstdbool: Likewise.
263         * include/c_global/ccomplex: Likewise.
264
265         * include/bits/shared_ptr.h: Do not include <bits/c++0x_warning.h>
266         at all, the file is not meant to be included by the users.
267         * include/bits/functional_hash.h: Likewise.
268         * include/bits/unique_ptr.h: Likewise.
269         * include/bits/forward_list.h: Likewise.
270
271         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-*
272         line numbers.
273         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
274         * testsuite/23_containers/forward_list/requirements/dr438/
275         assign_neg.cc: Likewise.
276         * testsuite/23_containers/forward_list/requirements/dr438/
277         insert_neg.cc: Likewise.
278         * testsuite/23_containers/forward_list/requirements/dr438/
279         constructor_1_neg.cc: Likewise.
280         * testsuite/23_containers/forward_list/requirements/dr438/
281         constructor_2_neg.cc: Likewise.
282         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Likewise.
283         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
284
285 2010-02-10  Paolo Carlini  <paolo.carlini@oracle.com>
286
287         * include/bits/hashtable.h: Fold in include/tr1_impl/hashtable.h
288         for C++0x use.
289         * include/bits/hashtable_policy.h: New, copy and adjust for
290         C++0x use, include/tr1_impl/hashtable_policy.h; fix erase and
291         insert member functions per n3000.
292         * include/bits/unordered_map.h: Likewise for include/tr1_impl/
293         unordered_map.
294         * include/bits/unordered_set.h: Likewise for include/tr1_impl/
295         unordered_set.
296         * include/Makefile.am: Adjust.
297         * include/Makefile.in: Regenerate.
298         * include/tr1/unordered_map: Adjust.
299         * include/tr1/unordered_set: Likewise.
300         * include/tr1_impl/unordered_map: Adjust, now used only by tr1.
301         * include/tr1_impl/hashtable: Likewise.
302         * include/tr1_impl/hashtable_policy.h: Likewise.
303         * include/tr1_impl/unordered_set: Likewise.
304         * include/std/unordered_map: Adjust and simplify includes.
305         * include/std/unordered_set: Likewise.
306         * include/debug/unordered_map: Adjuse erase and insert members.
307         * include/debug/unordered_set: Likewise.
308         * include/profile/unordered_map: Likewise.
309         * include/profile/unordered_set: Likewise.
310         * testsuite/util/exception/safety.h: Fix for the updated erase and
311         insert member functions of the unordered_containers.
312         * testsuite/23_containers/unordered_map/erase/1.cc: New.
313         * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
314         * testsuite/23_containers/unordered_map/insert/map_single.cc:
315         Likewise.
316         * testsuite/23_containers/unordered_map/insert/array_syntax.cc:
317         Likewise.
318         * testsuite/23_containers/unordered_map/insert/24061-map.cc: Likewise.
319         * testsuite/23_containers/unordered_map/insert/map_range.cc: Likewise.
320         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
321         * testsuite/23_containers/unordered_multimap/erase/1.cc: Likewise.
322         * testsuite/23_containers/unordered_multimap/erase/
323         24061-multimap.cc: Likewise.
324         * testsuite/23_containers/unordered_multimap/insert/
325         24061-multimap.cc: Likewise.
326         * testsuite/23_containers/unordered_multimap/insert/
327         multimap_range.cc: Likewise.
328         * testsuite/23_containers/unordered_multimap/insert/
329         multimap_single.cc: Likewise.
330         * testsuite/23_containers/unordered_set/erase/1.cc: Likewise.
331         * testsuite/23_containers/unordered_set/erase/24061-set.cc: Likewise.
332         * testsuite/23_containers/unordered_set/insert/set_single.cc: Likewise.
333         * testsuite/23_containers/unordered_set/insert/24061-set.cc: Likewise.
334         * testsuite/23_containers/unordered_set/insert/set_range.cc: Likewise.
335         * testsuite/23_containers/unordered_multiset/erase/1.cc: Likewise.
336         * testsuite/23_containers/unordered_multiset/erase/
337         24061-multiset.cc: Likewise.
338         * testsuite/23_containers/unordered_multiset/insert/
339         24061-multiset.cc: Likewise.
340         * testsuite/23_containers/unordered_multiset/insert/
341         multiset_range.cc: Likewise.
342         * testsuite/23_containers/unordered_multiset/insert/
343         multiset_single.cc: Likewise.
344
345         * testsuite/23_containers/set/operators/1_neg.cc: Tweak dg-errors
346         to avoid spurious fails in debug-mode.
347         * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
348
349 2010-02-09  Benjamin Kosnik  <bkoz@redhat.com>
350
351         * include/std/streambuf: Adjust doxygen group markup.
352         * include/std/functional: Same.
353         * include/ext/vstring.h: Same.
354         * include/ext/pb_ds/assoc_container.hpp: Same.
355         * include/ext/stdio_filebuf.h: Same.
356         * include/ext/stdio_sync_filebuf.h: Same.
357         * include/bits/localefwd.h: Same.
358         * include/bits/functional_hash.h: Same.
359         * include/bits/locale_classes.h: Same.
360         * include/bits/locale_facets.h: Same.
361         * include/bits/ios_base.h: Same.
362         * include/bits/codecvt.h: Same.
363         * include/bits/locale_facets_nonio.h: Same.
364
365         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
366         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
367
368 2010-02-08  Benjamin Kosnik  <bkoz@redhat.com>
369
370         PR libstdc++/42460
371         * include/tr1_impl/regex: Fix quoting issues in doxygen markup.
372         * include/bits/random.h: Fix multi-line doxygen function markup.
373
374 2010-02-08  Matthias Klose  <doko@debian.org>
375
376         PR libstdc++/42460
377         * include/std/istream: Fix '\' quoting in doxygen markup.
378
379 2010-02-08  Ed Smith-Rowland  <3dw4rd@verizon.net>
380
381         * include/bits/random.tcc (uniform_int_distribution<>::
382         operator()(_UniformRandomNumberGenerator&, const param_type&)):
383         Use make_unsigned instead of __add_unsigned and conditional
384         instead of __conditional_type.
385         * include/std/random: Do not include <ext/type_traits.h> and
386         <ext/numeric_traits.h>.
387
388 2010-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
389
390         PR libstdc++/16896
391         * include/bits/stl_list.h (_List_node_base::transfer): Rename
392         to _M_transfer.
393         (_List_node_base::reverse): Rename to _M_reverse.
394         (_List_node_base::hook): Rename to _M_hook.
395         (_List_node_base::unhook): Rename to _M_unhook; adjust callers.
396         * include/bits/list.tcc: Adjust callers.
397         * src/list.cc: Adjust.
398         * src/compatibility.cc: Likewise.
399         * src/compatibility-list.cc: New.
400         * src/compatibility-debug_list.cc: Likewise.
401         * src/compatibility-parallel_list.cc: Likewise.
402         * src/Makefile.am: Add.
403         * src/Makefile.in: Regenerate.
404         * config/abi/pre/gnu.ver: Export _M_* symbols.
405
406         * src/hash.cc: Rename to hash-aux.cc.
407         * src/compatibility-ldbl.cc: Adjust.
408         * src/compatibility-c++0x.cc: Likewise.
409         * src/hash_tr1.cc: Likewise.
410
411         * src/hashtable.cc: Rename to hashtable-aux.cc.
412         * src/hashtable_c++0x.cc: Adjust.
413         * src/hashtable_tr1.cc: Likewise.
414
415         * src/limits_c++0x.cc: Fold...
416         * src/limits.cc... here.
417
418 2010-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
419
420         * include/bits/stl_pair.h (pair<>::pair(_U1&&, const _T2&),
421         pair<>::pair(const _T1&, _U2&&), pair<>::pair(_U1&&, _U2&&)):
422         Revert to std::is_convertible, basing on DR 811.
423
424 2010-02-06  Paolo Carlini  <paolo.carlini@oracle.com>
425
426         PR libstdc++/42989
427         * config/abi/pre/gnu.ver: Fix wstring move assignment operator typo.
428
429 2010-02-06  Paolo Carlini  <paolo.carlini@oracle.com>
430
431         PR libstdc++/27340
432         * include/bits/valarray_before.h: Uglify the structs wrapping
433         cmath functions differently, eg, _Cos instead of __cos.
434         * include/bits/valarray_after.h: Adjust.
435
436 2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>
437
438         * include/std/future (swap(packaged_task<>&, packaged_task<>&)): Fix
439         typo in last commit.
440
441 2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>
442
443         * include/std/future (swap(packaged_task<>&, packaged_task<>&),
444         swap(promise<>&, promise<>&)): Add; minor formatting fixes.
445         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
446         dg-error line number.
447         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
448         * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
449         * testsuite/30_threads/promise/cons/copy_neg.cc: Likewise.
450
451 2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>
452
453         * include/bits/stl_algobase.h (struct __iter_base): Rename to
454         _Iter_base; add iterator_type typedef.
455         (struct __miter_base): Rename to _Miter_base.
456         (struct __niter_base): Rename to _Niter_base.
457         (__miter_base, __niter_base): Add, use the latter; adjust everywhere.
458
459 2010-02-04  Benjamin Kosnik  <bkoz@redhat.com>
460
461         PR libstdc++/42460
462         * doc/doxygen/user.cfg.in: Update file list.
463         * include/debug/safe_sequence.h: Doxygen markup fixes for '' and "".
464         * include/debug/safe_base.h: Same.
465         * include/debug/macros.h: Same.
466         * include/tr1_impl/regex: Same.
467         * include/std/iostream: Same.
468         * include/std/streambuf: Same.
469         * include/std/bitset: Same.
470         * include/std/iosfwd: Same.
471         * include/std/limits: Same.
472         * include/std/fstream: Same.
473         * include/std/istream: Same.
474         * include/std/ostream: Same.
475         * include/std/sstream: Same.
476         * include/parallel/multiway_merge.h: Same.
477         * include/parallel/for_each.h: Same.
478         * include/parallel/workstealing.h: Same.
479         * include/parallel/omp_loop_static.h: Same.
480         * include/parallel/omp_loop.h: Same.
481         * include/c_std/csignal: Same.
482         * include/c_std/cstdlib: Same.
483         * include/c_std/cstdio: Same.
484         * include/c_std/cstdarg: Same.
485         * include/c_std/cctype: Same.
486         * include/c_std/cerrno: Same.
487         * include/c_std/cmath: Same.
488         * include/c_std/ciso646: Same.
489         * include/c_std/ctime: Same.
490         * include/c_std/clocale: Same.
491         * include/c_std/climits: Same.
492         * include/c_std/cassert: Same.
493         * include/c_std/csetjmp: Same.
494         * include/c_std/cwchar: Same.
495         * include/c_std/cfloat: Same.
496         * include/c_std/cstring: Same.
497         * include/c_std/cstddef: Same.
498         * include/c_std/cwctype: Same.
499         * include/profile/iterator_tracker.h: Same.
500         * include/profile/impl/profiler_trace.h: Same.
501         * include/ext/vstring.h: Same.
502         * include/ext/algorithm: Same.
503         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.h.pp: Same.
504         * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.h.pp: Same.
505         * include/ext/pb_ds/detail/type_utils.hpp: Same.
506         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same
507         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
508         * include/ext/rc_string_base.h: Same.
509         * include/ext/stdio_sync_filebuf.h: Same.
510         * include/ext/functional: Same.
511         * include/ext/mt_allocator.h: Same.
512         * include/bits/basic_ios.h: Same.
513         * include/bits/stl_map.h: Same.
514         * include/bits/stl_algobase.h: Same.
515         * include/bits/stl_queue.h: Same.
516         * include/bits/locale_classes.h: Same.
517         * include/bits/stl_set.h: Same.
518         * include/bits/locale_facets.h: Same.
519         * include/bits/stl_stack.h: Same.
520         * include/bits/stl_iterator_base_types.h: Same.
521         * include/bits/basic_string.h: Same.
522         * include/bits/stl_multimap.h: Same.
523         * include/bits/ios_base.h: Same.
524         * include/bits/stl_deque.h: Same.
525         * include/bits/stl_multiset.h: Same.
526         * include/bits/stl_iterator_base_funcs.h: Same.
527         * include/bits/char_traits.h: Same.
528         * include/bits/stl_algo.h: Same.
529         * include/bits/stl_iterator.h: Same.
530         * include/bits/stl_tempbuf.h: Same.
531         * include/bits/random.tcc: Same.
532         * include/bits/stl_function.h: Same.
533         * include/bits/cpp_type_traits.h: Same.
534         * include/bits/random.h: Same.
535         * include/bits/allocator.h: Same.
536         * include/bits/locale_facets_nonio.h: Same.
537         * include/c_global/csignal: Same.
538         * include/c_global/cstdlib: Same.
539         * include/c_global/cstdio: Same.
540         * include/c_global/cstdarg: Same.
541         * include/c_global/cctype: Same.
542         * include/c_global/cerrno: Same.
543         * include/c_global/cmath: Same.
544         * include/c_global/ciso646: Same.
545         * include/c_global/ctime: Same.
546         * include/c_global/clocale: Same.
547         * include/c_global/climits: Same.
548         * include/c_global/cassert: Same.
549         * include/c_global/csetjmp: Same.
550         * include/c_global/cwchar: Same.
551         * include/c_global/cfloat: Same.
552         * include/c_global/cstring: Same.
553         * include/c_global/cstddef: Same.
554         * include/c_global/cwctype: Same.
555         * include/tr1/hypergeometric.tcc: Same.
556         * include/tr1/random.tcc: Same.
557         * include/tr1/functional: Same.
558         * include/tr1/random.h: Same.
559         * include/backward/auto_ptr.h: Same.
560         * include/backward/binders.h: Same.
561         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
562         Adjust line numbers.
563         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
564         * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
565         Same.
566         * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
567         Same.
568
569 2010-02-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
570
571         * include/std/condition_variable (condition_variable_any): Provide
572         definitions for all members.
573         * src/condition_variable.cc (condition_variable_any): Adjust
574         definitions.
575         * config/abi/pre/gnu.ver: Adjust exports for condition_variable_any.
576         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
577         Adjust dg-error line number.
578         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
579         Likewise.
580         * testsuite/30_threads/condition_variable_any/members/1.cc: New.
581         * testsuite/30_threads/condition_variable_any/members/2.cc: New.
582         * testsuite/30_threads/condition_variable_any/requirements/
583         standard_layout.cc: Remove.
584         * testsuite/30_threads/condition_variable_any/native_handle/
585         typesizes.cc: Remove.
586
587 2010-02-02  Paolo Carlini  <paolo.carlini@oracle.com>
588
589         * include/ext/vstring.h (__versa_string::shrink_to_fit): Fix
590         for -fno-exceptions.
591
592 2010-02-02  Benjamin Kosnik  <bkoz@redhat.com>
593
594         * include/bits/allocator.h: Fix for -fno-exceptions.
595         * include/bits/basic_string.h (basic_string::shrink_to_fit): Same.
596
597 2010-02-02  Paolo Carlini  <paolo.carlini@oracle.com>
598
599         * testsuite/30_threads/unique_future: Rename to /future.
600
601 2010-02-01  Paolo Carlini  <paolo.carlini@oracle.com>
602
603         PR libstdc++/42408
604         * include/bits/random.h (linear_congruential_engine<>::
605         linear_congruential_engine(seed_seq&),
606         linear_congruential_engine<>::seed(seed_seq&),
607         mersenne_twister<>::mersenne_twister(seed_seq&),
608         mersenne_twister<>::seed(seed_seq&),
609         subtract_with_carry_engine<>::subtract_with_carry_engine(seed_seq&),
610         subtract_with_carry_engine<>::seed(seed_seq&),
611         discard_block_engine<>::discard_block_engine(seed_seq&),
612         discard_block_engine<>::seed(seed_seq&),
613         independent_bits_engine<>::independent_bits_engine(seed_seq&),
614         independent_bits_engine<>::seed(seed_seq&),
615         shuffle_order_engine<>::shuffle_order_engine(seed_seq&),
616         shuffle_order_engine<>::seed(seed_seq&)): Templatize.
617         * include/bits/random.tcc: Adjust.
618         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
619         seed_seq.cc: New.
620         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
621         seed_seq.cc: Likewise.
622         * testsuite/26_numerics/random/linear_congruential_engine/
623         cons/seed_seq.cc: Likewise.
624
625 2010-02-01  Paolo Carlini  <paolo.carlini@oracle.com>
626
627         * include/bits/forward_list.h (forward_list<>::resize(size_type),
628         forward_list(size_type)): Only declare.
629         * include/bits/forward_list.tcc (forward_list<>::resize(size_type),
630         forward_list(size_type)): Define, don't assume CopyConstructible.
631         * testsuite/23_containers/forward_list/cons/10.cc: New.
632         * testsuite/23_containers/forward_list/modifiers/6.cc: Likewis.
633         * testsuite/23_containers/forward_list/requirements/dr438/
634         assign_neg.cc: Adjust dg-error line numbers.
635         * testsuite/23_containers/forward_list/requirements/dr438/
636         insert_neg.cc: Likewise.
637         * testsuite/23_containers/forward_list/requirements/dr438/
638         constructor_1_neg.cc: Likewise.
639         * testsuite/23_containers/forward_list/requirements/dr438/
640         constructor_2_neg.cc: Likewise.
641
642         * include/bits/forward_list.h: Use _M_get_Node_allocator throughout.
643
644 2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
645
646         * testsuite/23_containers/array/requirements/exception/
647         generation_prohibited.c: Remove, swap can indeed throw (DR 774).
648
649         * testsuite/util/exception/safety.h (insert_base<__versa_string>): Fix.
650         * testsuite/util/testsuite_container_traits.h
651         (traits<__versa_string>): Enable insert tests.
652
653 2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
654
655         * include/bits/forward_list.h (forward_list<>::insert_after
656         (const_iterator, size_type, const _Tp&), insert_after(const_iterator,
657         _InputIterator, _InputIterator), insert_after(const_iterator,
658         std::initializer_list<>)): Fix return type per N3000.
659         * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
660         Adjust.
661         * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
662         * testsuite/23_containers/forward_list/requirements/dr438/
663         assign_neg.cc: Adjust dg-error line numbers.
664         * testsuite/23_containers/forward_list/requirements/dr438/
665         insert_neg.cc: Likewise.
666         * testsuite/23_containers/forward_list/requirements/dr438/
667         constructor_1_neg.cc: Likewise.
668         * testsuite/23_containers/forward_list/requirements/dr438/
669         constructor_2_neg.cc: Likewise.
670
671 2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
672
673         Revert last changes. Also revert, among the previous changes:
674         * include/std/condition_variable (condition_variable_any::
675         wait<>(_Lock&)): Provide definition.
676
677 2010-01-29  Paolo Carlini  <paolo.carlini@oracle.com>
678
679         * include/std/condition_variable (condition_variable_any::
680         __wait_until_impl): Add.
681         (condition_variable_any::wait_until): Provide definitions.
682         * testsuite/30_threads/condition_variable_any/members/2.cc: New.
683         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
684         Adjust dg-error line number.
685         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
686         Likewise.
687
688         * testsuite/30_threads/condition_variable/members/1.cc: Minor
689         stylistic changes.
690         * testsuite/30_threads/condition_variable/members/1.cc: Likewise.
691
692 2010-01-29  Paolo Carlini  <paolo.carlini@oracle.com>
693
694         * include/std/condition_variable (enum class cv_status): Add and
695         use it throughout, per N3000.
696         (condition_variable_any::wait<>(_Lock&), wait<>(_Lock&, _Predicate),
697         wait_until<>(_Lock&, const chrono::time_point<>&, _Predicate)):
698         Provide definitions.
699         * src/condition_variable.cc (condition_variable_any::notify_one,
700         condition_variable_any::notify_all): Likewise.
701         * config/abi/pre/gnu.ver: Export.
702         * testsuite/30_threads/condition_variable_any/requirements/
703         typedefs.cc: New.
704         * testsuite/30_threads/condition_variable_any/requirements/
705         standard_layout.cc: Likewise.
706         * testsuite/30_threads/condition_variable/members/1.cc: Adjust.
707         * testsuite/30_threads/condition_variable/members/2.cc: Likewise.
708         * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Adjust
709         dg-error line numbers.
710         * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
711         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
712         Likewise.
713         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
714         Likewise.
715
716 2010-01-28  Fran├žois Dumont  <francois.cppdevs@free.fr>
717
718         * include/bits/stl_algobase.h (struct __iter_base): Add.
719         (__niter_base, __miter_base): Adjust, use the latter.
720
721 2010-01-28  Paolo Carlini  <paolo.carlini@oracle.com>
722
723         * testsuite/21_strings/basic_string/element_access/char/21674.cc:
724         Extend xfail to all systems.
725         * testsuite/21_strings/basic_string/element_access/wchar_T/21674.cc:
726         Likewise.
727         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
728         Extend xfail to darwin10 systems.
729
730 2010-01-27  Benjamin Kosnik  <bkoz@redhat.com>
731
732         PR c++/42346
733         * testsuite/23_containers/unordered_map/requirements/exception/: Remove
734         -O1 workaround.
735         * testsuite/23_containers/multimap/requirements/exception/: Same.
736         * testsuite/23_containers/map/requirements/exception: Same.
737
738 2010-01-27  Richard Guenther  <rguenther@suse.de>
739
740         PR libstdc++/42832
741         * include/std/functional (function<>::swap): Perform bytewise
742         swap of _M_functor.
743         * include/tr1/functional (function<>::swap): Likewise.
744
745 2010-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
746
747         * config/abi/pre/gnu.ver: Avoid time_get pattern conflicts.
748
749 2010-01-26  Fran├žois Dumont  <francois.cppdevs@free.fr>
750
751         * doc/xml/manual/allocator.xml: Minor updates and fixes.
752         * doc/xml/manual/containers.xml: Likewise.
753         * doc/xml/manual/using.xml: Likewise.
754         * doc/xml/manual/locale.xml: Likewise.
755         * doc/xml/manual/appendix_contributing.xml: Likewise.
756
757 2010-01-26  Daniel Frey  <d.frey@gmx.de>
758
759         * include/std/functional: Use enable_if instead of __enable_if
760         throughout, do not include ext/type_traits.h.
761         (is_placeholder, is_bind_expression): Use integral_constant.
762
763 2010-01-25  Paolo Carlini  <paolo.carlini@oracle.com>
764
765         * testsuite/util/testsuite_common_types.h (has_bitwise_operators):
766         Avoid -Wall warnings.
767
768 2010-01-25  Paolo Carlini  <paolo.carlini@oracle.com>
769
770         * testsuite/22_locale/time_get/get_monthname/char/6.cc: Use an int
771         as loop variable, to avoid -Wall warnings.
772         * testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
773         * testsuite/22_locale/time_get/get_weekday/char/6.cc: Likewise.
774         * testsuite/22_locale/time_get/get_weekday/wchar_t/6.cc: Likewise.
775         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
776
777         * testsuite/20_util/reference_wrapper/24803.cc: Remove unused vars.
778         * testsuite/20_util/reference_wrapper/invoke.cc: Likewise.
779
780 2010-01-22  Daniel Frey  <d.frey@gmx.de>
781
782         * include/std/functional (_Index_tuple, _Build_index_tuple):
783         Simplify and speed-up.
784
785 2010-01-22  Joern Rennecke  <amylaar@spamcop.net>
786
787         PR libstdc++/36101, PR libstdc++/42813
788         * acinclude.m4 (enable_parallel): Test ${TARGET_CONFIGDIRS} instead of
789         looking for omp.h.
790         * configure: Regenerate.
791
792 2010-01-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
793
794         PR libstdc++/42201
795         * include/std/future: Update to latest WP.
796         * src/functexcept.cc (__throw_future_error): Use make_error_code.
797         * testsuite/30_threads/async/any.cc: New.
798         * testsuite/30_threads/async/async.cc: New.
799         * testsuite/30_threads/async/sync.cc: New.
800         * testsuite/30_threads/packaged_task/cons/alloc.cc: New.
801         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust.
802         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Adjust.
803         * testsuite/30_threads/packaged_task/members/get_future.cc: Adjust.
804         * testsuite/30_threads/packaged_task/members/get_future2.cc: Likewise.
805         * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
806         * testsuite/30_threads/packaged_task/members/invoke2.cc: Adjust.
807         * testsuite/30_threads/packaged_task/members/invoke3.cc: Adjust.
808         * testsuite/30_threads/packaged_task/members/invoke4.cc: Adjust.
809         * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
810         * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
811         * testsuite/30_threads/shared_future/cons/assign_neg.cc: Remove.
812         * testsuite/30_threads/shared_future/cons/default_neg.cc: Remove.
813         * testsuite/30_threads/shared_future/cons/default.cc: New.
814         * testsuite/30_threads/shared_future/cons/assign.cc: New.
815         * testsuite/30_threads/shared_future/cons/copy.cc: Adjust.
816         * testsuite/30_threads/shared_future/cons/move.cc: Adjust.
817         * testsuite/30_threads/shared_future/cons/move_assign.cc: New.
818         * testsuite/30_threads/shared_future/members/is_ready.cc: Remove.
819         * testsuite/30_threads/shared_future/members/has_value.cc: Remove.
820         * testsuite/30_threads/shared_future/members/has_exception.cc: Remove.
821         * testsuite/30_threads/shared_future/members/valid.cc: New.
822         * testsuite/30_threads/unique_future/cons/default_neg.cc: Remove.
823         * testsuite/30_threads/unique_future/cons/default.cc: New.
824         * testsuite/30_threads/unique_future/cons/move_assign.cc: New.
825         * testsuite/30_threads/unique_future/cons/assign_neg.cc: Adjust.
826         * testsuite/30_threads/unique_future/cons/copy_neg.cc: Adjust.
827         * testsuite/30_threads/unique_future/cons/move.cc: Adjust.
828         * testsuite/30_threads/unique_future/requirements/
829         explicit_instantiation.cc: Adjust.
830         * testsuite/30_threads/unique_future/members/is_ready.cc: Remove.
831         * testsuite/30_threads/unique_future/members/has_value.cc: Remove.
832         * testsuite/30_threads/unique_future/members/has_exception.cc: Remove.
833         * testsuite/30_threads/unique_future/members/valid.cc: New.
834         * testsuite/30_threads/unique_future/members/get.cc: Adjust.
835         * testsuite/30_threads/unique_future/members/get2.cc: Adjust.
836         * testsuite/30_threads/unique_future/members/wait.cc: Adjust.
837         * testsuite/30_threads/unique_future/members/wait_for.cc: Adjust.
838         * testsuite/30_threads/unique_future/members/wait_until.cc: Adjust.
839         * testsuite/30_threads/headers/future/types_std_c++0x.cc: Adjust.
840         * testsuite/30_threads/promise/cons/alloc.cc: New.
841         * testsuite/30_threads/promise/cons/assign_neg.cc: Adjust.
842         * testsuite/30_threads/promise/cons/copy_neg.cc: Adjust.
843         * testsuite/30_threads/promise/cons/move.cc: Adjust.
844         * testsuite/30_threads/promise/cons/move_assign.cc: Adjust.
845         * testsuite/30_threads/promise/members/get_future.cc: Adjust.
846         * testsuite/30_threads/promise/members/set_value.cc: Adjust.
847         * testsuite/30_threads/promise/members/set_exception.cc: Adjust.
848         * testsuite/30_threads/promise/members/set_exception2.cc: Adjust.
849         * testsuite/30_threads/promise/members/set_value2.cc: Adjust.
850         * testsuite/30_threads/promise/members/set_value3.cc: Adjust.
851         * testsuite/30_threads/promise/members/swap.cc: Adjust.
852
853 2010-01-20  Janis Johnson  <janis187@us.ibm.com>
854             Paolo Carlini  <paolo.carlini@oracle.com>
855
856         PR libstdc++/21769
857         * testsuite/lib/dg-options.exp (add_options_for_no_pch): Add.
858         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
859         Use it.
860
861 2010-01-19  Johannes Singler  <singler@kit.edu>
862
863         PR libstdc++/42712
864         * include/parallel/settings.h (_Settings): Add search_minimal_n.
865         * include/parallel/algo.h (__search_switch):
866         Add serial fallback for too small inputs.
867         (__search_n_switch): Likewise.  Call serial fallback on higher level
868         to gain special treatment for __count 0 or 1.
869         * testsuite/25_algorithms/search_n/iterator.cc:
870         Reenable full test depth for parallel mode.
871
872 2010-01-18  Daniel Frey  <d.frey@gmx.de>
873
874         * include/std/functional (_Bind<_Functor(_Bound_args...)>::
875         operator()): "Pass" _Result to __call*.
876         (_Bind<_Functor(_Bound_args...)>::__call*): Adjust, simplify.
877
878 2010-01-18  Johannes Singler  <singler@kit.edu>
879
880         * include/parallel/base.h (__unary_negate): Correct comment.
881
882 2010-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
883
884         * include/std/functional (_Bind<_Functor(_Bound_args...)>::__call):
885         Rename const version to __call_c and remove _Sfinae template
886         parameter.
887         (_Bind<_Functor(_Bound_args...)>::operator()): Adjust.
888
889         * include/std/functional: Pass everywhere temporary tuple<_Args...>
890         arguments by rvalue reference.
891
892         * testsuite/20_util/bind/cv_quals.cc: New.
893
894         * testsuite/20_util/bind/ref2.cc: Add missing test variables.
895
896 2010-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
897
898         PR libstdc++/35942
899         * configure.ac: Remove -lstdc++ from libtool's postdeps_CXX.
900         * configure: Regenerate.
901
902 2010-01-15  Phil Muldoon  <pmuldoon@redhat.com>
903
904         * python/libstdcxx/v6/printers.py (StdStringPrinter.__init__):
905         Remove encoding argument.
906         (StdStringPrinter.to_string): Do not compute or pass encoding.
907         Use lazy_string over string function.
908
909 2010-01-14  Paolo Carlini  <paolo.carlini@oracle.com>
910
911         * include/c_std/cstring (memchr): Forward to the builtin.
912         * include/c_std/cstring: Remove redundant casts; use names consistent
913         with the letter of the Standard.
914         * include/c_global/cstring: Likewise.
915
916 2010-01-13  Benjamin Kosnik  <bkoz@redhat.com>
917
918         * include/profile/iterator_tracker.h: Add copyright.
919
920 2010-01-13  Paolo Carlini  <paolo.carlini@oracle.com>
921
922         * testsuite/Makefile.am (check-debug): Add.
923         * testsuite/Makefile.in: Regenerate.
924         * config.h.in: Likewise.
925
926 2010-01-12  Paolo Carlini  <paolo.carlini@oracle.com>
927
928         * testsuite/17_intro/using_namespace_std_tr1_neg.cc: Do not run
929         in parallel-mode.
930         * testsuite/25_algorithms/inplace_merge/moveable.cc: Likewiwse.
931         * testsuite/25_algorithms/rotate/moveable.cc: Likewiwse.
932         * testsuite/25_algorithms/stable_partition/moveable.cc: Likewiwse.
933         * testsuite/25_algorithms/remove/moveable.c: Likewiwse.
934         * testsuite/25_algorithms/random_shuffle/moveable.cc: Likewiwse.
935         * testsuite/25_algorithms/nth_element/moveable.cc: Likewiwse.
936         * testsuite/25_algorithms/partial_sort/moveable.cc: Likewiwse.
937         * testsuite/25_algorithms/next_permutation/moveable.cc: Likewiwse.
938         * testsuite/25_algorithms/partition/moveable.cc: Likewiwse.
939         * testsuite/25_algorithms/stable_sort/moveable.cc: Likewiwse.
940         * testsuite/25_algorithms/stable_sort/moveable2.cc: Likewiwse.
941         * testsuite/25_algorithms/sort/moveable.cc: Likewiwse.
942         * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewiwse.
943         * testsuite/25_algorithms/unique/moveable.cc: Likewiwse.
944         * testsuite/25_algorithms/remove_if/moveable.cc: Likewiwse.
945         * testsuite/25_algorithms/heap/moveable.cc: Likewiwse.
946
947         * testsuite/25_algorithms/search_n/iterator.cc: Reduce iteration #
948         in parallel-mode.
949
950 2010-01-12  Hans-Peter Nilsson  <hp@axis.com>
951
952         * testsuite/ext/profile/all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS
953         for non-tls_native targets.
954
955 2010-01-12  Benjamin Kosnik  <bkoz@redhat.com>
956
957         * scripts/run_doxygen: Correct nested scope on the man pages.
958         * doc/xml/faq.xml: Edits, linkcheck, doxygen link reassociate.
959         * doc/xml/manual/mt_allocator.xml: Same.
960         * doc/xml/manual/allocator.xml: Same.
961         * doc/xml/manual/codecvt.xml: Same.
962         * doc/xml/manual/backwards_compatibility.xml: Same.
963         * doc/xml/manual/concurrency.xml: Same.
964         * doc/xml/manual/parallel_mode.xml: Same.
965         * doc/xml/manual/io.xml: Same.
966         * doc/xml/manual/support.xml: Same.
967         * doc/xml/manual/evolution.xml: Same.
968         * doc/xml/manual/using.xml: Same.
969         * doc/xml/manual/extensions.xml: Same.
970         * doc/xml/manual/appendix_contributing.xml: Same.
971         * doc/xml/manual/prerequisites.xml: Same.
972         * doc/xml/manual/diagnostics.xml: Same.
973         * doc/xml/manual/spine.xml: Same.
974         * doc/xml/manual/status_cxx200x.xml: Same.
975         * doc/xml/manual/test.xml: Same.
976         * doc/xml/spine.xml: Same.
977         * doc/html/*: Regenerate.
978
979         * include/profile/impl/profiler.h: Remove duplicate markup.
980
981 2010-01-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
982
983         PR libstdc++/24803
984         PR libstdc++/35569
985         PR libstdc++/42593
986         * include/std/functional (bind): Forward rvalues and detect correct
987         result type of bound function object.
988         * include/std/mutex (call_once): Specify bind result type.
989         * testsuite/20_util/reference_wrapper/invoke.cc: Remove invalid tests.
990         * testsuite/20_util/reference_wrapper/24803.cc: Remove invalid tests
991         and enable FIXME tests.
992         * testsuite/20_util/bind/35569.cc: New.
993         * testsuite/20_util/bind/ref2.cc: New.
994         * testsuite/20_util/bind/38889.cc: New.
995         * testsuite/20_util/bind/ref_neg.cc: New.
996         * testsuite/20_util/bind/42593.cc: New.
997
998 2010-01-11  Paolo Carlini  <paolo.carlini@oracle.com>
999
1000         * include/parallel/base.h (decode2): Rename to __decode2.
1001         (binder2nd): Likewise to __binder2nd.
1002         * include/parallel/quicksort.h: Adjust callers.
1003         * include/parallel/balanced_quicksort.h: Likewise.
1004         * include/parallel/partition.h: Likewise.
1005         * include/parallel/queue.h: Likewise.
1006
1007         * include/parallel/algo.h: Qualify with std:: binder2nd use.
1008
1009 2010-01-10  Paolo Carlini  <paolo.carlini@oracle.com>
1010
1011         * include/debug/string (basic_string<>::basic_string(basic_string&&),
1012         operator=(basic_string&&), assign(basic_string&&)): Add.
1013
1014         * include/debug/string: Fully qualify initializer_list with std; fix
1015         _Allocator misspellings as _Alloc.
1016
1017 2010-01-10  Paolo Carlini  <paolo.carlini@oracle.com>
1018
1019         * include/bits/basic_string.h (basic_string<>::
1020         basic_string(basic_string&&), operator=(basic_string&&),
1021         assign(basic_string&&)): Add.
1022         * config/abi/pre/gnu.ver: Export new symbols.
1023         * include/ext/vstring.h (__versa_string<>::assign(__versa_string&&)):
1024         Add.
1025         (operator=(__versa_string&&)): Don't call clear unnecessarily.
1026         * include/ext/rc_string_base.h (__rc_string_base<>::
1027         __rc_string_base(__rc_string_base&&)): Simplify a tad.
1028         * testsuite/21_strings/basic_string/cons/char/moveable.cc: New.
1029         * testsuite/21_strings/basic_string/cons/wchar_t/moveable.cc: Likewise.
1030         * testsuite/ext/vstring/assign/move_assign.cc: Likewise.
1031         * testsuite/21_strings/basic_string/assign/char/move_assign.cc:
1032         Likewise.
1033         * testsuite/21_strings/basic_string/assign/wchar_t/move_assign.cc:
1034         Likewise.
1035
1036         * testsuite/ext/vstring/cons/moveable.cc: Fix comment nit.
1037
1038 2010-01-10  Silvius Rus  <rus@google.com>
1039
1040         * configure.ac: Add detection of execinfo.h.
1041         * configure: Regenerate.
1042         * config.h.in: Likewise.
1043         * doc/xml/manual/profile_mode.xml: Add list_to_slist manual.
1044         Also, correct user interface mistakes.
1045         * include/Makefile.am: Add references to new include files.
1046         * include/Makefile.in: Regenerate.
1047         * include/backward/hash_map: Remove profile include.
1048         * include/backward/hash_set: Likewise.
1049         * include/profile/hashtable.h: Delete file.
1050         * include/profile/iterator_tracker.h: New file.
1051         * include/profile/vector: Add instrumentation for tracked iterator.
1052         * include/profile/list: Same.
1053         * include/profile/impl/profiler_list_to_slist.h: New file.
1054         * include/profile/impl/profiler_list_to_vector.h: Same.
1055         * include/profile/impl/profiler.h: Add list_to_slist and
1056         list_to_vector instrumentation hook interfaces.  Fixed broken
1057         diagnostic disabling mechanism.
1058         (_GLIBCXX_PROFILE_DEFINE_DATA,_GLIBCXX_PROFILE_DATA) New macros.
1059         (__reentrance_guard) Fix bug.
1060         * include/profile/impl/profiler_trace.h: Replace dummy templates
1061         with _GLIBCXX_PROFILE_DEFINE_DATA.
1062         * include/profile/impl/profiler_container_size.h: Same.
1063         * include/profile/impl/profiler_vector_size.h: Same.
1064         * include/profile/impl/profiler_hash_func.h: Same.
1065         * include/profile/impl/profiler_vector_to_list.h: Same.
1066         * include/profile/impl/profiler_map_to_unordered_map.h: Same.
1067         * include/profile/impl/profiler_hashtable_size.h: Same.
1068         * include/profile/impl/profiler_node.h: Same.
1069         * include/profile/impl/profiler_state.h: Same.  Also, remove
1070         class __state. Also, use __sync_val_compare_and_swap to set state.
1071
1072 2010-01-09  H.J. Lu  <hongjiu.lu@intel.com>
1073
1074         PR other/42230
1075         * testsuite/abi/pr42230.cc: New.
1076
1077 2010-01-09  Paolo Carlini  <paolo.carlini@oracle.com>
1078
1079         * include/debug/set.h: Revert last change, per DR 1204 [Ready];
1080         mention the latter in comment.
1081         * include/debug/unordered_map: Likewise.
1082         * include/debug/multiset.h: Likewise.
1083         * include/debug/vector: Likewise.
1084         * include/debug/unordered_set: Likewise.
1085         * include/debug/deque: Likewise.
1086         * include/debug/map.h: Likewise.
1087         * include/debug/list: Likewise.
1088         * include/debug/multimap.h: Likewise.
1089         * include/tr1_impl/unordered_map: Likewise.
1090         * include/tr1_impl/unordered_set: Likewise.
1091         * include/profile/set.h: Likewise.
1092         * include/profile/unordered_map: Likewise.
1093         * include/profile/multiset.h: Likewise.
1094         * include/profile/unordered_set: Likewise.
1095         * include/profile/vector: Likewise.
1096         * include/profile/deque: Likewise.
1097         * include/profile/map.h: Likewise.
1098         * include/profile/list: Likewise.
1099         * include/profile/multimap.h: Likewise.
1100         * include/ext/vstring.h: Likewise.
1101         * include/bits/stl_list.h: Likewise.
1102         * include/bits/stl_map.h: Likewise.
1103         * include/bits/stl_set.h: Likewise.
1104         * include/bits/stl_multimap.h: Likewise.
1105         * include/bits/stl_vector.h: Likewise.
1106         * include/bits/stl_deque.h: Likewise.
1107         * include/bits/stl_multiset.h: Likewise.
1108
1109         * include/bits/forward_list.h: Remove pre-existing check.
1110         * include/ext/vstring.h: Likewise.
1111
1112         * testsuite/ext/vstring/cons/self_move_assign.cc: Remove.
1113         * testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
1114         Likewise.
1115         * testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
1116         * testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
1117         * testsuite/23_containers/unordered_multimap/cons/
1118         self_move_assign.cc: Likewise.
1119         * testsuite/23_containers/forward_list/cons/self_move_assign.cc:
1120         Likewise.
1121         * testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
1122         Likewise.
1123         * testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
1124         * testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
1125         * testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
1126         * testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
1127         * testsuite/23_containers/unordered_multiset/cons/
1128         self_move_assign.cc: Likewise.
1129         * testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.
1130
1131         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1132         Adjust dg-error line numbers.
1133         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1134         Likewise.
1135         * testsuite/23_containers/vector/requirements/dr438/
1136         constructor_1_neg.cc: Likewise.
1137         * testsuite/23_containers/vector/requirements/dr438/
1138         constructor_2_neg.cc: Likewise.
1139         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1140         Likewise.
1141         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1142         Likewise.
1143         * testsuite/23_containers/deque/requirements/dr438/
1144         constructor_1_neg.cc: Likewise.
1145         * testsuite/23_containers/forward_list/requirements/dr438/
1146         assign_neg.cc: Likewise.
1147         * testsuite/23_containers/forward_list/requirements/dr438/
1148         insert_neg.cc: Likewise.
1149         * testsuite/23_containers/forward_list/requirements/dr438/
1150         constructor_1_neg.cc: Likewise.
1151         * testsuite/23_containers/forward_list/requirements/dr438/
1152         constructor_2_neg.cc: Likewise.
1153         * testsuite/23_containers/deque/requirements/dr438/
1154         constructor_2_neg.cc: Likewise.
1155         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1156         Likewise.
1157         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1158         Likewise.
1159         * testsuite/23_containers/list/requirements/dr438/
1160         constructor_1_neg.cc: Likewise.
1161         * testsuite/23_containers/list/requirements/dr438/
1162         constructor_2_neg.cc: Likewise.
1163
1164 2010-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
1165
1166         * include/debug/set.h: Protect move assignment operator vs self
1167         assignment.
1168         * include/debug/unordered_map: Likewise.
1169         * include/debug/multiset.h: Likewise.
1170         * include/debug/vector: Likewise.
1171         * include/debug/unordered_set: Likewise.
1172         * include/debug/deque: Likewise.
1173         * include/debug/map.h: Likewise.
1174         * include/debug/list: Likewise.
1175         * include/debug/multimap.h: Likewise.
1176         * include/tr1_impl/unordered_map: Likewise.
1177         * include/tr1_impl/unordered_set: Likewise.
1178         * include/profile/set.h: Likewise.
1179         * include/profile/unordered_map: Likewise.
1180         * include/profile/multiset.h: Likewise.
1181         * include/profile/unordered_set: Likewise.
1182         * include/profile/vector: Likewise.
1183         * include/profile/deque: Likewise.
1184         * include/profile/map.h: Likewise.
1185         * include/profile/list: Likewise.
1186         * include/profile/multimap.h: Likewise.
1187         * include/ext/vstring.h: Likewise.
1188         * include/bits/stl_list.h: Likewise.
1189         * include/bits/stl_map.h: Likewise.
1190         * include/bits/stl_set.h: Likewise.
1191         * include/bits/stl_multimap.h: Likewise.
1192         * include/bits/stl_vector.h: Likewise.
1193         * include/bits/stl_deque.h: Likewise.
1194         * include/bits/stl_multiset.h: Likewise.
1195         * include/ext/vstring.h: Use clear().
1196         * testsuite/ext/vstring/cons/self_move_assign.cc: New.
1197         * testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
1198         Likewise.
1199         * testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
1200         * testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
1201         * testsuite/23_containers/unordered_multimap/cons/
1202         self_move_assign.cc: Likewise.
1203         * testsuite/23_containers/forward_list/cons/self_move_assign.cc:
1204         Likewise.
1205         * testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
1206         Likewise.
1207         * testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
1208         * testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
1209         * testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
1210         * testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
1211         * testsuite/23_containers/unordered_multiset/cons/
1212         self_move_assign.cc: Likewise.
1213         * testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.
1214
1215         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1216         Adjust dg-error line numbers.
1217         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1218         Likewise.
1219         * testsuite/23_containers/vector/requirements/dr438/
1220         constructor_1_neg.cc: Likewise.
1221         * testsuite/23_containers/vector/requirements/dr438/
1222         constructor_2_neg.cc: Likewise.
1223         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1224         Likewise.
1225         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1226         Likewise.
1227         * testsuite/23_containers/deque/requirements/dr438/
1228         constructor_1_neg.cc: Likewise.
1229         * testsuite/23_containers/deque/requirements/dr438/
1230         constructor_2_neg.cc: Likewise.
1231         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1232         Likewise.
1233         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1234         Likewise.
1235         * testsuite/23_containers/list/requirements/dr438/
1236         constructor_1_neg.cc: Likewise.
1237         * testsuite/23_containers/list/requirements/dr438/
1238         constructor_2_neg.cc: Likewise.
1239
1240         * testsuite/ext/vstring/moveable.cc: Move to...
1241         * testsuite/ext/vstring/cons/moveable.cc: ... here.
1242         * testsuite/23_containers/unordered_map/moveable.cc: Move to...
1243         * testsuite/23_containers/unordered_map/cons/moveable.cc ... here.
1244         * testsuite/23_containers/multimap/moveable.cc: Move to...
1245         * testsuite/23_containers/multimap/cons/moveable.cc: ... here.
1246         * testsuite/23_containers/set/moveable.cc: Move to...
1247         * testsuite/23_containers/set/cons/moveable.cc: ... here.
1248         * testsuite/23_containers/unordered_multimap/moveable.cc: Move to...
1249         * testsuite/23_containers/unordered_multimap/cons/moveable.cc:
1250         ... here.
1251         * testsuite/23_containers/forward_list/moveable.cc: Move to...
1252         * testsuite/23_containers/forward_list/cons/moveable.cc: ... here.
1253         * testsuite/23_containers/unordered_set/moveable.cc Move to...
1254         * testsuite/23_containers/unordered_set/moveable.cc: ... here.
1255         * testsuite/23_containers/vector/cons/moveable.cc Move to...
1256         * testsuite/23_containers/vector/cons/moveable2.cc: ... this.
1257         * testsuite/23_containers/deque/cons/moveable.cc Move to...
1258         * testsuite/23_containers/deque/cons/moveable2.cc: ... this.
1259         * testsuite/23_containers/multiset/moveable.cc Move to...
1260         * testsuite/23_containers/multiset/cons/moveable.cc: ... here.
1261         * testsuite/23_containers/list/moveable.h Move to...
1262         * testsuite/23_containers/list/cons/moveable.h: ... here.
1263         * testsuite/23_containers/list/moveable.cc Move to...
1264         * testsuite/23_containers/list/cons/moveable.cc: ... here.
1265         * testsuite/23_containers/unordered_multiset/moveable.cc Move to...
1266         * testsuite/23_containers/unordered_multiset/cons/moveable.cc:
1267         ... here.
1268         * testsuite/23_containers/map/moveable.cc Move to...
1269         * testsuite/23_containers/map/cons/moveable.cc: ... here.
1270         * testsuite/23_containers/vector/moveable.cc: Move to...
1271         * testsuite/23_containers/vector/cons/moveable.cc: ... here.
1272         * testsuite/23_containers/deque/moveable.cc: Move to...
1273         * testsuite/23_containers/deque/cons/moveable.cc: ... here.
1274
1275 2010-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
1276
1277         PR libstdc++/42573
1278         * include/bits/allocator.h (struct __shrink_to_fit): Add.
1279         * include/bits/stl_deque.h (deque<>::shrink_to_fit): Add.
1280         * include/bits/stl_vector.h (vector<>::shrink_to_fit): Likewise.
1281         * include/bits/stl_bvector.h (vector<bool>::shrink_to_fit): Likewise.
1282         * include/bits/basic_string.h (basic_string<>::shrink_to_fit):
1283         Likewise.
1284         * include/ext/vstring.h (__versa_string<>::shrink_to_fit): Likewise.
1285         * include/debug/deque: Add corresponding using declaration.
1286         * include/debug/vector: Likewise.
1287         * include/debug/string: Likewise.
1288         * include/profile/deque: Likewise.
1289         * include/profile/vector: Likewise.
1290         * config/abi/pre/gnu.ver: Export new symbols.
1291         * testsuite/23_containers/deque/capacity/shrink_to_fit.cc: New.
1292         * testsuite/23_containers/vector/capacity/shrink_to_fit.cc: Likewise.
1293         * testsuite/21_strings/basic_string/capacity/char/shrink_to_fit.cc:
1294         Likewise.
1295         * testsuite/21_strings/basic_string/capacity/wchar_t/shrink_to_fit.cc:
1296         Likewise.
1297         * testsuite/ext/vstring/capacity/shrink_to_fit.cc: Likewise.
1298         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1299         Adjust dg-error line number.
1300         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1301         Likewise.
1302         * testsuite/23_containers/deque/requirements/dr438/
1303         constructor_1_neg.cc: Likewise.
1304         * testsuite/23_containers/deque/requirements/dr438/
1305         constructor_2_neg.cc: Likewise.
1306         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1307         Adjust dg-error line number.
1308         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1309         Likewise.
1310         * testsuite/23_containers/vector/requirements/dr438/
1311         constructor_1_neg.cc: Likewise.
1312         * testsuite/23_containers/vector/requirements/dr438/
1313         constructor_2_neg.cc: Likewise.
1314
1315 2010-01-07  Benjamin Kosnik  <bkoz@redhat.com>
1316
1317         * doc/xml/manual/evolution.xml: Fix typos, update.
1318
1319 2010-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
1320
1321         * include/bits/locale_facets_nonio.tcc (time_put<>::do_put): Avoid
1322         pointless __builtin_alloca use.
1323
1324 2010-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
1325
1326         PR libstdc++/26701
1327         * include/bits/locale_facets_nonio.tcc (time_get<>::_M_extract_num):
1328         Encode short two digits over four parsings to negative numbers.
1329         (time_get<>::_M_extract_via_format): Adjust, accept both two digits
1330         and four digits for both 'y' and 'Y'.
1331         (time_get<>::do_get_year): Call time_get<>::_M_extract_num.
1332         * doc/xml/manual/prerequisites.xml: Add en_GB.
1333         * testsuite/lib/libstdc++.exp: Adjust
1334         * testsuite/22_locale/time_get/get_date/char/26701.cc: New.
1335         * testsuite/22_locale/time_get/get_date/wchar_t/26701.cc: Likewise.
1336
1337 2010-01-06  Benjamin Kosnik  <bkoz@redhat.com>
1338
1339         PR libstdc++/42491
1340         * scripts/check_performance (CXX): Add -std=gnu++0x.
1341         * testsuite/performance/30_threads/future/polling.cc: Mark up as
1342         using threads.
1343
1344 2010-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
1345
1346         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc:
1347         Add dg-require-namedlocale.
1348
1349 2010-01-05  Benjamin Kosnik  <bkoz@redhat.com>
1350
1351         * doc/xml/manual/evolution.xml: Update for 4.4 and 4.5 releases.
1352         * doc/html: Regenerate.
1353
1354 2010-01-05  Paolo Carlini  <paolo.carlini@oracle.com>
1355
1356         PR libstdc++/38081
1357         * include/bits/locale_facets_nonio.h (time_get<>::
1358         _M_extract_wday_or_month): New, declare.
1359         * include/bits/locale_facets_nonio.tcc (time_get<>::
1360         _M_extract_wday_or_month): Define.
1361         (time_get<>::do_get_weekday, time_get<>::do_get_monthname): Use it.
1362         * config/abi/pre/gnu.ver: Export new symbols.
1363         * doc/xml/manual/prerequisites.xml: Add ru_RU.UTF-8 and
1364         ru_RU.ISO-8859-5.
1365         * testsuite/lib/libstdc++.exp: Adjust.
1366         * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: New.
1367         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
1368
1369 2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1370
1371         * configure: Regenerate.
1372
1373 2010-01-05  Paolo Carlini  <paolo.carlini@oracle.com>
1374
1375         * testsuite/22_locale/time_get/get_monthname/char/6.cc: New.
1376         * testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
1377         * testsuite/22_locale/time_get/get_weekday/char/6.cc: Likewise.
1378         * testsuite/22_locale/time_get/get_weekday/wchar_t/6.cc: Likewise.
1379
1380 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
1381
1382         * include/profile/list: Implement DR 1133 here too.
1383
1384         * testsuite/25_algorithms/set_intersection/34730.cc: Do not force
1385         debug-mode, leads to spurious failures in profile-mode.
1386         * testsuite/25_algorithms/upper_bound/33613.cc: Likewise.
1387         * testsuite/25_algorithms/lower_bound/33613.cc: Likewise.
1388         * testsuite/25_algorithms/set_difference/35541.cc: Likewise.
1389         * testsuite/21_strings/basic_string/40160.cc: Likewise.
1390         * testsuite/26_numerics/random/uniform_real_distribution/
1391         cons/parms_neg.cc: Likewise.
1392         * testsuite/26_numerics/random/uniform_int_distribution/
1393         cons/parms_neg.cc: Likewise.
1394         * testsuite/23_containers/unordered_map/requirements/debug_mode.cc:
1395         Likewise.
1396         * testsuite/23_containers/multimap/14340.cc: Likewise.
1397         * testsuite/23_containers/bitset/18604.cc: Likewise.
1398         * testsuite/23_containers/set/14340.cc: Likewise.
1399         * testsuite/23_containers/set/18604.cc: Likewise.
1400         * testsuite/23_containers/unordered_set/requirements/
1401         debug_mode.cc: Likewise.
1402         * testsuite/23_containers/vector/
1403         debug_mode_requires_reallocation-1.cc: Likewise.
1404         * testsuite/23_containers/vector/
1405         debug_mode_requires_reallocation-2.cc: Likewise.
1406         * testsuite/23_containers/vector/14340.cc: Likewise.
1407         * testsuite/23_containers/vector/15523.cc: Likewise.
1408         * testsuite/23_containers/vector/18604.cc: Likewise.
1409         * testsuite/23_containers/deque/14340.cc: Likewise.
1410         * testsuite/23_containers/deque/18604.cc: Likewise.
1411         * testsuite/23_containers/multiset/14340.cc: Likewise.
1412         * testsuite/23_containers/list/operations/35969.cc: Likewise.
1413         * testsuite/23_containers/list/14340.cc: Likewise.
1414         * testsuite/23_containers/list/18604.cc: Likewise.
1415         * testsuite/23_containers/map/14340.cc: Likewise.
1416         * testsuite/23_containers/map/18604.cc: Likewise.
1417         * testsuite/tr1/5_numerical_facilities/random/uniform_int/
1418         cons/range_neg.cc: Likewise.
1419
1420         * testsuite/23_containers/unordered_map/requirements/
1421         explicit_instantiation/2.cc: Do not instantiate for
1422         non-defaultconstructible mapped_type.
1423
1424 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
1425
1426         * include/debug/set.h: Implement DR 130 here too.
1427         * include/debug/multiset.h: Likewise.
1428         * include/debug/map.h: Likewise.
1429         * include/debug/multimap.h: Likewise.
1430         * include/profile/set.h: Implement DR 130 fully.
1431         * include/profile/multiset.h: Likewise.
1432         * include/profile/map.h: Likewise.
1433         * include/profile/multimap.h: Likewise.
1434         * include/debug/list: Implement DR 1133 here too.
1435         * include/ext/pb_ds/detail/debug_map_base.hpp: Comment out for
1436         now uses of __gnu_cxx::throw_allocator.
1437         * testsuite/21_strings/basic_string/40160.cc: Don't pass
1438         explicitly -D_GLIBCXX_DEBUG, doesn't play well with profile-mode
1439         testing.
1440
1441 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
1442
1443         * include/profile/bitset (bitset<>::bitset(unsigned long long)): Add
1444         in C++0x mode.
1445         * include/debug/bitset (bitset<>::bitset(unsigned long long)):
1446         Likewise.
1447
1448 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
1449
1450         * include/tr1_impl/hashtable (_Hashtable<>): Remove insert_return_type
1451         typedef.
1452         * include/profile/unordered_map (unordered_map<>::insert(const
1453         value_type&), unordered_multimap<>::insert(const value_type&)): Adjust.
1454         * include/profile/unordered_set (unordered_set<>::insert(const
1455         value_type&), unordered_multimap<>::insert(const value_type&)):
1456         Likewise.
1457
1458 2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
1459
1460         * include/bits/stl_pair.h (pair<>::pair(_U1&&, const _T2&),
1461         pair<>::pair(const _T1&, _U2&&), pair<>::pair(_U1&&, _U2&&)):
1462         Use std::is_constructible instead of std::is_convertible.
1463
1464 2010-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
1465
1466         Revert last change, reinstantiate basic_string and vstring tests.
1467
1468 2010-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
1469
1470         * testsuite/21_strings/basic_string/requirements/exception/
1471         propagation_consistent.cc: Remove, cannot instantiate basic_string
1472         for non-PODs (21/1).
1473         * testsuite/21_strings/basic_string/requirements/exception/
1474         basic.cc: Likewise.
1475         * testsuite/21_strings/basic_string/requirements/exception/
1476         generation_prohibited.cc: Likewise.
1477         * testsuite/ext/vstring/requirements/exception/
1478         propagation_consistent.cc: Likewise.
1479         * testsuite/ext/vstring/requirements/exception/basic.cc:
1480         Likewise.
1481         * testsuite/ext/vstring/requirements/exception/
1482         generation_prohibited.cc: Likewise.