OSDN Git Service

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