OSDN Git Service

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