OSDN Git Service

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