OSDN Git Service

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