OSDN Git Service

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