OSDN Git Service

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