OSDN Git Service

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