OSDN Git Service

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