OSDN Git Service

2010-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2010-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
2
3         * include/std/tuple (_Swallow_assign::operator=): Add const.
4         (ignore): Replace anonymous namespace member with const instance.
5
6 2010-06-10  Suresh Gumpula  <suresh.gumpula@amd.com>
7
8         PR libstdc++/43918
9         * config/os/djgpp/error_constants.h: New.
10         * configure.host: Use it.
11
12 2010-06-10  Paolo Carlini  <paolo.carlini@oracle.com>
13
14         * include/std/tuple (tuple(const tuple&)): Define explicitly-defaulted.
15         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
16         line number.
17
18 2010-06-10  Paolo Carlini  <paolo.carlini@oracle.com>
19
20         PR libstdc++/44487
21         * include/bits/stl_pair.h (pair(pair&&)): Remove.
22         (pair(pair<_U1, _U2>&&): Use forward, consistently with Bullet 5
23         of LWG 1326.
24         * include/std/tuple (tuple(pair<_U1, _U2>&&)): Likewise.
25         * testsuite/20_util/pair/44487.cc: Add.
26         * testsuite/20_util/tuple/cons/44487.cc: Likewise.
27         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
28         line numbers.
29
30 2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
31
32         * include/std/type_traits (is_nothrow_constructible): Add.
33         (declval): Add noexcept specification.
34         * testsuite/util/testsuite_tr1.h (struct NothrowExplicitClass,
35         ThrowExplicitClass, NoexceptExplicitClass, ExceptExplicitClass):
36         Add.
37         * testsuite/20_util/is_nothrow_constructible/value.cc: New.
38         * testsuite/20_util/is_nothrow_constructible/requirements/
39         typedefs.cc: Likewise.
40         * testsuite/20_util/is_nothrow_constructible/requirements/
41         explicit_instantiation.cc: Likewise.
42         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
43         Adjust dg-error line numbers.
44         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
45         Likewise.
46         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
47
48 2010-06-09  Khem Raj  <raj.khem@gmail.com>
49
50         PR libstdc++/44461
51         * libsupc++/eh_arm.cc (__cxa_end_cleanup): Use .pushsection/.popsection
52         to emit inline assembly into .text section.
53
54 2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
55
56         Revert:
57         2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
58
59         PR libstdc++/44413
60         * include/ext/vstring_util.h (__vstring_utility<>::_S_compare):
61         Simplify, just return -1, 0, 1.
62
63 2010-06-09  Iain Sandoe  <iains@gcc.gnu.org>
64
65         PR bootstrap/43170
66         * configure: Regenerate.
67
68 2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
69
70         PR libstdc++/44413
71         * include/ext/vstring_util.h (__vstring_utility<>::_S_compare):
72         Simplify, just return -1, 0, 1.
73
74 2010-06-08  Paolo Carlini  <paolo.carlini@oracle.com>
75
76         * include/std/type_traits (has_nothrow_assign): Rename to
77         has_nothrow_copy_assign.
78         (has_trivial_assign): Rename to has_trivial_copy_assign.
79         * testsuite/20_util/has_nothrow_copy_assign/value.cc: New.
80         * testsuite/20_util/has_nothrow_copy_assign/requirements/
81         typedefs.cc: Likewise.
82         * testsuite/20_util/has_nothrow_copy_assign/requirements/
83         explicit_instantiation.cc: Likewise.
84         * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
85         * testsuite/20_util/has_trivial_copy_assign/requirements/
86         typedefs.cc: Likewise.
87         * testsuite/20_util/has_trivial_copy_assign/requirements/
88         explicit_instantiation.cc: Likewise.
89
90 2010-06-08  Johannes Singler  <singler@kit.edu>
91
92         * include/parallel/find.h
93         (__find_template(.., growing_blocks_tag)): Make block size
94         proportional to current position.
95         * include/parallel/settings.h (_Settings): Introduce new tuning
96         parameter find_scale_factor to the end of the struct, defaults to
97         0.01f.
98
99 2010-06-08  Johannes Singler  <singler@kit.edu>
100
101         * include/parallel/partial_sum.h
102         (__parallel_partial_sum_linear):
103         Correctly calculate part lengths for partial_sum_dilation!=1.
104
105 2010-06-07  Paolo Carlini  <paolo.carlini@oracle.com>
106
107         PR libstdc++/44417
108         * include/c_std/cwctype: Provide a workaround for bug glibc
109         BZ 9694 affecting glibc 2.9 and older.
110         * include/c_global/cwctype: Likewise.
111         * testsuite/util/testsuite_abi.h: Remove temporary workaround.
112         * testsuite/util/testsuite_allocator.h: Use everywhere std::size_t
113         and std::ptrdiff_t, don't include <cstddef>.
114
115         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
116         error_code.cc: Minor tweak, prefer <cwchar> to <wchar.h>.
117
118 2010-06-07  Paolo Carlini  <paolo.carlini@oracle.com>
119
120         * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp:
121         Avoid -Wall warnings.
122         * testsuite/27_io/ios_base/failure/what-3.cc: Likewise.
123         * testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise.
124         * testsuite/27_io/basic_ostringstream/str/char/1.cc: Likewise.
125         * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Likewise.
126         * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Likewise.
127         * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise.
128         * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Likewise.
129         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
130         * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Likewise.
131         * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Likewise.
132         * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Likewise.
133         * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise.
134         * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Likewise.
135         * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise.
136         * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Likewise.
137         * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise.
138         * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Likewise.
139         * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.
140         * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
141         * testsuite/27_io/types/2.cc: Likewise.
142         * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise.
143         * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
144         * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: Likewise.
145         * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
146         * testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise.
147         * testsuite/27_io/basic_istream/ws/char/1.cc: Likewise.
148         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise.
149         * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
150         * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
151         * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
152         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/01.cc:
153         Likewise.
154         * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
155         Likewise.
156         * testsuite/27_io/fpos/mbstate_t/4_neg.cc: Likewise.
157         * testsuite/27_io/fpos/mbstate_t/2.cc: Likewise.
158         * testsuite/27_io/fpos/mbstate_t/3.cc: Likewise.
159         * testsuite/27_io/fpos/mbstate_t/5.cc: Likewise.
160         * testsuite/27_io/basic_ostream/inserters_character/wchar_t/4.cc:
161         Likewise.
162         * testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
163         Likewise.
164         * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: Likewise.
165         * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Likewise.
166         * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Likewise.
167         * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Likewise.
168         * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Likewise.
169         * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Likewise.
170         * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Likewise.
171         * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Likewise.
172         * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Likewise.
173         * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Likewise.
174         * testsuite/25_algorithms/minmax/3.cc: Likewise.
175         * testsuite/19_diagnostics/logic_error/what-3.cc: Likewise.
176         * testsuite/19_diagnostics/runtime_error/what-3.cc: Likewise.
177         * testsuite/19_diagnostics/system_error/what-3.cc: Likewise.
178         * testsuite/24_iterators/front_insert_iterator/2.cc: Likewise.
179         * testsuite/24_iterators/back_insert_iterator/2.cc: Likewise.
180         * testsuite/24_iterators/insert_iterator/2.cc: Likewise.
181         * testsuite/18_support/exception_ptr/make_exception_ptr.cc: Likewise.
182         * testsuite/21_strings/c_strings/wchar_t/1.cc: Likewise.
183         * testsuite/21_strings/c_strings/wchar_t/2.cc: Likewise.
184         * testsuite/21_strings/c_strings/char/1.cc: Likewise.
185         * testsuite/21_strings/c_strings/char/2.cc: Likewise.
186         * testsuite/26_numerics/random/independent_bits_engine/cons/
187         copy.cc: Likewise.
188         * testsuite/26_numerics/random/subtract_with_carry_engine/
189         cons/copy.cc: Likewise.
190         * testsuite/26_numerics/random/subtract_with_carry_engine/
191         requirements/constants.cc: Likewise.
192         * testsuite/26_numerics/random/discard_block_engine/
193         cons/copy.cc: Likewise.
194         * testsuite/26_numerics/random/mersenne_twister_engine/
195         cons/copy.cc: Likewise.
196         * testsuite/26_numerics/random/mersenne_twister_engine/
197         requirements/constants.cc: Likewise.
198         * testsuite/26_numerics/random/linear_congruential_engine/
199         cons/copy.cc: Likewise.
200         * testsuite/26_numerics/random/linear_congruential_engine/
201         requirements/constants.cc: Likewise.
202         * testsuite/26_numerics/random/shuffle_order_engine/
203         cons/copy.cc: Likewise.
204         * testsuite/26_numerics/random/shuffle_order_engine/
205         requirements/constants.cc: Likewise.
206         * testsuite/26_numerics/complex/complex_value.cc: Likewise.
207         * testsuite/26_numerics/headers/cmath/overloads.cc: Likewise.
208         * testsuite/26_numerics/headers/cmath/
209         c99_classification_macros_c++.cc: Likewise.
210         * testsuite/26_numerics/slice_array/array_assignment.cc: Likewise.
211         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
212         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
213         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
214         * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise.
215         * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
216         * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
217         * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
218         * testsuite/22_locale/money_put/put/char/12971.cc: Likewise.
219         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
220         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
221         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
222         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
223         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
224         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
225         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
226         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
227         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
228         * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
229         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
230         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
231         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
232         * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
233         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
234         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
235         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
236         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
237         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
238         * testsuite/22_locale/num_put/put/char/1.cc: Likewise.
239         * testsuite/22_locale/time_get/get_year/wchar_t/5.cc: Likewise.
240         * testsuite/22_locale/time_get/get_year/char/5.cc: Likewise.
241         * testsuite/22_locale/time_get/get_monthname/wchar_t/5.cc: Likewise.
242         * testsuite/22_locale/time_get/get_monthname/char/5.cc: Likewise.
243         * testsuite/22_locale/time_get/get_weekday/wchar_t/5.cc: Likewise.
244         * testsuite/22_locale/time_get/get_weekday/char/5.cc: Likewise.
245         * testsuite/22_locale/time_get/get_date/wchar_t/5.cc: Likewise.
246         * testsuite/22_locale/time_get/get_date/char/5.cc: Likewise.
247         * testsuite/22_locale/time_get/get_time/wchar_t/5.cc: Likewise.
248         * testsuite/22_locale/time_get/get_time/char/5.cc: Likewise.
249         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
250         * testsuite/22_locale/num_get/get/char/1.cc: Likewise.
251         * testsuite/22_locale/moneypunct/members/wchar_t/1.cc: Likewise.
252         * testsuite/22_locale/moneypunct/members/char/1.cc: Likewise.
253         * testsuite/22_locale/ctype_base/mask.cc: Likewise.
254         * testsuite/tr1/5_numerical_facilities/random/
255         subtract_with_carry/requirements/constants.cc: Likewise.
256         * testsuite/tr1/5_numerical_facilities/random/
257         subtract_with_carry_01/requirements/constants.cc: Likewise.
258         * testsuite/tr1/5_numerical_facilities/random/
259         discard_block/requirements/constants.cc: Likewise.
260         * testsuite/tr1/5_numerical_facilities/random/
261         linear_congruential/requirements/constants.cc: Likewise.
262         * testsuite/tr1/5_numerical_facilities/random/
263         mersenne_twister/requirements/constants.cc: Likewise.
264         * testsuite/tr1/5_numerical_facilities/random/
265         xor_combine/requirements/constants.cc: Likewise.
266         * testsuite/tr1/8_c_compatibility/cfenv/functions.cc: Likewise.
267         * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
268         * testsuite/tr1/8_c_compatibility/cstdlib/functions.cc: Likewise.
269         * testsuite/tr1/8_c_compatibility/cstdio/functions.cc: Likewise.
270         * testsuite/tr1/8_c_compatibility/cctype/functions.cc: Likewise.
271         * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Likewise.
272         * testsuite/tr1/8_c_compatibility/cmath/templates.cc: Likewise.
273         * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Likewise.
274         * testsuite/tr1/8_c_compatibility/cwctype/functions.cc: Likewise.
275         * testsuite/tr1/6_containers/utility/pair.cc: Likewise.
276         * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Likewise.
277         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Likewise.
278         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
279         * testsuite/29_atomics/atomic_integral/operators/
280         increment_neg.cc: Likewise.
281         * testsuite/29_atomics/atomic_integral/operators/
282         bitwise_neg.cc: Likewise.
283         * testsuite/29_atomics/atomic_integral/operators/
284         decrement_neg.cc: Likewise.
285         * testsuite/29_atomics/atomic_flag/cons/1.cc: Likewise.
286         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
287         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
288         * testsuite/23_containers/priority_queue/members/7161.cc
289         * testsuite/23_containers/set/dr130.cc: Likewise.
290         * testsuite/23_containers/list/pthread5.cc: Likewise.
291         * testsuite/23_containers/map/dr130.cc: Likewise.
292         * testsuite/util/exception/safety.h: Likewise.
293         * testsuite/util/testsuite_common_types.h: Likewise.
294         * testsuite/20_util/clocks/1.cc: Likewise.
295
296 2010-06-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
297
298         * doc/Makefile.am, doc/Makefile.in (xml_sources_extra): Add
299         fdl-1.3.xml.
300         * doc/xml/manual/intro.xml: Update FDL link.
301         * doc/xml/manual/spine.xml: Update FDL include.
302         * doc/xml/gnu/fdl-1.3.xml: Add.
303         * doc/html/*: Regenerate.
304
305 2010-06-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
306
307         * include/ext/pointer.h (_Pointer_adapter::operator++): Remove
308         name of unused parameter.
309
310 2010-06-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
311
312         PR libstdc++/40296
313         * libsupc++/exception_ptr.h (exception_ptr::exception_ptr): Replace
314         __safe_bool constructor with nullptr_t constructor in C++0x mode.
315         (exception_ptr::operator bool): Add explicit conversion to bool.
316         (swap(exception_ptr&, exception_ptr&)): Add.
317         (exception_ptr::_M_safe_bool_dummy): Only declare for old ABI.
318         * libsupc++/eh_ptr.cc (exception_ptr::_M_safe_bool_dummy): Move
319         next to other functions retained for ABI compatibility.
320         * testsuite/18_support/exception_ptr/requirements.cc: New.
321         * testsuite/18_support/exception_ptr/requirements_neg.cc: New.
322
323 2010-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
324
325         * include/bits/shared_ptr_base.h (_Sp_counted_ptr::_M_dispose): Make
326         nullptr_t specializations inline.
327
328 2010-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
329
330         * doc/xml/manual/status_cxx200x.xml: Update.
331
332 2010-06-05  Magnus Fromreide  <magfr@lysator.liu.se>
333             Jonathan Wakely  <jwakely.gcc@gmail.com>
334
335         * include/std/functional (function): Add nullptr_t support.
336         * include/bits/shared_ptr.h (shared_ptr): Likewise.
337         * include/bits/unique_ptr.h (unique_ptr): Likewise.
338
339 2010-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
340
341         * include/bits/shared_ptr_base.h (__shared_ptr): Add nullptr_t support.
342         (__shared_count): Add nullptr_t support and make constructors explicit.
343         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust.
344         * testsuite/20_util/shared_ptr/cons/nullptr.cc: New.
345         * testsuite/20_util/unique_ptr/cons/nullptr.cc: New.
346         * testsuite/20_util/unique_ptr/assign/nullptr.cc: New.
347         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
348         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
349         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
350
351 2010-06-04  Jason Merrill  <jason@redhat.com>
352
353         * testsuite/util/testsuite_abi.h: Work around glibc BZ 9694.
354
355 2010-06-03  Paolo Carlini  <paolo.carlini@oracle.com>
356
357         * testsuite/util/testsuite_iterators.h: Don't include <cstddef>,
358         don't use NULL, use std::size_t and std::ptrdiff_t.
359         * testsuite/18_support/exception/38732.cc: Likewise.
360         * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: Likewise.
361         * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: Likewise.
362         * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: Likewise.
363         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
364         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
365         * testsuite/23_containers/list/pthread1.cc: Likewise.
366         * testsuite/23_containers/map/pthread6.cc: Likewise.
367         * testsuite/util/testsuite_hooks.cc: Likewise.
368         * config/locale/gnu/codecvt_members.cc: Likewise.
369         * config/locale/gnu/messages_members.cc: Likewise.
370         * config/locale/gnu/c_locale.h: Likewise.
371         * config/locale/gnu/messages_members.h: Likewise.
372         * config/locale/gnu/monetary_members.cc: Likewise.
373         * config/locale/gnu/time_members.cc: Likewise.
374         * config/locale/gnu/time_members.h: Likewise.
375         * config/locale/generic/c_locale.cc: Likewise.
376         * config/locale/generic/codecvt_members.cc: Likewise.
377         * config/locale/generic/c_locale.h: Likewise.
378         * config/locale/generic/time_members.cc: Likewise.
379         * config/locale/generic/time_members.h: Likewise.
380
381 2010-06-03  Paolo Carlini  <paolo.carlini@oracle.com>
382
383         * include/bits/c++config (std::size_t, std::ptrdiff_t,
384         std::nullptr_t): Provide typedefs.
385         * include/c_std/cstddef: Don't provide std::size_t and
386         std::ptrdiff_t here.
387         * include/c_global/cstddef: Likewise.
388         * src/condition_variable.cc: Don't include <cstddef>,
389         don't use NULL, use std::size_t and std::ptrdiff_t.
390         * src/mt_allocator.cc: Likewise.
391         * src/localename.cc: Likewise.
392         * src/chrono.cc: Likewise.
393         * src/thread.cc: Likewise.
394         * include/debug/formatter.h: Likewise.
395         * include/debug/functions.h: Likewise.
396         * include/std/valarray: Likewise.
397         * include/std/thread: Likewise.
398         * include/std/type_traits: Likewise.
399         * include/std/atomic: Likewise.
400         * include/std/iterator: Likewise.
401         * include/std/bitset: Likewise.
402         * include/std/fstream: Likewise.
403         * include/std/mutex: Likewise.
404         * include/c_std/cstdlib: Likewise.
405         * include/c_std/cstdio: Likewise.
406         * include/c_std/ctime: Likewise.
407         * include/c_std/cwchar: Likewise.
408         * include/c_std/cstring: Likewise.
409         * include/parallel/multiway_merge.h: Likewise.
410         * include/parallel/multiseq_selection.h: Likewise.
411         * include/parallel/base.h: Likewise.
412         * include/parallel/basic_iterator.h: Likewise.
413         * include/parallel/multiway_mergesort.h
414         * include/parallel/partition.h: Likewise.
415         * include/ext/string_conversions.h: Likewise.
416         * include/ext/pb_ds/assoc_container.hpp: Likewise.
417         * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp:
418         Likewise.
419         * include/ext/pb_ds/detail/resize_policy/
420         hash_prime_size_policy_imp.hpp: Likewise.
421         * include/ext/pb_ds/detail/resize_policy/
422         sample_resize_policy.hpp: Likewise.
423         * include/ext/pb_ds/detail/resize_policy/
424         sample_resize_trigger.hpp: Likewise.
425         * include/ext/pb_ds/detail/binomial_heap_base_/
426         erase_fn_imps.hpp: Likewise.
427         * include/ext/pb_ds/detail/binomial_heap_base_/
428         find_fn_imps.hpp: Likewise.
429         * include/ext/pb_ds/detail/binomial_heap_base_/
430         insert_fn_imps.hpp: Likewise.
431         * include/ext/pb_ds/detail/binomial_heap_base_/
432         constructors_destructor_fn_imps.hpp: Likewise.
433         * include/ext/pb_ds/detail/binomial_heap_base_/
434         debug_fn_imps.hpp: Likewise.
435         * include/ext/pb_ds/detail/binomial_heap_base_/
436         split_join_fn_imps.hpp: Likewise.
437         * include/ext/pb_ds/detail/cc_hash_table_map_/
438         erase_store_hash_fn_imps.hpp: Likewise.
439         * include/ext/pb_ds/d: Likewise.etail/cc_hash_table_map_/
440         insert_no_store_hash_fn_imps.hpp
441         * include/ext/pb_ds/detail/cc_hash_table_map_/
442         cmp_fn_imps.hpp: Likewise.
443         * include/ext/pb_ds/detail/cc_hash_table_map_/
444         find_fn_imps.hpp: Likewise.
445         * include/ext/pb_ds/detail/cc_hash_table_map_/
446         insert_store_hash_fn_imps.hpp: Likewise.
447         * include/ext/pb_ds/detail/cc_hash_table_map_/
448         debug_fn_imps.hpp: Likewise.
449         * include/ext/pb_ds/detail/cc_hash_table_map_/
450         info_fn_imps.hpp: Likewise.
451         * include/ext/pb_ds/detail/cc_hash_table_map_/
452         entry_list_fn_imps.hpp: Likewise.
453         * include/ext/pb_ds/detail/cc_hash_table_map_/
454         trace_fn_imps.hpp: Likewise.
455         * include/ext/pb_ds/detail/cc_hash_table_map_/
456         erase_fn_imps.hpp: Likewise.
457         * include/ext/pb_ds/detail/cc_hash_table_map_/
458         cc_ht_map_.hpp: Likewise.
459         * include/ext/pb_ds/detail/cc_hash_table_map_/
460         resize_fn_imps.hpp: Likewise.
461         * include/ext/pb_ds/detail/cc_hash_table_map_/
462         constructor_destructor_fn_imps.hpp: Likewise.
463         * include/ext/pb_ds/detail/cc_hash_table_map_/
464         erase_no_store_hash_fn_imps.hpp: Likewise.
465         * include/ext/pb_ds/detail/unordered_iterator/
466         iterator.hpp: Likewise.
467         * include/ext/pb_ds/detail/unordered_iterator/
468         const_iterator.hpp: Likewise.
469         * include/ext/pb_ds/detail/unordered_iterator/
470         point_iterator.hpp: Likewise.
471         * include/ext/pb_ds/detail/unordered_iterator/
472         const_point_iterator.hpp: Likewise.
473         * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Likewise.
474         * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Likewise.
475         * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Likewise.
476         * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Likewise.
477         * include/ext/pb_ds/detail/pat_trie_/
478         insert_join_fn_imps.hpp: Likewise.
479         * include/ext/pb_ds/detail/pat_trie_/
480         constructors_destructor_fn_imps.hpp: Likewise.
481         * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Likewise.
482         * include/ext/pb_ds/detail/pat_trie_/
483         const_child_iterator.hpp: Likewise.
484         * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Likewise.
485         * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Likewise.
486         * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Likewise.
487         * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Likewise.
488         * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Likewise.
489         * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Likewise.
490         * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Likewise.
491         * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Likewise.
492         * include/ext/pb_ds/detail/bin_search_tree_/
493         find_fn_imps.hpp: Likewise.
494         * include/ext/pb_ds/detail/bin_search_tree_/
495         r_erase_fn_imps.hpp: Likewise.
496         * include/ext/pb_ds/detail/bin_search_tree_/
497         constructors_destructor_fn_imps.hpp: Likewise.
498         * include/ext/pb_ds/detail/bin_search_tree_/
499         debug_fn_imps.hpp: Likewise.
500         * include/ext/pb_ds/detail/bin_search_tree_/
501         rotate_fn_imps.hpp: Likewise.
502         * include/ext/pb_ds/detail/bin_search_tree_/
503         erase_fn_imps.hpp: Likewise.
504         * include/ext/pb_ds/detail/bin_search_tree_/
505         insert_fn_imps.hpp: Likewise.
506         * include/ext/pb_ds/detail/bin_search_tree_/
507         node_iterators.hpp: Likewise.
508         * include/ext/pb_ds/detail/bin_search_tree_/
509         point_iterators.hpp: Likewise.
510         * include/ext/pb_ds/detail/bin_search_tree_/
511         split_join_fn_imps.hpp: Likewise.
512         * include/ext/pb_ds/detail/bin_search_tree_/
513         iterators_fn_imps.hpp: Likewise.
514         * include/ext/pb_ds/detail/gp_hash_table_map_/
515         find_fn_imps.hpp: Likewise.
516         * include/ext/pb_ds/detail/gp_hash_table_map_/
517         gp_ht_map_.hpp: Likewise.
518         * include/ext/pb_ds/detail/gp_hash_table_map_/
519         resize_fn_imps.hpp: Likewise.
520         * include/ext/pb_ds/detail/gp_hash_table_map_/
521         standard_policies.hpp: Likewise.
522         * include/ext/pb_ds/detail/tree_policy/
523         sample_tree_node_update.hpp: Likewise.
524         * include/ext/pb_ds/detail/basic_tree_policy/
525         null_node_metadata.hpp: Likewise.
526         * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Likewise.
527         * include/ext/pb_ds/detail/binary_heap_/
528         const_point_iterator.hpp: Likewise.
529         * include/ext/pb_ds/detail/binary_heap_/
530         split_join_fn_imps.hpp: Likewise.
531         * include/ext/pb_ds/detail/trie_policy/
532         sample_trie_node_update.hpp: Likewise.
533         * include/ext/pb_ds/detail/trie_policy/
534         sample_trie_e_access_traits.hpp: Likewise.
535         * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Likewise.
536         * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Likewise.
537         * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Likewise.
538         * include/ext/pb_ds/detail/pairing_heap_/
539         split_join_fn_imps.hpp: Likewise.
540         * include/ext/pb_ds/detail/list_update_policy/
541         counter_lu_metadata.hpp: Likewise.
542         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
543         trace_fn_imps.hpp: Likewise.
544         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
545         erase_fn_imps.hpp: Likewise.
546         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
547         null_metadata.hpp: Likewise.
548         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
549         const_iterator.hpp: Likewise.
550         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
551         insert_fn_imps.hpp: Likewise.
552         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
553         constructors_destructor_fn_imps.hpp: Likewise.
554         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
555         debug_fn_imps.hpp: Likewise.
556         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
557         iterators_fn_imps.hpp: Likewise.
558         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
559         const_point_iterator.hpp: Likewise.
560         * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Likewise.
561         * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Likewise.
562         * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Likewise.
563         * include/ext/pb_ds/detail/thin_heap_/
564         constructors_destructor_fn_imps.hpp: Likewise.
565         * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Likewise.
566         * include/ext/pb_ds/detail/thin_heap_/
567         split_join_fn_imps.hpp: Likewise.
568         * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Likewise.
569         * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Likewise.
570         * include/ext/pb_ds/detail/ov_tree_map_/
571         constructors_destructor_fn_imps.hpp: Likewise.
572         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Likewise.
573         * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Likewise.
574         * include/ext/pb_ds/detail/ov_tree_map_/
575         iterators_fn_imps.hpp: Likewise.
576         * include/ext/pb_ds/detail/hash_fn/sample_probe_fn.hpp: Likewise.
577         * include/ext/pb_ds/detail/hash_fn/
578         sample_ranged_probe_fn.hpp: Likewise.
579         * include/ext/pb_ds/detail/hash_fn/sample_range_hashing.hpp: Likewise.
580         * include/ext/pb_ds/detail/hash_fn/
581         sample_ranged_hash_fn.hpp: Likewise.
582         * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Likewise.
583         * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Likewise.
584         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Likewise.
585         * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Likewise.
586         * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Likewise.
587         * include/ext/pb_ds/detail/splay_tree_/
588         split_join_fn_imps.hpp: Likewise.
589         * include/ext/pb_ds/detail/list_update_map_/
590         trace_fn_imps.hpp: Likewise.
591         * include/ext/pb_ds/detail/list_update_map_/
592         erase_fn_imps.hpp: Likewise.
593         * include/ext/pb_ds/detail/list_update_map_/
594         find_fn_imps.hpp: Likewise.
595         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Likewise.
596         * include/ext/pb_ds/detail/list_update_map_/
597         constructor_destructor_fn_imps.hpp: Likewise.
598         * include/ext/pb_ds/detail/list_update_map_/
599         insert_fn_imps.hpp: Likewise.
600         * include/ext/pb_ds/detail/list_update_map_/
601         info_fn_imps.hpp: Likewise.
602         * include/ext/pb_ds/detail/list_update_map_/
603         iterators_fn_imps.hpp: Likewise.
604         * include/ext/pb_ds/detail/rc_binomial_heap_/
605         erase_fn_imps.hpp: Likewise.
606         * include/ext/pb_ds/detail/rc_binomial_heap_/
607         insert_fn_imps.hpp: Likewise.
608         * include/ext/pb_ds/detail/rc_binomial_heap_/
609         debug_fn_imps.hpp: Likewise.
610         * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Likewise.
611         * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Likewise.
612         * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Likewise.
613         * include/ext/pb_ds/detail/rb_tree_map_/
614         split_join_fn_imps.hpp: Likewise.
615         * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Likewise.
616         * include/ext/pb_ds/list_update_policy.hpp: Likewise.
617         * include/ext/pb_ds/exception.hpp: Likewise.
618         * include/ext/pb_ds/tree_policy.hpp: Likewise.
619         * include/ext/pb_ds/tag_and_trait.hpp: Likewise.
620         * include/ext/pb_ds/hash_policy.hpp: Likewise.
621         * include/ext/pb_ds/trie_policy.hpp: Likewise.
622         * include/ext/pb_ds/priority_queue.hpp: Likewise.
623         * include/ext/throw_allocator.h: Likewis: Likewise.e.
624         * include/ext/bitmap_allocator.h
625         * include/ext/rc_string_base.h: Likewise.
626         * include/ext/new_allocator.h: Likewise.
627         * include/ext/codecvt_specializations.h: Likewise.
628         * include/ext/functional: Likewise.: Likewise.
629         * include/ext/array_allocator.h: Likewise.
630         * include/ext/mt_allocator.h: Likewise.
631         * include/ext/sso_string_base.h: Likewise.
632         * include/profile/impl/profiler_trace.h: Likewise.
633         * include/profile/impl/profiler_node.h: Likewise.
634         * include/bits/stl_algobase.h: Likewise.
635         * include/bits/functional_hash.h: Likewise.
636         * include/bits/locale_facets.tcc: Likewise.
637         * include/bits/locale_facets.h: Likewise.
638         * include/bits/stl_iterator_base_types.h: Likewise.
639         * include/bits/move.h: Likewise.
640         * include/bits/boost_concept_check.h: Likewise.
641         * include/bits/basic_string.tcc: Likewise.
642         * include/bits/locale_facets_nonio.tcc: Likewise.
643         * include/bits/fstream.tcc: Likewise.
644         * include/bits/locale_facets_nonio.h: Likewise.
645         * include/c_global/cstdlib: Likewise.
646         * include/c_global/cstdio: Likewise.
647         * include/c_global/ctime: Likewise.
648         * include/c_global/cwchar: Likewise.
649         * include/c_global/cstring
650         * include/tr1/type_traits: Likewise.
651         * include/backward/hash_fun.h: Likewise.
652         * libsupc++/new: Likewise.
653         * libsupc++/initializer_list: Likewise.
654         * testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
655         * testsuite/27_io/basic_iostream/cons/2020.cc: Likewise.
656         * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
657         * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
658         * testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc: Likewise.
659         * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
660         * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise.
661         * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
662         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1057.cc: Likewise.
663         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
664         * testsuite/27_io/basic_streambuf/sputn/char/1057.cc: Likewise.
665         * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
666         * testsuite/27_io/basic_streambuf/sputc/wchar_t/1057.cc: Likewise.
667         * testsuite/27_io/basic_streambuf/sputc/char/1057.cc: Likewise.
668         * testsuite/27_io/objects/wchar_t/5268.cc: Likewise.
669         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
670         * testsuite/27_io/objects/char/5268.cc: Likewise.
671         * testsuite/27_io/objects/char/10.cc: Likewise.
672         * testsuite/27_io/basic_ios/copyfmt/char/1.cc: Likewise.
673         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
674         * testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise.
675         * testsuite/27_io/basic_ios/locales/char/1.cc: Likewise.
676         * testsuite/27_io/basic_ios/clear/char/1.cc: Likewise.
677         * testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
678         * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1057.cc: Likewise.
679         * testsuite/27_io/basic_stringbuf/sputc/char/1057.cc: Likewise.
680         * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1057.cc: Likewise.
681         * testsuite/27_io/basic_stringbuf/sputn/char/1057.cc: Likewise.
682         * testsuite/27_io/basic_istream/get/wchar_t/1.cc: Likewise.
683         * testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
684         * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise.
685         * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
686         * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: Likewise.
687         * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
688         * testsuite/27_io/basic_istream/getline/wchar_t/1.cc: Likewise.
689         * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
690         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
691         exceptions_null.cc
692         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
693         1.cc: Likewise.
694         * testsuite/27_io/basic_istream/extractors_other/char/
695         exceptions_null.cc: Likewise.
696         * testsuite/27_io/basic_istream/extractors_other/char/1.cc: Likewise.
697         * testsuite/27_io/basic_istream/cons/3.cc: Likewise.
698         * testsuite/27_io/basic_istream/extractors_arithmetic/
699         wchar_t/01.cc: Likewise.
700         * testsuite/27_io/basic_istream/extractors_arithmetic/
701         char/01.cc: Likewise.
702         * testsuite/27_io/basic_istream/extractors_character/
703         wchar_t/1.cc: Likewise.
704         * testsuite/27_io/basic_istream/extractors_character/
705         wchar_t/2.cc: Likewise.
706         * testsuite/27_io/basic_istream/extractors_character/
707         wchar_t/3.cc: Likewise.
708         * testsuite/27_io/basic_istream/extractors_character/
709         char/1.cc: Likewise.
710         * testsuite/27_io/basic_istream/extractors_character/
711         char/2.cc: Likewise.
712         * testsuite/27_io/basic_istream/extractors_character/
713         char/3.cc: Likewise.
714         * testsuite/27_io/basic_istream/extractors_character/
715         char/9826.cc: Likewise.
716         * testsuite/27_io/basic_istream/read/wchar_t/1.cc: Likewise.
717         * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
718         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
719         exceptions_null.cc: Likewise.
720         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
721         1.cc: Likewise.
722         * testsuite/27_io/basic_ostream/inserters_other/char/
723         exceptions_null.cc: Likewise.
724         * testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Likewise.
725         * testsuite/27_io/basic_ostream/cons/2020.cc: Likewise.
726         * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Likewise.
727         * testsuite/27_io/basic_ostream/inserters_character/
728         wchar_t/8.cc: Likewise.
729         * testsuite/27_io/basic_ostream/inserters_character/
730         char/8.cc: Likewise.
731         * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Likewise.
732         * testsuite/27_io/basic_filebuf/sputc/char/1057.cc: Likewise.
733         * testsuite/27_io/basic_filebuf/open/char/1.cc: Likewise.
734         * testsuite/27_io/basic_filebuf/open/char/2.cc: Likewise.
735         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
736         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
737         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
738         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
739         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
740         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
741         * testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc: Likewise.
742         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
743         * testsuite/27_io/basic_filebuf/close/char/1.cc: Likewise.
744         * testsuite/27_io/basic_filebuf/close/char/2.cc: Likewise.
745         * testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Likewise.
746         * testsuite/27_io/basic_filebuf/sputn/char/1057.cc: Likewise.
747         * testsuite/24_iterators/ostreambuf_iterator/2.cc: Likewise.
748         * testsuite/18_support/bad_exception/23591_thread-1.c
749         * testsuite/18_support/new_delete_placement.cc: Likewise.
750         * testsuite/18_support/pthread_guard.cc: Likewise.
751         * testsuite/21_strings/basic_string/operations/wchar_t/1.cc: Likewise.
752         * testsuite/21_strings/basic_string/operations/char/1.cc: Likewise.
753         * testsuite/21_strings/basic_string/pthread4.cc: Likewise.
754         * testsuite/21_strings/basic_string/cons/wchar_t/5.cc: Likewise.
755         * testsuite/21_strings/basic_string/cons/char/5.cc: Likewise.
756         * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
757         * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
758         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
759         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
760         * testsuite/30_threads/mutex/cons/assign_neg.cc: Likewise.
761         * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
762         * testsuite/30_threads/thread/cons/assign_neg.cc: Likewise.
763         * testsuite/30_threads/thread/cons/copy_neg.cc: Likewise.
764         * testsuite/30_threads/recursive_timed_mutex/cons/
765         assign_neg.cc: Likewise.
766         * testsuite/30_threads/recursive_timed_mutex/cons/
767         copy_neg.cc: Likewise.
768         * testsuite/ext/mt_allocator/22309_thread.cc: Likewise.
769         * testsuite/ext/slist/23781.cc: Likewise.
770         * testsuite/ext/rope/pthread7-rope.cc: Likewise.
771         * testsuite/ext/stdio_filebuf/char/10063-2.cc: Likewise.
772         * testsuite/22_locale/ctype/is/wchar_t/1.cc: Likewise.
773         * testsuite/22_locale/ctype/is/char/1.cc: Likewise.
774         * testsuite/22_locale/time_put/put/char/12439_1.cc: Likewise.
775         * testsuite/22_locale/time_put/put/char/12439_3.cc: Likewise.
776         * testsuite/22_locale/locale/cons/2.cc: Likewise.
777         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
778         * testsuite/22_locale/locale/cons/29217.cc: Likewise.
779         * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.
780         * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
781         * testsuite/tr1/6_containers/unordered_multimap/
782         requirements/iterator_null_neg.cc: Likewise.
783         * testsuite/tr1/6_containers/unordered_multiset/
784         requirements/iterator_null_neg.cc: Likewise.
785         * testsuite/29_atomics/atomic_address/cons/single_value.cc: Likewise.
786         * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Likewise.
787         * testsuite/23_containers/multimap/23781.cc: Likewise.
788         * testsuite/23_containers/set/23781.cc: Likewise.
789         * testsuite/23_containers/multiset/23781.cc: Likewise.
790         * testsuite/23_containers/list/pthread1.cc: Likewise.
791         * testsuite/23_containers/list/23781.cc: Likewise.
792         * testsuite/23_containers/map/pthread6.cc: Likewise.
793         * testsuite/23_containers/map/23781.cc: Likewise.
794         * testsuite/util/regression/rand/priority_queue/
795         rand_regression_test.hpp: Likewise.
796         * testsuite/util/regression/rand/priority_queue/
797         container_rand_regression_test.tcc: Likewise.
798         * testsuite/util/regression/rand/assoc/
799         rand_regression_test.hpp: Likewise.
800         * testsuite/util/regression/rand/assoc/
801         container_rand_regression_test.tcc: Likewise.
802         * testsuite/util/testsuite_hooks.cc: Likewise.
803         * testsuite/util/testsuite_io.h: Likewise.
804         * testsuite/util/testsuite_iterators.h: Likewise.
805         * testsuite/util/replacement_memory_operators.h: Likewise.
806         * testsuite/util/testsuite_allocator.h: Likewise.
807         * testsuite/util/testsuite_performance.h: Likewise.
808
809 2010-06-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
810
811         * testsuite/tr1/2_general_utilities/shared_ptr/cons/pointer.cc: Fix
812         which tests are run.
813         * testsuite/20_util/shared_ptr/cons/pointer.cc: Likewise.
814
815 2010-06-01  Maxim Kuvyrkov  <maxim@codesourcery.com>
816
817         * acinclude.m4, configure.host: Support Bionic C library.
818         * configure: Regenerate.
819         * config/os/bionic/ctype_base.h, config/os/bionic/ctype_inline.h,
820         * config/os/bionic/ctype_noincline.h, config/os/bionic/os_defines.h:
821         New files, based on config/os/newlib/*.
822
823 2010-05-31  Jonathan Wakely  <jwakely.gcc@gmail.com>
824
825         PR libstdc++/43820
826         * include/bits/shared_ptr_base.h: Require complete type.
827         * include/tr1/shared_ptr.h: Likewise.
828         * testsuite/20_util/shared_ptr/cons/43820.cc: New.
829         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: New.
830
831 2010-05-31  Paolo Carlini  <paolo.carlini@oracle.com>
832
833         * include/bits/basic_string.h (front, back): Add.
834         * include/debug/string: Adjust.
835         * include/ext/vstring.h (front, back): Tweak the implementation
836         to follow more closely the letter of the specs.
837         * testsuite/21_strings/basic_string/element_access/char/
838         front_back.cc: New.
839         * testsuite/21_strings/basic_string/element_access/wchar_t/
840         front_back.cc: Likewise.
841         * config/abi/pre/gnu.ver: Export new symbols.
842         * testsuite/util/testsuite_abi.cc: Adjust.
843         * configure.ac: Bump minor version to 6:15:0.
844         * configure: Regenerate.
845
846 2010-05-28  Paolo Carlini  <paolo.carlini@oracle.com>
847
848         * include/bits/stl_vector.h (vector<>::data): Fix return type
849         in c++0x mode.
850         * testsuite/23_containers/vector/requirements/dr438/
851         assign_neg.cc: Adjust dg-error line number.
852         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
853         Likewise.
854         * testsuite/23_containers/vector/requirements/dr438/
855         constructor_1_neg.cc: Likewise.
856         * testsuite/23_containers/vector/requirements/dr438/
857         constructor_2_neg.cc: Likewise.
858
859 2010-05-27  Jason Merrill  <jason@redhat.com>
860
861         Revert:
862         PR libstdc++/42832
863         * include/std/functional (function<>::swap): Perform bytewise
864         swap of _M_functor.
865         * include/tr1/functional (function<>::swap): Likewise.
866
867 2010-05-27  Paolo Carlini  <paolo.carlini@oracle.com>
868
869         PR libstdc++/40497
870         * include/bits/cpp_type_traits.h (__is_iterator): Add.
871         * include/bits/stl_iterator_base_funcs.h (next, prev): Use it.
872         * testsuite/24_iterators/operations/40497.cc: New.
873
874 2010-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
875
876         PR libstdc++/25306
877         * include/bits/stl_algobase.h (fill_n): Use a properly typed __niter
878         initialized to __n.
879         * include/bits/stl_algo.h (generate_n): Likewise.
880         * testsuite/25_algorithms/fill_n/25306.cc: New.
881         * testsuite/25_algorithms/generate_n/25306.cc: Likewise.
882
883 2010-05-21  Joseph Myers  <joseph@codesourcery.com>
884
885         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Use GNU locale model for
886         glibc 2.3 and later, but not uClibc, without an execution test.
887         * configure: Regenerate.
888         * doc/xml/manual/configure.xml, doc/xml/manual/prerequisites.xml,
889         doc/xml/faq.xml: Update.
890
891 2010-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
892
893         * include/tr1/functional: Use std::__addressof.
894         * include/tr1/hashtable_policy.h: Likewise.
895
896 2010-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
897
898         PR libstdc++/41792
899         * include/tr1_impl/array: Use std::__addressof.
900         * include/std/functional (reference_wrapper): Likewise.
901         * include/ext/throw_allocator.h: Likewise.
902         * include/ext/pool_allocator.h: Likewise.
903         * include/ext/bitmap_allocator.h: Likewise.
904         * include/ext/new_allocator.h: Likewise.
905         * include/ext/malloc_allocator.h: Likewise.
906         * include/ext/array_allocator.h: Likewise.
907         * include/ext/mt_allocator.h: Likewise.
908         * include/ext/extptr_allocator.h: Likewise.
909         * include/bits/stl_list.h: Likewise.
910         * include/bits/hashtable_policy.h: Likewise.
911         * include/bits/forward_list.h: Likewise.
912         * include/bits/stl_uninitialized.h: Likewise.
913         * include/bits/list.tcc: Likewise.
914         * include/bits/stl_construct.h: Likewise.
915         * include/bits/stl_tree.h: Likewise.
916         * testsuite/20_util/reference_wrapper/41792.cc: New.
917         * testsuite/23_containers/unordered_map/requirements/
918         explicit_instantiation/4.cc: Likewise.
919         * testsuite/23_containers/multimap/requirements/
920         explicit_instantiation/4.cc: Likewise.
921         * testsuite/23_containers/set/requirements/
922         explicit_instantiation/4.cc: Likewise.
923         * testsuite/23_containers/unordered_multimap/requirements/
924         explicit_instantiation/4.cc: Likewise.
925         * testsuite/23_containers/forward_list/requirements/
926         explicit_instantiation/4.cc: Likewise.
927         * testsuite/23_containers/unordered_set/requirements/
928         explicit_instantiation/4.cc: Likewise.
929         * testsuite/23_containers/vector/requirements/
930         explicit_instantiation/4.cc: Likewise.
931         * testsuite/23_containers/deque/requirements/
932         explicit_instantiation/4.cc: Likewise.
933         * testsuite/23_containers/multiset/requirements/
934         explicit_instantiation/4.cc: Likewise.
935         * testsuite/23_containers/list/requirements/
936         explicit_instantiation/4.cc: Likewise.
937         * testsuite/23_containers/unordered_multiset/requirements/
938         explicit_instantiation/4.cc: Likewise.
939         * testsuite/23_containers/map/requirements/
940         explicit_instantiation/4.cc: Likewise.
941         * testsuite/23_containers/array/requirements/
942         explicit_instantiation/3.cc: Likewise.
943         * testsuite/23_containers/forward_list/requirements/
944         dr438/assign_neg.cc: Adjust dg-error line numbers.
945         * testsuite/23_containers/forward_list/requirements/dr438/
946         insert_neg.cc: Likewise.
947         * testsuite/23_containers/forward_list/requirements/dr438/
948         constructor_1_neg.cc: Likewise.
949         * testsuite/23_containers/forward_list/requirements/dr438/
950         constructor_2_neg.cc: Likewise.
951         * testsuite/23_containers/list/requirements/dr438/
952         assign_neg.cc: Likewise.
953         * testsuite/23_containers/list/requirements/dr438/
954         insert_neg.cc: Likewise.
955         * testsuite/23_containers/list/requirements/dr438/
956         constructor_1_neg.cc: Likewise.
957         * testsuite/23_containers/list/requirements/dr438/
958         constructor_2_neg.cc: Likewise.
959
960 2010-05-20  Peter Dimov  <pdimov@pdimov.com>
961             Paolo Carlini  <paolo.carlini@oracle.com>
962
963         * include/bits/move.h (__addressof, addressof): Add.
964         * testsuite/util/testsuite_api.h (struct OverloadedAddress): Add.
965         * testsuite/20_util/addressof/requirements/
966         explicit_instantiation.cc: New.
967         * testsuite/20_util/addressof/1.cc: Likewise.
968
969 2010-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
970
971         * include/bits/stl_pair.h (pair<>::pair(const pair&)): Defaulted
972         in C++0x mode.
973         (pair<>::operator=(const pair<>&)): Add in C++0x mode.
974         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
975         line number.
976
977 2010-05-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
978
979         * testsuite/30_threads/future/members/wait.cc (wait): Rename.
980         * testsuite/30_threads/shared_future/members/wait.cc (wait): Likewise.
981
982 2010-05-18  Eelis van der Weegen  <gcc-bugzilla@contacts.eelis.net>
983
984         PR libstdc++/44190
985         * include/debug/vector (vector<>::resize): Call
986         _M_update_guaranteed_capacity.
987         * testsuite/23_containers/vector/capacity/44190.cc: New.
988
989 2010-05-17  Paolo Carlini  <paolo.carlini@oracle.com>
990
991         * include/std/functional (result_of): Move...
992         * include/std/type_traits: ... here.
993         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
994         line number.
995
996 2010-05-12  Jason Merrill  <jason@redhat.com>
997
998         * testsuite/20_util/auto_ptr/assign_neg.cc: Expect template
999         candidate messages.
1000         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
1001         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
1002
1003 2010-05-11  Silvius Rus  <silvius.rus@gmail.com>
1004
1005         PR libstdc++/43259
1006         * include/profile/impl/profiler_algos.h: New.
1007         * include/Makefile.am: Add.
1008         * include/Makefile.in: Regenerate.
1009         * include/profile/impl/profiler.h
1010         (_GLIBCXX_PROFILE_DEFINE_UNINIT_DATA): Add.
1011         * include/profile/impl/profiler_trace.h
1012         (__mutex_t, __lock, __unlock): Remove.
1013         (__lock_object_table, __lock_stack_table): Remove. Replace uses with
1014         calls to __gnu_cxx::__mutex::lock.
1015         (__unlock_object_table, __unlock_stack_table): Remove. Replace uses
1016         with calls to __gnu_cxx::__mutex::unlock.
1017         (__warn, __cost_factor_writer, __cost_factor_setter): Add.
1018         * testsuite/ext/profile/profiler_algos.cc: New.
1019
1020 2010-05-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1021
1022         * libsupc++/exception_ptr.h (make_exception_ptr): Add.
1023         * testsuite/18_support/exception_ptr/make_exception_ptr.cc: New.
1024
1025 2010-05-06  Jason Merrill  <jason@redhat.com>
1026
1027         * config/abi/pre/gnu.ver: Move decltype(nullptr) into CXXABI_1.3.5.
1028         * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.5.
1029
1030         * config/abi/pre/gnu.ver: Add typeinfo for decltype(nullptr).
1031
1032 2010-05-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
1033
1034         * include/bits/basic_string.h: Escape class names in doxygen docs.
1035
1036 2010-05-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
1037
1038         PR libstdc++/44014
1039         * include/bits/stringfwd.h: Add doxygen comments and new group.
1040         * include/bits/basic_string.h: Add to new doxygen group.
1041         * doc/doxygen/user.cfg.in (ALIASES): Link to correct group.
1042
1043 2010-05-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1044
1045         * configure.host: Removed irix[1-6], irix[1-5].*, irix6.[0-4]*
1046         support.
1047         * config/os/irix/irix5.2: Removed.
1048
1049 2010-05-05  Paolo Carlini  <paolo.carlini@oracle.com>
1050
1051         * testsuite/23_containers/vector/bool/capacity/29134.cc: Adjust
1052         for profile-mode too.
1053         * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc:
1054         Likewise.
1055
1056 2010-05-05  Paolo Carlini  <paolo.carlini@oracle.com>
1057
1058         * include/profile/unordered_map (unordered_map<>::insert(_InputIter,
1059         _InputIter), unordered_multimap<>::insert(_InputIter, _InputIter)):
1060         Fix typo, don't call base() on __first and __last.
1061
1062 2010-05-05  Paolo Carlini  <paolo.carlini@oracle.com>
1063
1064         Fix profile-mode vs -std=c++0x
1065         * include/profile/impl/profiler_trace.h: Do not include the
1066         whole <algorithm>, include <bits/stl_heap.h> (additionally
1067         to <bits/stl_algobase.h>).
1068         (__write_cost_factors): Replace std::for_each with open-coding.
1069         (__set_cost_factors): Likewise.
1070         (__report): Likewise; use std::make_heap / std::sort_heap
1071         instead of std::sort.
1072         (__report_cost_factors): Replace std::remove with open-coding.
1073         (__warn, __cost_factor_writer, __cost_factor_setter): Remove.
1074
1075 2010-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1076
1077         PR other/43620
1078         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1079         * configure: Regenerate.
1080         * Makefile.in: Regenerate.
1081         * doc/Makefile.in: Regenerate.
1082         * include/Makefile.in: Regenerate.
1083         * libsupc++/Makefile.in: Regenerate.
1084         * po/Makefile.in: Regenerate.
1085         * python/Makefile.in: Regenerate.
1086         * src/Makefile.in: Regenerate.
1087         * testsuite/Makefile.in: Regenerate.
1088
1089 2010-05-01  Jonathan Wakely  <jwakely.gcc@gmail.com>
1090
1091         * doc/xml/faq.xml: Fix anachronisms.
1092         * doc/xml/manual/intro.xml (Make): Tweak grammar and whitespace.
1093         * doc/xml/manual/support.xml (NULL): Use inline <code> element
1094         instead of <programlisting> block.
1095         * doc/html/*: Regenerate.
1096
1097 2010-04-30  Paolo Carlini  <paolo.carlini@oracle.com>
1098
1099         * include/bits/stl_pair.h (piecewise_construct_t,
1100         pair<>::pair(piecewise_construct_t, tuple, tuple)): Add.
1101         (pair<>::__cons, pair<>::__do_cons): Declare.
1102         (__decay_and_strip, __strip_reference_wrapper): Move...
1103         * include/std/type_traits: ... here.
1104         * include/std/functional (_Index_tuple, _Build_index_tuple): Move...
1105         * include/std/tuple: ... here.
1106         (pack_arguments): Add.
1107         (pair<>::__cons, pair<>::__do_cons): Define.
1108         * testsuite/20_util/tuple/creation_functions/pack_arguments.cc: New.
1109         * testsuite/20_util/pair/piecewise.cc: Likewise.
1110         * testsuite/20_util/tuple/cons/big_tuples.cc: Include <utility>.
1111         * testsuite/20_util/tuple/cons/constructor.cc: Likewise.
1112         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
1113         dg-error line numbers.
1114         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1115         Likewise.
1116         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1117
1118 2010-04-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
1119
1120         PR libstdc++/43865
1121         * include/c_global/cstdlib (abort, exit): _GLIBCXX_NORETURN typo.
1122
1123 2010-04-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
1124
1125         * doc/xml/manual/status_cxx200x.xml: Update quick_exit status.
1126         * doc/html/*: Regenerate.
1127
1128 2010-04-27  Fabien Chêne  <fabien.chene@gmail.com>
1129
1130         * testsuite/util/testsuite_error.h: Add empty default constructor
1131         to __gnu_test::test_category and
1132         __gnu_test::test_derived_category.
1133         * src/future.cc: Add empty default constructor to
1134         future_error_category.
1135         * src/system_error.cc: Add default ctor to generic_error_category
1136         and system_error_category.
1137
1138 2010-04-27  Alexander Monakov  <amonakov@ispras.ru>
1139
1140         * testsuite/22_locale/codecvt/unshift/char/1.cc (test01): Clarify size
1141         definition.  Use memcpy and memcmp to avoid access beyond allocated
1142         memory.
1143
1144 2010-04-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
1145
1146         * doc/xml/manual/status_cxx200x.xml: Update to match n3092.
1147         * doc/html/*: Regenerate.
1148
1149 2010-04-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
1150
1151         * doc/xml/manual/status_cxx200x.xml: Update Threads status.
1152         * doc/html/manual/status.html: Regenerate.
1153
1154 2010-04-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
1155
1156         * include/bits/unique_ptr (unique_ptr::pointer): Use deleter's
1157         pointer type if it exists.
1158         * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: New.
1159         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
1160         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
1161
1162 2010-04-22  Johannes Singler  <singler@kit.edu>
1163
1164         * include/parallel/partition.h (__parallel_partition):
1165         Improve scalability by:
1166         -introducing new variables __leftold, __rightold, __dist, thus
1167         -getting rid of omp lock by using atomic operations
1168         -getting rid of two omp barriers
1169
1170 2010-04-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
1171
1172         * doc/xml/faq.xml: Link to manual.
1173         * doc/xml/manual/using.xml: Expand dynamic libraries section.
1174         * doc/xml/manual/strings.xml: Mention shrink_to_fit() member.
1175         * doc/xml/manual/prerequisites.xml: Link to doxygen requirements.
1176         * doc/xml/manual/appendix_contributing.xml: Update Bash version.
1177         * doc/html/*: Regenerate.
1178
1179 2010-04-13  Ian Lance Taylor  <iant@google.com>
1180
1181         * include/backward/hash_map: Don't #include "backward_warning.h"
1182         if _GLIBCXX_PERMIT_BACKWARD_HASH is defined.
1183         * include/backward/hash_set: Likewise.
1184
1185 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1186
1187         * configure.host (os_include_dir): Removed solaris2.7 support.
1188         * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Likewise.
1189         * configure: Regenerate.
1190
1191 2010-04-06  Matthias Klose  <doko@ubuntu.com>
1192
1193         * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Show test result.
1194         * configure: Regenerate.
1195         * doc/xml/manual/configure.xml, doc/html/manual/configure.html:
1196         Document --enable-libstdcxx-time as the short form for
1197         --enable-libstdcxx-time=yes.
1198
1199 2010-04-03  Paolo Carlini  <paolo.carlini@oracle.com>
1200
1201         * include/bits/basic_string.h: Fix pasto in comment.
1202         * include/ext/vstring.h: Likewise.
1203
1204 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1205
1206         * Makefile.in: Regenerate.
1207         * aclocal.m4: Regenerate.
1208         * doc/Makefile.in: Regenerate.
1209         * include/Makefile.in: Regenerate.
1210         * libsupc++/Makefile.in: Regenerate.
1211         * po/Makefile.in: Regenerate.
1212         * python/Makefile.in: Regenerate.
1213         * src/Makefile.in: Regenerate.
1214         * testsuite/Makefile.in: Regenerate.
1215
1216 2010-03-30  Johannes Singler  <singler@kit.edu>
1217
1218         * include/parallel/random_shuffle.h
1219         (__parallel_random_shuffle_drs) : Take as many threads as
1220         possible, i. e. favor parallelism over cache efficiency.
1221         Use own PRNG also for the 1 thread case.
1222
1223 2010-03-30  Paolo Carlini  <paolo.carlini@oracle.com>
1224
1225         * include/debug/unordered_map: Clean-up includes and guards.
1226         * include/debug/unordered_set: Likewise.
1227         * include/debug/list: Likewise.
1228         * include/profile/unordered_map: Likewise.
1229         * include/profile/unordered_set: Likewise.
1230
1231 2010-03-29  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1232
1233         PR target/43458
1234         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
1235         Xfail hppa*-*-hpux*.
1236
1237 2010-03-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1238
1239         * doc/xml/manual/profile_mode.xml (Profile Diagnostics): Correct
1240         cols.
1241         * doc/xml/manual/using.xml (C++ 1998 Library Headers): Add missing
1242         c5 colspec.
1243         (C++ 1998 Library Headers for C Library Facilities): Likewise.
1244         (C++ 200x Library Headers): Likewise.
1245
1246 2010-03-25  Paolo Carlini  <paolo.carlini@oracle.com>
1247
1248         * include/bits/unordered_map.h (operator==, operator!=): Add per N3068.
1249         * include/bits/unordered_set.h (operator==, operator!=): Likewise.
1250         * include/debug/unordered_map (operator==, operator!=): Likewise.
1251         * include/debug/unordered_set: Likewise.
1252         * include/profile/unordered_map: Likewise.
1253         * include/profile/unordered_set: Likewise.
1254         * testsuite/23_containers/unordered_map/operators/1.cc: New.
1255         * testsuite/23_containers/unordered_multimap/operators/1.cc: Likewise.
1256         * testsuite/23_containers/unordered_multimap/operators/2.cc: Likewise.
1257         * testsuite/23_containers/unordered_set/operators/1.cc: Likewise.
1258         * testsuite/23_containers/unordered_multiset/operators/1.cc: Likewise.
1259
1260 2010-03-25  John Lakos  <jlakos@bloomberg.net>
1261             Pablo Halpern  <phalpern@halpernwightsoftware.com>
1262             Paolo Carlini  <paolo.carlini@oracle.com>
1263
1264         * include/bits/hashtable_policy.h (struct _Equality_base): Add.
1265         * include/bits/hashtable.h (_Hashtable<>): Derive from the latter.
1266
1267 2010-03-23  Paolo Carlini  <paolo.carlini@oracle.com>
1268
1269         * testsuite/util/testsuite_tr1.h (NType, TType, SLType, PODType): Add.
1270         * testsuite/20_util/is_trivial/value.cc: Adjust.
1271         * testsuite/20_util/is_standard_layout/value.cc: Likewise.
1272         * testsuite/20_util/is_pod/value.cc: Likewise.
1273
1274 2010-03-23  Paolo Carlini  <paolo.carlini@oracle.com>
1275
1276         * testsuite/20_util/is_trivial/value.cc: New.
1277         * testsuite/20_util/is_standard_layout/value.cc: Likewise.
1278         * testsuite/20_util/is_pod/value.cc: Extend.
1279
1280 2010-03-23  Paolo Carlini  <paolo.carlini@oracle.com>
1281
1282         * include/bits/stl_algobase.h (lower_bound(_ForwardIterator,
1283         _ForwardIterator, const _Tp&, _Compare)): Move...
1284         * include/bits/stl_algo.h: ... here.
1285
1286 2010-03-22  Johannes Singler  <singler@kit.edu>
1287
1288         * include/parallel/numeric (inner_product, partial_sum):
1289         Precede subsequent call with _GLIBCXX_STD_P:: to avoid ambiguity
1290         between __gnu_parallel:: and std::
1291         * include/parallel/algobase.h (equal): Likewise.
1292         * include/parallel/algo.h (find_first_of, search_n, merge, nth_element,
1293         partial_sort, max_element, min_element): Likewise.
1294         * include/parallel/partial_sum.h (__parallel_partial_sum_linear):
1295         Qualify accumulate call with __gnu_parallel::.
1296
1297 2010-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
1298
1299         * include/parallel/base.h (_PseudoSequence): Do not forward declare.
1300         (_VoidFunctor): Remove, unused.
1301         (__median_of_three_iterators): Take __comp by value.
1302         (_PseudoSequenceIterator<>::operator++(int)): Do not const qualify
1303         the return type.
1304         (_PseudoSequenceIterator<>::operator!=): Fix return type to bool.
1305
1306 2010-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
1307
1308         * include/parallel/base.h (_Less): Use std::less.
1309         (_Plus): Likewise use std::plus.
1310         (_Multiplies): Likewise use std::multiplies.
1311         * include/parallel/numeric: Adjust.
1312
1313 2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
1314
1315         * testsuite/17_intro/freestanding.cc: Avoid -Wall warnings.
1316
1317 2010-03-19  Rodolfo Lima  <rodolfo@rodsoft.org>
1318
1319         * include/bits/shared_ptr.h (shared_ptr(unique_ptr&&),
1320         shared_ptr(auto_ptr&&)): Remove explicit specifier (as per DR 925).
1321         * include/bits/shared_ptr_base.h: Likewise.
1322         * testsuite/20_util/shared_ptr/creation/dr925.cc: New.
1323
1324 2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
1325
1326         * include/bits/random.tcc: Minor formatting changes.
1327
1328 2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
1329
1330         * include/bits/stl_algo.h (shuffle): Fix typo in signature.
1331         * include/bits/algorithmfwd.h: Adjust.
1332         * testsuite/25_algorithms/shuffle/requirements/
1333         explicit_instantiation/2.cc: Likewise.
1334         * testsuite/25_algorithms/shuffle/requirements/
1335         explicit_instantiation/pod.cc: Likewise.
1336
1337 2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
1338
1339         * include/bits/stl_algo.h (shuffle): Add, per D3056.
1340         (random_shuffle): Fix signature in C++0x mode.
1341         (lower_bound, __lg): Move...
1342         * include/bits/stl_algobase.h: ... here.
1343         * include/bits/algorithmfwd.h: Adjust.
1344         * include/parallel/algorithmfwd.h: Likewise.
1345         * include/parallel/algo.h: Likewise.
1346         * include/bits/hashtable_policy.h (__lower_bound): Remove,
1347         adjust callers.
1348         * include/tr1/hashtable_policy.h (__lower_bound): Likewise.
1349         * include/bits/random.tcc (__detail::__transform): Add,
1350         adjust std::transform callers; don't include <algorithm>.
1351         * testsuite/25_algorithms/shuffle/1.cc: Add.
1352         * testsuite/25_algorithms/shuffle/requirements/
1353         explicit_instantiation/2.cc: Likewise.
1354         * testsuite/25_algorithms/shuffle/requirements/
1355         explicit_instantiation/pod.cc: Likewise.
1356
1357         * include/bits/random.h: Add comments.
1358
1359 2010-03-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
1360
1361         * doc/xml/manual/debug_mode.xml: Correct debug headers.
1362
1363 2010-03-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
1364
1365         PR libstdc++/43397
1366         * include/std/functional (_Mem_fn): Use perfect forwarding.
1367         * testsuite/20_util/function/43397.cc: New.
1368
1369 2010-03-16  Paolo Carlini  <paolo.carlini@oracle.com>
1370
1371         PR libstdc++/43394
1372         * include/parallel/compatibility.h: Add __k8 and __core2 among the
1373         i386 targets supporting atomic operations.
1374
1375 2010-03-16  Paolo Carlini  <paolo.carlini@oracle.com>
1376
1377         * include/backward/hash_map: Use consistently the _BACKWARD_*
1378         prefix for the include guard.
1379         * include/backward/hash_fun.h: Likewise.
1380         * include/backward/hashtable.h: Likewise.
1381         * include/backward/auto_ptr.h: Likewise.
1382         * include/backward/strstream: Likewise.
1383         * include/backward/binders.h: Likewise.
1384         * include/backward/hash_set: Likewise.
1385
1386 2010-03-16  Paolo Carlini  <paolo.carlini@oracle.com>
1387
1388         * include/bits/random.h (operator==(const uniform_int_distribution<>&,
1389         const uniform_int_distribution<>&), operator==(const
1390         uniform_real_distribution<>&, const uniform_real_distribution<>&),
1391         operator==(const lognormal_distribution<>&,
1392         const lognormal_distribution<>&), operator==(const
1393         chi_squared_distribution<>&, const chi_squared_distribution<>&),
1394         operator==(const cauchy_distribution<>&, const cauchy_distribution<>&),
1395         operator==(const fisher_distribution<>&, const fisher_distribution<>&),
1396         operator==(const student_t_distribution<>&,
1397         const student_t_distribution<>&), operator==(const
1398         bernoulli_distribution<>&, const bernoulli_distribution<>&),
1399         operator==(const binomial_distribution<>&, const
1400         binomial_distribution<>&), operator==(const geometric_distribution<>&,
1401         const geometric_distribution<>&), operator==(const
1402         negative_binomial_distribution<>&, const
1403         negative_binomial_distribution<>&), operator==(const
1404         poisson_distribution<>&, const poisson_distribution<>&),
1405         operator==(const exponential_distribution<>&,
1406         const exponential_distribution<>&), operator==(const
1407         gamma_distribution<>&, const gamma_distribution<>&), operator==(const
1408         weibull_distribution<>&, const weibull_distribution<>&),
1409         operator==(const extreme_value_distribution<>&,
1410         const extreme_value_distribution<>&), operator==(const
1411         discrete_distribution<>&, const discrete_distribution<>&),
1412         operator==(const piecewise_constant_distribution<>&,
1413         const piecewise_constant_distribution<>&), operator==(const
1414         piecewise_linear_distribution<>&, const
1415         piecewise_linear_distribution<>&)): Add, likewise for operator!=.
1416         (operator!=(const independent_bits_engine<>&, const
1417         independent_bits_engine<>&), operator!=(const
1418         subtract_with_carry_engine<>&, const subtract_with_carry_engine<>&),
1419         operator!=(const discard_block_engine<>&, const
1420         discard_block_engine<>&), operator!=(const mersenne_twister_engine<>&,
1421         const mersenne_twister_engine<>&), operator!=(const
1422         linear_congruential_engine<>&, const linear_congruential_engine<>&),
1423         operator!=(const shuffle_order_engine<>&, const
1424         shuffle_order_engine<>&): Add.
1425         * include/bits/random.tcc (operator==(const normal_distribution<>&,
1426         const normal_distribution<>&)): Add.
1427         * testsuite/26_numerics/random/uniform_real_distribution/operators/
1428         inequal.cc: New.
1429         * testsuite/26_numerics/random/uniform_real_distribution/operators/
1430         equal.cc: Likewise.
1431         * testsuite/26_numerics/random/piecewise_constant_distribution/
1432         operators/inequal.cc: Likewise.
1433         * testsuite/26_numerics/random/piecewise_constant_distribution/
1434         operators/equal.cc: Likewise.
1435         * testsuite/26_numerics/random/chi_squared_distribution/operators/
1436         inequal.cc: Likewise.
1437         * testsuite/26_numerics/random/chi_squared_distribution/operators/
1438         equal.cc: Likewise.
1439         * testsuite/26_numerics/random/normal_distribution/operators/
1440         inequal.cc: Likewise.
1441         * testsuite/26_numerics/random/normal_distribution/operators/
1442         equal.cc: Likewise.
1443         * testsuite/26_numerics/random/uniform_int_distribution/operators/
1444         inequal.cc: Likewise.
1445         * testsuite/26_numerics/random/uniform_int_distribution/operators/
1446         equal.cc: Likewise.
1447         * testsuite/26_numerics/random/poisson_distribution/operators/
1448         inequal.cc: Likewise.
1449         * testsuite/26_numerics/random/poisson_distribution/operators/
1450         equal.cc: Likewise.
1451         * testsuite/26_numerics/random/bernoulli_distribution/operators/
1452         inequal.cc: Likewise.
1453         * testsuite/26_numerics/random/bernoulli_distribution/operators/
1454         equal.cc: Likewise.
1455         * testsuite/26_numerics/random/discrete_distribution/operators/
1456         inequal.cc: Likewise.
1457         * testsuite/26_numerics/random/discrete_distribution/operators/
1458         equal.cc: Likewise.
1459         * testsuite/26_numerics/random/weibull_distribution/operators/
1460         inequal.cc: Likewise.
1461         * testsuite/26_numerics/random/weibull_distribution/operators/
1462         equal.cc: Likewise.
1463         * testsuite/26_numerics/random/independent_bits_engine/operators/
1464         inequal.cc: Likewise.
1465         * testsuite/26_numerics/random/subtract_with_carry_engine/operators/
1466         inequal.cc: Likewise.
1467         * testsuite/26_numerics/random/discard_block_engine/operators/
1468         inequal.cc: Likewise.
1469         * testsuite/26_numerics/random/cauchy_distribution/operators/
1470         inequal.cc: Likewise.
1471         * testsuite/26_numerics/random/cauchy_distribution/operators/
1472         equal.cc: Likewise.
1473         * testsuite/26_numerics/random/negative_binomial_distribution/
1474         operators/inequal.cc: Likewise.
1475         * testsuite/26_numerics/random/negative_binomial_distribution/
1476         operators/equal.cc: Likewise.
1477         * testsuite/26_numerics/random/gamma_distribution/operators/
1478         inequal.cc: Likewise.
1479         * testsuite/26_numerics/random/gamma_distribution/operators/
1480         equal.cc: Likewise.
1481         * testsuite/26_numerics/random/mersenne_twister_engine/operators/
1482         inequal.cc: Likewise.
1483         * testsuite/26_numerics/random/fisher_f_distribution/operators/
1484         inequal.cc: Likewise.
1485         * testsuite/26_numerics/random/fisher_f_distribution/operators/
1486         equal.cc: Likewise.
1487         * testsuite/26_numerics/random/exponential_distribution/operators/
1488         inequal.cc: Likewise.
1489         * testsuite/26_numerics/random/exponential_distribution/operators/
1490         equal.cc: Likewise.
1491         * testsuite/26_numerics/random/binomial_distribution/operators/
1492         inequal.cc: Likewise.
1493         * testsuite/26_numerics/random/binomial_distribution/operators/
1494         equal.cc: Likewise.
1495         * testsuite/26_numerics/random/lognormal_distribution/operators/
1496         inequal.cc: Likewise.
1497         * testsuite/26_numerics/random/lognormal_distribution/operators/
1498         equal.cc: Likewise.
1499         * testsuite/26_numerics/random/extreme_value_distribution/operators/
1500         inequal.cc: Likewise.
1501         * testsuite/26_numerics/random/extreme_value_distribution/operators/
1502         equal.cc: Likewise.
1503         * testsuite/26_numerics/random/piecewise_linear_distribution/
1504         operators/inequal.cc: Likewise.
1505         * testsuite/26_numerics/random/piecewise_linear_distribution/
1506         operators/equal.cc: Likewise.
1507         * testsuite/26_numerics/random/student_t_distribution/operators/
1508         inequal.cc: Likewise.
1509         * testsuite/26_numerics/random/student_t_distribution/operators/
1510         equal.cc: Likewise.
1511         * testsuite/26_numerics/random/linear_congruential_engine/operators/
1512         inequal.cc: Likewise.
1513         * testsuite/26_numerics/random/shuffle_order_engine/operators/
1514         inequal.cc: Likewise.
1515         * testsuite/26_numerics/random/geometric_distribution/operators/
1516         inequal.cc: Likewise.
1517         * testsuite/26_numerics/random/geometric_distribution/operators/
1518         equal.cc: Likewise.
1519
1520 2010-03-15  Paolo Carlini  <paolo.carlini@oracle.com>
1521
1522         * include/bits/forward_list.tcc (_Fwd_list_node_base::
1523         _M_transfer_after): Return _Fwd_list_node_base*.
1524         (forward_list<>::_M_splice_after): Add.
1525         (forward_list<>::insert_after(const_iterator, size_type, const _Tp&),
1526         insert_after(const_iterator, _InputIterator, _InputIterator),
1527         insert_after(const_iterator, initializer_list<>)): Use the above,
1528         implement DR 1278 ([Ready] in Pittsburgh).
1529         * include/bits/forward_list.h (insert_after(const_iterator,
1530         size_type, const _Tp&), insert_after(const_iterator, _InputIterator,
1531         _InputIterator), insert_after(const_iterator, initializer_list<>)):
1532         Only declare.
1533         * testsuite/23_containers/forward_list/modifiers/2.cc: Adjust.
1534         * testsuite/23_containers/forward_list/requirements/dr438/
1535         assign_neg.cc: Adjust dg-error line number.
1536         * testsuite/23_containers/forward_list/requirements/dr438/
1537         insert_neg.cc: Likewise.
1538         * testsuite/23_containers/forward_list/requirements/dr438/
1539         constructor_1_neg.cc: Likewise.
1540         * testsuite/23_containers/forward_list/requirements/dr438/
1541         constructor_2_neg.cc: Likewise.
1542
1543 2010-03-15  Paolo Carlini  <paolo.carlini@oracle.com>
1544
1545         * testsuite/23_containers/forward_list/requirements/dr438/
1546         assign_neg.cc: Adjust dg-error line number.
1547         * testsuite/23_containers/forward_list/requirements/dr438/
1548         constructor_1_neg.cc: Likewise.
1549         * testsuite/23_containers/forward_list/requirements/dr438/
1550         constructor_2_neg.cc: Likewise.
1551         * testsuite/23_containers/forward_list/requirements/dr438/
1552         insert_neg.cc: Likewise.
1553         * testsuite/23_containers/forward_list/capacity/1.cc: Adjust.
1554
1555         Revert:
1556         2008-11-11  Bob Walters  <bob.s.walters@gmail.com>
1557
1558         * include/bits/forward_list.h: Support non-standard pointer types
1559         (_Fwd_list_node_base): Add _Alloc template parameter.
1560         (_Fwd_list_node<>): Likewise.
1561         (_Fwd_list_iterator<>): Likewise.
1562         (_Fwd_list_const_iterator<>): Likewise.
1563         (_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
1564         Use _Alloc<_Tp>::pointer.
1565         (_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
1566         (_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
1567         _M_insert_after, _M_put_node, _M_erase_after): Likewise.
1568         (_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
1569         (forward_list<>): Use __static_pointer_cast in place of static_cast,
1570         and __const_pointer_cast in place of const_cast.
1571         * include/bits/forward_list.tcc
1572         (_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
1573         of standard pointers, __static_pointer_cast in place of static_cast.
1574         (_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
1575         Likewise.
1576         (forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
1577         splice_after, remove, remove_if, merge): Likewise.
1578         * testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
1579         * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
1580         Likewise.
1581         * testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
1582         Likewise.
1583         * testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
1584         Likewise.
1585         * testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
1586         Likewise.
1587         * testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
1588         Likewise.
1589         * testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
1590         Likewise.
1591         * testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
1592         Likewise.
1593         * testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
1594         Likewise.
1595         * testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
1596         Likewise.
1597         * testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
1598         Likewise.
1599         * testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
1600         Likewise.
1601         * testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
1602         Likewise.
1603         * testsuite/23_containers/forward_list/ext_pointer/requirements/
1604         explicit_instantiation/1.cc: Likewise.
1605         * testsuite/23_containers/forward_list/ext_pointer/requirements/
1606         explicit_instantiation/3.cc: Likewise.
1607         * testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.
1608
1609 2010-03-13  Paolo Carlini  <paolo.carlini@oracle.com>
1610
1611         * include/tr1_impl/array (swap(array<>&, array<>&)): Use member swap.
1612
1613         * include/bits/stl_algo.h: Improve comment.
1614
1615 2010-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1616
1617         * scripts/run_doxygen: Adjust.
1618         * doc/doxygen/user.cfg.in: Adjust latex, xml prefs.
1619         * doc/xml/api.xml: Update.
1620         * doc/Makefile.am: Re-do stamp rules.
1621         * doc/Makefile.in: Regenerate.
1622
1623 2010-03-10  Paolo Carlini  <paolo.carlini@oracle.com>
1624
1625         * include/bits/hashtable_policy.h (_Rehash_base<_Prime_rehash_policy,
1626         _Hashtable>::reserve): Add, per DR 1189.
1627         * include/bits/hashtable.h (_Hashtable<>::size_type,
1628         _Hashtable<>::difference_type): Do not typedef from _Allocator.
1629         * testsuite/23_containers/unordered_map/dr1189.cc: New.
1630         * testsuite/23_containers/unordered_set/dr1189.cc: Likewise.
1631         * testsuite/23_containers/unordered_multimap/dr1189.cc: Likewise.
1632         * testsuite/23_containers/unordered_multiset/dr1189.cc: Likewise.
1633
1634 2010-03-08  Paolo Carlini  <paolo.carlini@oracle.com>
1635
1636         Revert:
1637         2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
1638
1639         PR libstdc++/41975, DR 579
1640         * include/bits/hashtable.h (_Hashtable<>::_M_erase_node): Remove.
1641         (erase(const_iterator), erase(const_iterator, const_iterator)):
1642         Change return type to void.
1643         * include/debug/unordered_map: Adjust.
1644         * include/debug/unordered_set: Likewise.
1645         * testsuite/util/exception/safety.h: Likewise.
1646         * testsuite/23_containers/unordered_map/erase/1.cc: Likewise.
1647         * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
1648         * testsuite/23_containers/unordered_set/erase/1.cc:  Likewise.
1649         * testsuite/23_containers/unordered_set/erase/24061-map.cc: Likewise.
1650         * testsuite/23_containers/unordered_multimap/erase/1.cc:  Likewise.
1651         * testsuite/23_containers/unordered_multimap/erase/24061-map.cc:
1652         Likewise.
1653         * testsuite/23_containers/unordered_multiset/erase/1.cc:  Likewise.
1654         * testsuite/23_containers/unordered_multiset/erase/24061-map.cc:
1655         Likewise.
1656
1657 2010-03-04  Paolo Carlini  <paolo.carlini@oracle.com>
1658
1659         * testsuite/util/testsuite_container_traits.h (traits_base): Add
1660         has_throwing_erase trait.
1661         (traits<vector>, traits<deque>): Typedef the latter to true_type.
1662         * testsuite/util/exception/safety.h (generation_prohibited):
1663         Do not test vector::erase and deque::erase: can throw if
1664         either copy constructor or assignment operator of value_type
1665         throws.
1666         * testsuite/23_containers/vector/requirements/exception/
1667         generation_prohibited.cc: Remove xfail.
1668         * testsuite/23_containers/deque/requirements/exception/
1669         generation_prohibited.cc: Likewise.
1670
1671         * include/ext/throw_allocator.h (hash<__gnu_cxx::throw_value_limit>::
1672         operator(), hash<__gnu_cxx::throw_value_random>::operator()): Pass
1673         argument by const ref.
1674
1675         * testsuite/util/testsuite_container_traits.h (traits<map>,
1676         traits<multimap>, traits<set>, traits<multiset>,
1677         traits<unordered_map>, traits<unordered_multimap>,
1678         traits<unordered_set>, traits<unordered_multiset>): Typedef
1679         consistently has_erase and has_insert as true_type.
1680
1681         * testsuite/util/testsuite_container_traits.h
1682         (traits<unordered_map>, traits<unordered_multimap>,
1683         traits<unordered_set>, traits<unordered_multiset>): Do not wrongly
1684         typedef has_size_type_constructor as true_type: the constructor
1685         accepting a size_type actually gets the initial number of
1686         buckets.
1687
1688 2010-03-03  Benjamin Kosnik  <bkoz@redhat.com>
1689
1690         * doc/Makefile.am: Re-organize xml sources.
1691         (doc-latex-doxygen): New.
1692         (doc-pdf-doxygen): New.
1693         (stamp-xml-doxygen, stamp-latex-doxygen): New.
1694         * doc/Makefile.in: Regenerate.
1695         * doc/doxygen/user.cfg.in: Add support here.
1696         * doc/xml/manual/appendix_contributing.xml: Add specifics.
1697
1698         * doc/xml/manual/concurrency.xml: New.
1699         * doc/xml/manual/atomics.xml: New.
1700         * doc/xml/manual/spine.xml: Adjust.
1701         * doc/xml/manual/diagnostics.xml: Adjust.
1702
1703 2010-03-03  Paolo Carlini  <paolo.carlini@oracle.com>
1704             Jonathan Wakely  <jwakely.gcc@gmail.com>
1705
1706         * include/bits/unique_ptr.h (unique_ptr<>::get_deleter): Simplify
1707         return type.
1708         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust
1709         dg-error line number.
1710         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
1711
1712 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
1713
1714         * include/debug/bitset (hash): Minor tweaks.
1715         * include/debug/vector (hash): Likewise.
1716         * include/profile/bitset (hash): Likewise.
1717         * include/profile/vector (hash): Likewise.
1718
1719 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
1720
1721         * include/bits/functional_hash.h (_Fnv_hash_base<>::hash): Change
1722         to template.
1723         * include/tr1/functional_hash.h (_Fnv_hash_base<>::hash): Likewise.
1724         * include/bits/vector.tcc (hash): Adjust.
1725         * include/bits/basic_string.h (hash): Likewise.
1726         * include/std/bitset (hash): Likewise.
1727         * src/hash-string-aux.cc (hash): Likewise.
1728
1729 2010-03-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1730
1731         * include/std/mutex (lock_guard::lock_guard): Do not lock mutex when
1732         adopt_lock_t constructor is used.
1733         * testsuite/30_threads/lock_guard/cons/1.cc: New.
1734
1735 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
1736
1737         * include/bits/stl_bvector.h (hash<vector<bool, _Alloc>>::
1738         operator()(const vector<bool, _Alloc>&)): Move definition...
1739         * include/bits/vector.tcc: ... here.
1740
1741 2010-03-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1742
1743         * testsuite/Makefile.am (check-DEJAGNU): Include de* in normal0
1744         dirs.
1745         * testsuite/Makefile.in: Regenerate.
1746
1747 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
1748
1749         * include/bits/stl_bvector.h (hash<vector<bool, _Alloc>>): Add.
1750         * include/debug/vector (hash<__debug::vector<bool, _Alloc>>):
1751         Likewise.
1752         * include/profile/vector (hash<__profile::vector<bool, _Alloc>>):
1753         Likewise.
1754         * testsuite/23_containers/vector/bool/hash/1.cc: New.
1755
1756         * include/std/bitset (hash<bitset<_Nb>>): Small tweaks.
1757         (hash<bitset<0>>): Add.
1758         * include/debug/bitset (hash<__debug::bitset<_Nb>>): Forward to
1759         hash<bitset<_Nb>>.
1760         * include/profile/bitset (hash<__profile::bitset<_Nb>>): Likewise.
1761         * testsuite/23_containers/bitset/hash/1.cc: Improve.
1762
1763 2010-03-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1764
1765         PR libstdc++/43230
1766         * testsuite/30_threads/promise/members/set_value3.cc
1767         (tester::~tester): Remove.
1768
1769 2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
1770
1771         * include/std/bitset (_Base_bitset<>::_M_getdata()): Add.
1772         (hash<bitset<_Nb>>): Add, use the latter.
1773         * include/debug/bitset (hash<__debug::bitset<_Nb>>): Add.
1774         * include/profile/bitset (hash<__profile::bitset<_Nb>>): Likewise.
1775         * testsuite/23_containers/bitset/hash/1.cc: New.
1776
1777 2010-03-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1778
1779         PR libstdc++/43183
1780         * include/bits/unique_ptr.h (reset): Fix as per working paper.
1781         (operator*, operator->, operator[], operator bool, release): Use
1782         pointer's null value instead of 0.
1783         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
1784         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
1785         * testsuite/20_util/unique_ptr/modifiers/43183.cc: New.
1786
1787 2010-03-01  Paolo Carlini  <paolo.carlini@oracle.com>
1788
1789         * include/std/iomanip (get_money, put_money): Add in C++0x mode; tidy.
1790         * testsuite/27_io/manipulators/extended/get_money/char/1.cc: New.
1791         * testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc:
1792         Likewise.
1793         * testsuite/27_io/manipulators/extended/put_money/char/1.cc: Likewise.
1794         * testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc:
1795         Likewise.
1796
1797 2010-03-01  Benjamin Kosnik  <bkoz@redhat.com>
1798
1799         * include/bits/atomicfwd_cxx.h: Add typedefs to group.
1800
1801 2010-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1802
1803         PR libstdc++/32499
1804         * testsuite/Makefile.am (check-DEJAGNU
1805         $(check_DEJAGNU_normal_targets)): Export AR, RANLIB.
1806         * testsuite/Makefile.in: Regenerate.
1807
1808 2010-02-28  Gerald Pfeifer  <gerald@pfeifer.com>
1809
1810         * doc/html/ext/pb_ds/references.html: Adjust link to SGI's STL
1811         site.
1812
1813 2010-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
1814
1815        * src/hash-long-double-aux.cc (hash<long double>::
1816        operator()(long double)): Hash both -0 and +0 to 0.
1817
1818 2010-02-25  Ed Smith-Rowland  <3dw4rd@verizon.net>
1819
1820         * include/bits/random.tcc (operator<<): Use max_digits10.
1821
1822 2010-02-25  Ed Smith-Rowland  <3dw4rd@verizon.net>
1823
1824         * include/std/limits (__numeric_limits_base::max_digits10,
1825         numeric_limits<>::max_digits10, numeric_limits<>::lowest): Add.
1826         * src/limits.cc: Define max_digits10.
1827         * config/abi/pre/gnu.ver: Adjust.
1828         * testsuite/18_support/numeric_limits/dr559.cc: Test max_digits10
1829         and lowest too.
1830         * testsuite/18_support/numeric_limits/lowest.cc: New.
1831         * testsuite/18_support/numeric_limits/max_digits10.cc: New.
1832
1833 2010-02-25  Paolo Carlini  <paolo.carlini@oracle.com>
1834
1835         * include/bits/functional_hash.h (__hash_combine): Remove.
1836         (_Fnv_hash_base<>::hash(const char*, size_t)): Add defaulted
1837         hash parameter.
1838         (_Fnv_hash::__hash_combine(const _Tp&, size_t)): Add.
1839         * include/std/system_error (hash<system_error>): Adjust.
1840         * src/compatibility-c++0x.cc (hash<system_error>): Likewise.
1841
1842 2010-02-24  Benjamin Kosnik  <bkoz@redhat.com>
1843
1844         * doc/xml/faq.xml: Adjust structure for pdf index.
1845         * doc/xml/manual/mt_allocator.xml: Same.
1846         * doc/xml/manual/allocator.xml: Same.
1847         * doc/xml/manual/ctype.xml: Same.
1848         * doc/xml/manual/numerics.xml: Same.
1849         * doc/xml/manual/codecvt.xml: Same.
1850         * doc/xml/manual/intro.xml: Same.
1851         * doc/xml/manual/shared_ptr.xml: Same.
1852         * doc/xml/manual/status_cxxtr1.xml: Same.
1853         * doc/xml/manual/auto_ptr.xml: Same.
1854         * doc/xml/manual/internals.xml: Same.
1855         * doc/xml/manual/status_cxx1998.xml: Same.
1856         * doc/xml/manual/parallel_mode.xml: Same.
1857         * doc/xml/manual/profile_mode.xml: Same.
1858         * doc/xml/manual/containers.xml: Same.
1859         * doc/xml/manual/io.xml: Same.
1860         * doc/xml/manual/concurrency_extensions.xml: Same.
1861         * doc/xml/manual/appendix_porting.xml: Same.
1862         * doc/xml/manual/utilities.xml: Same.
1863         * doc/xml/manual/support.xml: Same.
1864         * doc/xml/manual/bitmap_allocator.xml: Same.
1865         * doc/xml/manual/configure.xml: Same.
1866         * doc/xml/manual/build_hacking.xml: Same.
1867         * doc/xml/manual/evolution.xml: Same.
1868         * doc/xml/manual/using.xml: Same.
1869         * doc/xml/manual/debug.xml: Same.
1870         * doc/xml/manual/localization.xml: Same.
1871         * doc/xml/manual/strings.xml: Same.
1872         * doc/xml/manual/debug_mode.xml: Same.
1873         * doc/xml/manual/locale.xml: Same.
1874         * doc/xml/manual/extensions.xml: Same.
1875         * doc/xml/manual/appendix_contributing.xml: Same.
1876         * doc/xml/manual/prerequisites.xml: Same.
1877         * doc/xml/manual/messages.xml: Same.
1878         * doc/xml/manual/diagnostics.xml: Same.
1879         * doc/xml/manual/algorithms.xml: Same.
1880         * doc/xml/manual/appendix_free.xml: Same.
1881         * doc/xml/manual/iterators.xml: Same.
1882         * doc/xml/manual/spine.xml: Same.
1883         * doc/xml/manual/status_cxxtr24733.xml: Same.
1884         * doc/xml/manual/status_cxx200x.xml: Same.
1885         * doc/Makefile.am: Refactor.
1886         * doc/Makefile.in: Regenerate.
1887
1888         * include/bits/c++0x_warning.h: Tweak doxygen file markup.
1889
1890 2010-02-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1891
1892         * testsuite/ext/new_allocator/deallocate_global.cc: Require
1893         __cxa_atexit.
1894         * testsuite/ext/throw_allocator/deallocate_global.cc: Likewise.
1895
1896 2010-02-23  Benjamin Kosnik  <bkoz@redhat.com>
1897
1898         * doc/xml/manual/concurrency.xml: Move...
1899         * doc/xml/manual/concurrency_extensions.xml: ...here.
1900         * doc/xml/manual/extensions.xml: Adjust.
1901         * doc/Makefile.am: Adjust.
1902         * doc/Makefile.in: Regenerate.
1903
1904 2010-02-23  Benjamin Kosnik  <bkoz@redhat.com>
1905
1906         * include/bits/random.h: Doxygen group markup fixes.
1907
1908 2010-02-23  Paolo Carlini  <paolo.carlini@oracle.com>
1909
1910         * include/bits/functional_hash.h (struct _Fnv_hash): Rename
1911         to _Fnv_hash_base.
1912         (struct _Fnv_hash): Add, derives from the latter.
1913         (__hash_combine): Add.
1914         (hash<float>::operator()(float), hash<double>::operator()(double)):
1915         Adjust.
1916         * include/bits/basic_string.h (hash<string>, hash<wstring>,
1917         hash<u16string>, hash<u32string>): Adjust.
1918         * src/hash-string-aux.cc: Adjust.
1919         * src/compatibility-c++0x.cc (hash<error_code>): Use __hash_combine.
1920         * include/std/system_error (hash<error_code>): Likewise.
1921         * include/std/thread (struct hash<thread::id>): Add.
1922         * include/tr1/functional_hash.h : Rename to _Fnv_hash_base.
1923         (struct _Fnv_hash): Add, derives from the latter.
1924         (hash<float>::operator()(float), hash<double>::operator()(double)):
1925         Adjust.
1926         * testsuite/30_threads/thread/id/hash.cc: New.
1927         * testsuite/30_threads/thread/cons/assign_neg.cc: Adjust dg-error
1928         line number.
1929         * testsuite/30_threads/thread/cons/copy_neg.cc: Likewise.
1930
1931 2010-02-22  Janis Johnson  <janis187@us.ibm.com>
1932
1933         * src/compatibility-ldbl.cc: Include new hash-long-double-aux.cc.
1934
1935 2010-02-22  Paolo Carlini  <paolo.carlini@oracle.com>
1936
1937         * src/hash-aux.cc: Rename to...
1938         * src/hash-string-aux.cc: ... this.
1939         * src/hash-long-double-aux.cc: New.
1940         * src/hash_c++0x.cc: Adjust.
1941         * src/hash_tr1.cc: Likewise.
1942         * src/compatibility-c++0x.cc: Likewise.
1943
1944 2010-02-22  Benjamin Kosnik  <bkoz@redhat.com>
1945
1946         * doc/xml/class.txml: Adjust biblio markup.
1947         * doc/xml/manual/allocator.xml: Same.
1948         * doc/xml/manual/ctype.xml: Same.
1949         * doc/xml/manual/codecvt.xml: Same.
1950         * doc/xml/manual/backwards_compatibility.xml: Same.
1951         * doc/xml/manual/abi.xml: Same.
1952         * doc/xml/manual/shared_ptr.xml: Same.
1953         * doc/xml/manual/profile_mode.xml: Same.
1954         * doc/xml/manual/using_exceptions.xml: Same.
1955         * doc/xml/manual/locale.xml: Same.
1956         * doc/xml/manual/appendix_contributing.xml: Same.
1957         * doc/xml/manual/messages.xml: Same.
1958         * doc/Makefile.am (DBLATEX_FLAGS): Adjust.
1959         * doc/Makefile.in: Regenerate.
1960
1961 2010-02-22  François Dumont  <francois.cppdevs@free.fr>
1962
1963        * doc/xml/manual/profile_mode.xml: Minor updates and fixes.
1964        * doc/xml/manual/debug_mode.xml: Likewise.
1965        * doc/xml/manual/test.xml: Likewise.
1966
1967 2010-02-22  Paolo Carlini  <paolo.carlini@oracle.com>
1968
1969         * include/tr1_impl/complex (arg): Use std::signbit only when
1970         available.
1971
1972 2010-02-22  Paolo Carlini  <paolo.carlini@oracle.com>
1973
1974         * include/bits/functional_hash.h (hash<string>, hash<wstring>,
1975         hash<u16string>, hash<u32string>, hash<error_code>): Move, per
1976         DR 1182 to...
1977         * include/bits/basic_string.h: ... here.
1978         * include/std/system_error: ... and here, respectively.
1979         * src/hash-aux.cc (hash<long double>::operator()(long double)):
1980         Move definition...
1981         * src/hash_c++0x.cc: ... here, new file.
1982         * src/hash_tr1.cc: ... and here, tweak includes.
1983         * src/compatibility-c++0x.cc (hash, _Fnv_hash): Remove.
1984         * src/Makefile.am: Adjust.
1985         * src/Makefile.in: Regenerate.
1986         * include/std/functional: Include <bits/functexcept.h>.
1987         * include/std/unordered_set: Remove redundant include.
1988         * include/std/unordered_map: Likewise.
1989         * include/tr1/functional_hash.h: Remove spurious trailing semicolon.
1990         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Remove
1991         dg-excess.
1992
1993 2010-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
1994
1995         * include/std/complex (proj): Change return type per DR 1137.
1996         (conj): Copy from tr1_impl, likewise adjust return type.
1997         * include/tr1_impl/complex (conj): Remove.
1998         * include/tr1/complex (conj): Add both overloads.
1999         * testsuite/26_numerics/complex/dr781.cc: Rename to...
2000         * testsuite/26_numerics/complex/dr781_dr1137.cc: ... this, and extend.
2001
2002         * include/tr1_impl/complex (arg): Optimize.
2003
2004 2010-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
2005
2006         * testsuite/20_util/is_trivial/requirements/typedefs.cc: New.
2007         * testsuite/20_util/is_trivial/requirements/
2008         explicit_instantiation.cc: Likewise.
2009         * testsuite/20_util/is_pod/value.cc: Likewise.
2010         * testsuite/20_util/is_pod/requirements/typedefs.cc: Likewise.
2011         * testsuite/20_util/is_pod/requirements/
2012         explicit_instantiation.cc: Likewise.
2013         * testsuite/20_util/is_standard_layout/requiremenents/
2014         typedefs.cc: Likewise.
2015         * testsuite/20_util/is_standard_layout/requiremenents/
2016         explicit_instantiation.cc: Likewise.
2017
2018 2010-02-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
2019
2020         PR c++/35669
2021         * testsuite/18_support/headers/cstddef/macros.cc: Add
2022         -Wno-conversion-null.
2023
2024 2010-02-19  Paolo Carlini  <paolo.carlini@oracle.com>
2025
2026         * include/tr1_impl/array (array): Add pointer and const_pointer
2027         typedefs in C++0x mode, per DR 1306.
2028         * testsuite/util/testsuite_containers.h (basic_types): Add pointer
2029         and const_pointer typedefs.
2030         (pointer_aware_types): Remove.
2031         * testsuite/util/testsuite_container_traits.h: Adjust.
2032
2033 2010-02-19  Paolo Carlini  <paolo.carlini@oracle.com>
2034
2035         * include/bits/stl_algo.h (for_each): Implement resolution of DR 1110.
2036         * testsuite/25_algorithms/for_each/1.cc: New.
2037
2038 2010-02-19  Paolo Carlini  <paolo.carlini@oracle.com>
2039
2040         * include/bits/shared_ptr_base.h (__weak_ptr): Remove deleted
2041         comparison operators, per DR 1256.
2042         * include/bits/shared_ptr.h (weak_ptr): Likewise.
2043         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
2044
2045 2010-02-18  Benjamin Kosnik  <bkoz@redhat.com>
2046
2047         * scripts/run_doxygen: Add shortnames option.
2048         * doc/Makefile.am (doc-man-doxygen): Use it.
2049         (doc-html-doxygen): Use it.
2050         (doc-xml-doxygen): Use it, but default to NO.
2051         (doc-pdf-dblatex): Add.
2052         * doc/Makefile.in: Regenerate.
2053         * doc/doxygen/user.cfg.in: Update filelist.
2054         * include/bits/locale_facets.h: Fix markup warning.
2055
2056 2010-02-18  Benjamin Kosnik  <bkoz@redhat.com>
2057
2058         * doc/xml/manual/using.xml: Update.
2059         * doc/xml/manual/status_cxx1998.xml: Same.
2060         * doc/xml/manual/status_cxx200x.xml: Add link.
2061         * doc/html/*: Regenerate.
2062
2063         * testsuite/17_intro/freestanding.cc: Add.
2064
2065 2010-02-18  Paolo Carlini  <paolo.carlini@oracle.com>
2066
2067         * libsupc++/typeinfo: Add system_header pragma.
2068         * libsupc++/exception: Likewise.
2069         * libsupc++/cxxabi-forced.h: Likewise.
2070         * libsupc++/new: Likewise.
2071         * libsupc++/cxxabi.h: Likewise.
2072         * libsupc++/initializer_list: Likewise.
2073
2074 2010-02-18  Paolo Carlini  <paolo.carlini@oracle.com>
2075
2076         * libsupc++/nested_exception.h: Fix <bits/c++0x_warning.h> include.
2077
2078 2010-02-17  Benjamin Kosnik  <bkoz@redhat.com>
2079
2080         * doc/xml/manual/appendix_contributing.xml: Update markup rules
2081         for quoting and functions.
2082
2083 2010-02-17  Chris Jefferson  <chris@bubblescope.net>
2084
2085         * include/bits/locale_facets.h (__convert_to_v): Add empty
2086         exception-specification.
2087
2088 2010-02-17  Paolo Carlini  <paolo.carlini@oracle.com>
2089
2090         * include/std/limits: Implement resolution of DR 559 (CD1) in
2091         C++0x mode.
2092         * testsuite/18_support/numeric_limits/dr559.cc: New.
2093
2094 2010-02-16  Benjamin Kosnik  <bkoz@redhat.com>
2095
2096         * src/ios_locale.cc: Fixes for -pedantic.
2097         * src/system_error.cc: Same.
2098         * src/locale.cc: Same.
2099         * src/list.cc: Same.
2100         * src/locale_facets.cc: Same.
2101         * src/locale_init.cc: Same.
2102         * src/ios.cc: Same.
2103         * config/locale/darwin/ctype_members.cc: Same.
2104         * config/locale/gnu/collate_members.cc: Same.
2105         * config/locale/gnu/ctype_members.cc: Same.
2106         * config/locale/gnu/c_locale.cc: Same.
2107         * config/locale/gnu/monetary_members.cc: Same.
2108         * config/locale/gnu/time_members.cc: Same.
2109         * config/locale/ieee_1003.1-2001/c_locale.cc: Same.
2110         * config/locale/generic/collate_members.cc: Same.
2111         * config/locale/generic/ctype_members.cc: Same.
2112         * config/locale/generic/c_locale.cc: Same.
2113         * config/locale/generic/monetary_members.cc: Same.
2114         * config/locale/generic/time_members.cc: Same.
2115         * config/io/basic_file_stdio.cc: Same.
2116
2117         * libsupc++/pbase_type_info.cc: Fixes for -fno-rtti.
2118         * libsupc++/pointer_type_info.cc: Same.
2119         * libsupc++/eh_personality.cc: Same.
2120
2121         * include/std/system_error: Throw spacing.
2122         * include/bits/locale_classes.h: Same.
2123         * include/bits/locale_facets.h: Same.
2124         * include/bits/ios_base.h: Same.
2125
2126         * testsuite/17_intro/headers/c++200x/all_no_rtti.cc: New.
2127         * testsuite/17_intro/headers/c++1998/all_no_rtti.cc: New.
2128
2129 2010-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
2130
2131         * include/bits/random.h (linear_congruential_engine(_Sseq&),
2132         mersenne_twister_engine(_Sseq&), subtract_with_carry_engine(_Sseq&)):
2133         Do not enable for the type itself.
2134         (discard_block_engine(_Sseq&), independent_bits_engine(_Sseq&),
2135         shuffle_order_engine(_Sseq&)): Do not enable for the type itself too.
2136         (linear_congruential_engine<>::seed(_Sseq&),
2137         mersenne_twister_engine<>::seed(_Sseq&),
2138         subtract_with_carry_engine<>::seed(_Sseq&)): Use enable_if on the
2139         return type.
2140         (discard_block_engine<>::seed(_Sseq&),
2141         independent_bits_engine<>::seed(_Sseq&),
2142         shuffle_order_engine<>::seed(_Sseq&)): Do not use enable_if.
2143         * include/bits/random.tcc: Adjust definitions.
2144         * testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc:
2145         New.
2146         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
2147         copy.cc: Likewise.
2148         * testsuite/26_numerics/random/discard_block_engine/cons/
2149         copy.cc: Likewise.
2150         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
2151         copy.cc: Likewise.
2152         * testsuite/26_numerics/random/linear_congruential_engine/cons/
2153         copy.cc: Likewise.
2154         * testsuite/26_numerics/random/shuffle_order_engine/cons/
2155         copy.cc: Likewise.
2156
2157         * testsuite/26_numerics/random/independent_bits_engine/cons/
2158         base_move.cc: Minor tweaks.
2159         * testsuite/26_numerics/random/independent_bits_engine/cons/seed1.cc:
2160         Likewise.
2161         * testsuite/26_numerics/random/independent_bits_engine/cons/seed2.cc:
2162         Likewise.
2163         * testsuite/26_numerics/random/independent_bits_engine/cons/
2164         base_copy.cc: Likewise.
2165         * testsuite/26_numerics/random/independent_bits_engine/cons/
2166         default.cc: Likewise.
2167         * testsuite/26_numerics/random/independent_bits_engine/cons/
2168         seed_seq.cc: Likewise.
2169         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
2170         seed1.cc: Likewise.
2171         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
2172         seed2.cc: Likewise.
2173         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
2174         default.cc: Likewise.
2175         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
2176         seed_seq.cc: Likewise.
2177         * testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc:
2178         Likewise.
2179         * testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc:
2180         Likewise.
2181         * testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc:
2182         Likewise.
2183         * testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc:
2184         Likewise.
2185         * testsuite/26_numerics/random/discard_block_engine/cons/default.cc:
2186         Likewise.
2187         * testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc:
2188         Likewise.
2189         * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed1.cc:
2190         Likewise.
2191         * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed2.cc:
2192         Likewise.
2193         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
2194         default.cc: Likewise.
2195         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
2196         seed_seq.cc: Likewise.
2197         * testsuite/26_numerics/random/linear_congruential_engine/cons/
2198         seed1.cc: Likewise.
2199         * testsuite/26_numerics/random/linear_congruential_engine/cons/
2200         seed2.cc: Likewise.
2201         * testsuite/26_numerics/random/linear_congruential_engine/cons/
2202         seed_seq.cc: Likewise.
2203         * testsuite/26_numerics/random/shuffle_order_engine/cons/base_move.cc:
2204         Likewise.
2205         * testsuite/26_numerics/random/shuffle_order_engine/cons/seed1.cc:
2206         Likewise.
2207         * testsuite/26_numerics/random/shuffle_order_engine/cons/seed2.cc:
2208         Likewise.
2209         * testsuite/26_numerics/random/shuffle_order_engine/cons/base_copy.cc:
2210         Likewise.
2211         * testsuite/26_numerics/random/shuffle_order_engine/cons/default.cc:
2212         Likewise.
2213         * testsuite/26_numerics/random/shuffle_order_engine/cons/seed_seq.cc:
2214         Likewise.
2215
2216 2010-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
2217
2218         * include/bits/unique_ptr.h: (unique_ptr<>::
2219         unique_ptr(const unique_ptr<_Up, _Up_Deleter>&),
2220         operator=(const unique_ptr<_Up, _Up_Deleter>&)): Remove, redundant,
2221         per DR 1303.
2222         * include/bits/shared_ptr.h (shared_ptr<>::
2223         shared_ptr(const unique_ptr<_Up, _Up_Deleter>&),
2224         operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise.
2225         * include/bits/shared_ptr_base.h (__shared_ptr<>::
2226         __shared_ptr(const unique_ptr<_Up, _Up_Deleter>&),
2227         operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise.
2228         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
2229         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
2230         * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
2231         * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc:
2232         Likewise.
2233
2234 2010-02-15  Paolo Carlini  <paolo.carlini@oracle.com>
2235
2236         * testsuite/ext/median.cc: Adjust.
2237
2238 2010-02-15  Paolo Carlini  <paolo.carlini@oracle.com>
2239
2240         * include/bits/stl_algo.h (__median): Move...
2241         * include/ext/algorithm: ... here, being an SGI extension.
2242
2243 2010-02-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
2244             Paolo Carlini  <paolo.carlini@oracle.com>
2245
2246         PR libstdc++/42819, DR 1315
2247         * include/std/future (async): Use std::result_of for the template
2248         argument of the std::future return type; adjust everywhere.
2249         * testsuite/30_threads/async/42819.cc: New.
2250         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
2251         dg-error line number.
2252         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
2253         * testsuite/30_threads/future/cons/assign_neg.cc: Likewise.
2254         * testsuite/30_threads/future/cons/copy_neg.cc: Likewise.
2255         * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
2256         * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
2257
2258 2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
2259
2260         * config/abi/pre/gnu.ver: Revert last changes.
2261
2262 2010-02-11  Jason Merrill  <jason@redhat.com>
2263
2264         * include/std/thread (~_Impl_base): Declare inline.
2265         * libsupc++/nested_exception.h (~nested_exception): Likewise.
2266
2267 2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
2268
2269         PR libstdc++/41975, DR 579
2270         * include/bits/hashtable.h (_Hashtable<>::_M_erase_node): Remove.
2271         (erase(const_iterator), erase(const_iterator, const_iterator)):
2272         Change return type to void.
2273         * include/debug/unordered_map: Adjust.
2274         * include/debug/unordered_set: Likewise.
2275         * testsuite/util/exception/safety.h: Likewise.
2276         * testsuite/23_containers/unordered_map/erase/1.cc: Likewise.
2277         * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
2278         * testsuite/23_containers/unordered_set/erase/1.cc:  Likewise.
2279         * testsuite/23_containers/unordered_set/erase/24061-map.cc: Likewise.
2280         * testsuite/23_containers/unordered_multimap/erase/1.cc:  Likewise.
2281         * testsuite/23_containers/unordered_multimap/erase/24061-map.cc:
2282         Likewise.
2283         * testsuite/23_containers/unordered_multiset/erase/1.cc:  Likewise.
2284         * testsuite/23_containers/unordered_multiset/erase/24061-map.cc:
2285         Likewise.
2286
2287 2010-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
2288
2289         * config/abi/pre/gnu.ver: Avoid exporting inadvertently
2290         std::nested_exception symbols at GLIBCXX_3.4.
2291
2292 2010-02-10  Jason Merrill  <jason@redhat.com>
2293
2294         Core issue 906
2295         * include/std/thread (~_Impl_base): Move defaulted dtor out of line.
2296         * libsupc++/nested_exception.h (~nested_exception): Likewise.
2297         * testsuite/18_support/nested_exception/throw_with_nested.cc: Likewise.
2298         * testsuite/18_support/nested_exception/rethrow_if_nested.cc: Likewise.
2299
2300 2010-02-10  Paolo Carlini  <paolo.carlini@oracle.com>
2301
2302         * include/tr1/hashtable.h: Fold in include/tr1_impl/hashtable.h
2303         contents.
2304         * include/tr1_impl/hashtable.h: Remove.
2305         * include/tr1_impl/hashtable_policy.h: Move and rename...
2306         * include/tr1/hashtable_policy.h: ... here.
2307         * include/tr1_impl/unordered_map: Move and rename...
2308         * include/tr1/unordered_map.h: ... here.
2309         * include/tr1_impl/unordered_set: Move and rename...
2310         * include/tr1/unordered_set.h: ... here.
2311         * include/tr1_impl/unordered_map: Move and rename...
2312         * include/tr1/unordered_map.h: ... here.
2313         * include/tr1/unordered_map: Adjust.
2314         * include/tr1/unordered_set: Likewise.
2315         * include/Makefile.am: Adjust.
2316         * include/Makefile.in: Regenerate.
2317
2318         * include/std/c++0x_warning.h: Move...
2319         * include/bits/c++0x_warning.h: ... here.
2320         * include/debug/unordered_map: Adjust.
2321         * include/debug/unordered_set: Likewise.
2322         * include/std/tuple: Likewise.
2323         * include/std/system_error: Likewise.
2324         * include/std/forward_list: Likewise.
2325         * include/std/thread: Likewise.
2326         * include/std/type_traits: Likewise.
2327         * include/std/future: Likewise.
2328         * include/std/regex: Likewise.
2329         * include/std/atomic: Likewise.
2330         * include/std/ratio: Likewise.
2331         * include/std/random: Likewise.
2332         * include/std/unordered_map: Likewise.
2333         * include/std/chrono: Likewise.: Likewise.
2334         * include/std/condition_variable: Likewise.
2335         * include/std/mutex: Likewise.
2336         * include/std/unordered_set: Likewise.
2337         * include/std/array: Likewise.
2338         * include/profile/unordered_map: Likewise.
2339         * include/profile/unordered_set: Likewise.
2340         * include/c_global/cinttypes: Likewise.
2341         * include/c_global/ctgmath: Likewise.
2342         * include/c_global/cfenv: Likewise.
2343         * include/c_global/cstdint: Likewise.
2344         * include/c_global/cstdbool: Likewise.
2345         * include/c_global/ccomplex: Likewise.
2346
2347         * include/bits/shared_ptr.h: Do not include <bits/c++0x_warning.h>
2348         at all, the file is not meant to be included by the users.
2349         * include/bits/functional_hash.h: Likewise.
2350         * include/bits/unique_ptr.h: Likewise.
2351         * include/bits/forward_list.h: Likewise.
2352
2353         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-*
2354         line numbers.
2355         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
2356         * testsuite/23_containers/forward_list/requirements/dr438/
2357         assign_neg.cc: Likewise.
2358         * testsuite/23_containers/forward_list/requirements/dr438/
2359         insert_neg.cc: Likewise.
2360         * testsuite/23_containers/forward_list/requirements/dr438/
2361         constructor_1_neg.cc: Likewise.
2362         * testsuite/23_containers/forward_list/requirements/dr438/
2363         constructor_2_neg.cc: Likewise.
2364         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Likewise.
2365         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
2366
2367 2010-02-10  Paolo Carlini  <paolo.carlini@oracle.com>
2368
2369         * include/bits/hashtable.h: Fold in include/tr1_impl/hashtable.h
2370         for C++0x use.
2371         * include/bits/hashtable_policy.h: New, copy and adjust for
2372         C++0x use, include/tr1_impl/hashtable_policy.h; fix erase and
2373         insert member functions per n3000.
2374         * include/bits/unordered_map.h: Likewise for include/tr1_impl/
2375         unordered_map.
2376         * include/bits/unordered_set.h: Likewise for include/tr1_impl/
2377         unordered_set.
2378         * include/Makefile.am: Adjust.
2379         * include/Makefile.in: Regenerate.
2380         * include/tr1/unordered_map: Adjust.
2381         * include/tr1/unordered_set: Likewise.
2382         * include/tr1_impl/unordered_map: Adjust, now used only by tr1.
2383         * include/tr1_impl/hashtable: Likewise.
2384         * include/tr1_impl/hashtable_policy.h: Likewise.
2385         * include/tr1_impl/unordered_set: Likewise.
2386         * include/std/unordered_map: Adjust and simplify includes.
2387         * include/std/unordered_set: Likewise.
2388         * include/debug/unordered_map: Adjuse erase and insert members.
2389         * include/debug/unordered_set: Likewise.
2390         * include/profile/unordered_map: Likewise.
2391         * include/profile/unordered_set: Likewise.
2392         * testsuite/util/exception/safety.h: Fix for the updated erase and
2393         insert member functions of the unordered_containers.
2394         * testsuite/23_containers/unordered_map/erase/1.cc: New.
2395         * testsuite/23_containers/unordered_map/erase/24061-map.cc: Likewise.
2396         * testsuite/23_containers/unordered_map/insert/map_single.cc:
2397         Likewise.
2398         * testsuite/23_containers/unordered_map/insert/array_syntax.cc:
2399         Likewise.
2400         * testsuite/23_containers/unordered_map/insert/24061-map.cc: Likewise.
2401         * testsuite/23_containers/unordered_map/insert/map_range.cc: Likewise.
2402         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
2403         * testsuite/23_containers/unordered_multimap/erase/1.cc: Likewise.
2404         * testsuite/23_containers/unordered_multimap/erase/
2405         24061-multimap.cc: Likewise.
2406         * testsuite/23_containers/unordered_multimap/insert/
2407         24061-multimap.cc: Likewise.
2408         * testsuite/23_containers/unordered_multimap/insert/
2409         multimap_range.cc: Likewise.
2410         * testsuite/23_containers/unordered_multimap/insert/
2411         multimap_single.cc: Likewise.
2412         * testsuite/23_containers/unordered_set/erase/1.cc: Likewise.
2413         * testsuite/23_containers/unordered_set/erase/24061-set.cc: Likewise.
2414         * testsuite/23_containers/unordered_set/insert/set_single.cc: Likewise.
2415         * testsuite/23_containers/unordered_set/insert/24061-set.cc: Likewise.
2416         * testsuite/23_containers/unordered_set/insert/set_range.cc: Likewise.
2417         * testsuite/23_containers/unordered_multiset/erase/1.cc: Likewise.
2418         * testsuite/23_containers/unordered_multiset/erase/
2419         24061-multiset.cc: Likewise.
2420         * testsuite/23_containers/unordered_multiset/insert/
2421         24061-multiset.cc: Likewise.
2422         * testsuite/23_containers/unordered_multiset/insert/
2423         multiset_range.cc: Likewise.
2424         * testsuite/23_containers/unordered_multiset/insert/
2425         multiset_single.cc: Likewise.
2426
2427         * testsuite/23_containers/set/operators/1_neg.cc: Tweak dg-errors
2428         to avoid spurious fails in debug-mode.
2429         * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
2430
2431 2010-02-09  Benjamin Kosnik  <bkoz@redhat.com>
2432
2433         * include/std/streambuf: Adjust doxygen group markup.
2434         * include/std/functional: Same.
2435         * include/ext/vstring.h: Same.
2436         * include/ext/pb_ds/assoc_container.hpp: Same.
2437         * include/ext/stdio_filebuf.h: Same.
2438         * include/ext/stdio_sync_filebuf.h: Same.
2439         * include/bits/localefwd.h: Same.
2440         * include/bits/functional_hash.h: Same.
2441         * include/bits/locale_classes.h: Same.
2442         * include/bits/locale_facets.h: Same.
2443         * include/bits/ios_base.h: Same.
2444         * include/bits/codecvt.h: Same.
2445         * include/bits/locale_facets_nonio.h: Same.
2446
2447         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
2448         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2449
2450 2010-02-08  Benjamin Kosnik  <bkoz@redhat.com>
2451
2452         PR libstdc++/42460
2453         * include/tr1_impl/regex: Fix quoting issues in doxygen markup.
2454         * include/bits/random.h: Fix multi-line doxygen function markup.
2455
2456 2010-02-08  Matthias Klose  <doko@debian.org>
2457
2458         PR libstdc++/42460
2459         * include/std/istream: Fix '\' quoting in doxygen markup.
2460
2461 2010-02-08  Ed Smith-Rowland  <3dw4rd@verizon.net>
2462
2463         * include/bits/random.tcc (uniform_int_distribution<>::
2464         operator()(_UniformRandomNumberGenerator&, const param_type&)):
2465         Use make_unsigned instead of __add_unsigned and conditional
2466         instead of __conditional_type.
2467         * include/std/random: Do not include <ext/type_traits.h> and
2468         <ext/numeric_traits.h>.
2469
2470 2010-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
2471
2472         PR libstdc++/16896
2473         * include/bits/stl_list.h (_List_node_base::transfer): Rename
2474         to _M_transfer.
2475         (_List_node_base::reverse): Rename to _M_reverse.
2476         (_List_node_base::hook): Rename to _M_hook.
2477         (_List_node_base::unhook): Rename to _M_unhook; adjust callers.
2478         * include/bits/list.tcc: Adjust callers.
2479         * src/list.cc: Adjust.
2480         * src/compatibility.cc: Likewise.
2481         * src/compatibility-list.cc: New.
2482         * src/compatibility-debug_list.cc: Likewise.
2483         * src/compatibility-parallel_list.cc: Likewise.
2484         * src/Makefile.am: Add.
2485         * src/Makefile.in: Regenerate.
2486         * config/abi/pre/gnu.ver: Export _M_* symbols.
2487
2488         * src/hash.cc: Rename to hash-aux.cc.
2489         * src/compatibility-ldbl.cc: Adjust.
2490         * src/compatibility-c++0x.cc: Likewise.
2491         * src/hash_tr1.cc: Likewise.
2492
2493         * src/hashtable.cc: Rename to hashtable-aux.cc.
2494         * src/hashtable_c++0x.cc: Adjust.
2495         * src/hashtable_tr1.cc: Likewise.
2496
2497         * src/limits_c++0x.cc: Fold...
2498         * src/limits.cc... here.
2499
2500 2010-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
2501
2502         * include/bits/stl_pair.h (pair<>::pair(_U1&&, const _T2&),
2503         pair<>::pair(const _T1&, _U2&&), pair<>::pair(_U1&&, _U2&&)):
2504         Revert to std::is_convertible, basing on DR 811.
2505
2506 2010-02-06  Paolo Carlini  <paolo.carlini@oracle.com>
2507
2508         PR libstdc++/42989
2509         * config/abi/pre/gnu.ver: Fix wstring move assignment operator typo.
2510
2511 2010-02-06  Paolo Carlini  <paolo.carlini@oracle.com>
2512
2513         PR libstdc++/27340
2514         * include/bits/valarray_before.h: Uglify the structs wrapping
2515         cmath functions differently, eg, _Cos instead of __cos.
2516         * include/bits/valarray_after.h: Adjust.
2517
2518 2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>
2519
2520         * include/std/future (swap(packaged_task<>&, packaged_task<>&)): Fix
2521         typo in last commit.
2522
2523 2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>
2524
2525         * include/std/future (swap(packaged_task<>&, packaged_task<>&),
2526         swap(promise<>&, promise<>&)): Add; minor formatting fixes.
2527         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
2528         dg-error line number.
2529         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
2530         * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
2531         * testsuite/30_threads/promise/cons/copy_neg.cc: Likewise.
2532
2533 2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>
2534
2535         * include/bits/stl_algobase.h (struct __iter_base): Rename to
2536         _Iter_base; add iterator_type typedef.
2537         (struct __miter_base): Rename to _Miter_base.
2538         (struct __niter_base): Rename to _Niter_base.
2539         (__miter_base, __niter_base): Add, use the latter; adjust everywhere.
2540
2541 2010-02-04  Benjamin Kosnik  <bkoz@redhat.com>
2542
2543         PR libstdc++/42460
2544         * doc/doxygen/user.cfg.in: Update file list.
2545         * include/debug/safe_sequence.h: Doxygen markup fixes for '' and "".
2546         * include/debug/safe_base.h: Same.
2547         * include/debug/macros.h: Same.
2548         * include/tr1_impl/regex: Same.
2549         * include/std/iostream: Same.
2550         * include/std/streambuf: Same.
2551         * include/std/bitset: Same.
2552         * include/std/iosfwd: Same.
2553         * include/std/limits: Same.
2554         * include/std/fstream: Same.
2555         * include/std/istream: Same.
2556         * include/std/ostream: Same.
2557         * include/std/sstream: Same.
2558         * include/parallel/multiway_merge.h: Same.
2559         * include/parallel/for_each.h: Same.
2560         * include/parallel/workstealing.h: Same.
2561         * include/parallel/omp_loop_static.h: Same.
2562         * include/parallel/omp_loop.h: Same.
2563         * include/c_std/csignal: Same.
2564         * include/c_std/cstdlib: Same.
2565         * include/c_std/cstdio: Same.
2566         * include/c_std/cstdarg: Same.
2567         * include/c_std/cctype: Same.
2568         * include/c_std/cerrno: Same.
2569         * include/c_std/cmath: Same.
2570         * include/c_std/ciso646: Same.
2571         * include/c_std/ctime: Same.
2572         * include/c_std/clocale: Same.
2573         * include/c_std/climits: Same.
2574         * include/c_std/cassert: Same.
2575         * include/c_std/csetjmp: Same.
2576         * include/c_std/cwchar: Same.
2577         * include/c_std/cfloat: Same.
2578         * include/c_std/cstring: Same.
2579         * include/c_std/cstddef: Same.
2580         * include/c_std/cwctype: Same.
2581         * include/profile/iterator_tracker.h: Same.
2582         * include/profile/impl/profiler_trace.h: Same.
2583         * include/ext/vstring.h: Same.
2584         * include/ext/algorithm: Same.
2585         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.h.pp: Same.
2586         * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.h.pp: Same.
2587         * include/ext/pb_ds/detail/type_utils.hpp: Same.
2588         * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same
2589         * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
2590         * include/ext/rc_string_base.h: Same.
2591         * include/ext/stdio_sync_filebuf.h: Same.
2592         * include/ext/functional: Same.
2593         * include/ext/mt_allocator.h: Same.
2594         * include/bits/basic_ios.h: Same.
2595         * include/bits/stl_map.h: Same.
2596         * include/bits/stl_algobase.h: Same.
2597         * include/bits/stl_queue.h: Same.
2598         * include/bits/locale_classes.h: Same.
2599         * include/bits/stl_set.h: Same.
2600         * include/bits/locale_facets.h: Same.
2601         * include/bits/stl_stack.h: Same.
2602         * include/bits/stl_iterator_base_types.h: Same.
2603         * include/bits/basic_string.h: Same.
2604         * include/bits/stl_multimap.h: Same.
2605         * include/bits/ios_base.h: Same.
2606         * include/bits/stl_deque.h: Same.
2607         * include/bits/stl_multiset.h: Same.
2608         * include/bits/stl_iterator_base_funcs.h: Same.
2609         * include/bits/char_traits.h: Same.
2610         * include/bits/stl_algo.h: Same.
2611         * include/bits/stl_iterator.h: Same.
2612         * include/bits/stl_tempbuf.h: Same.
2613         * include/bits/random.tcc: Same.
2614         * include/bits/stl_function.h: Same.
2615         * include/bits/cpp_type_traits.h: Same.
2616         * include/bits/random.h: Same.
2617         * include/bits/allocator.h: Same.
2618         * include/bits/locale_facets_nonio.h: Same.
2619         * include/c_global/csignal: Same.
2620         * include/c_global/cstdlib: Same.
2621         * include/c_global/cstdio: Same.
2622         * include/c_global/cstdarg: Same.
2623         * include/c_global/cctype: Same.
2624         * include/c_global/cerrno: Same.
2625         * include/c_global/cmath: Same.
2626         * include/c_global/ciso646: Same.
2627         * include/c_global/ctime: Same.
2628         * include/c_global/clocale: Same.
2629         * include/c_global/climits: Same.
2630         * include/c_global/cassert: Same.
2631         * include/c_global/csetjmp: Same.
2632         * include/c_global/cwchar: Same.
2633         * include/c_global/cfloat: Same.
2634         * include/c_global/cstring: Same.
2635         * include/c_global/cstddef: Same.
2636         * include/c_global/cwctype: Same.
2637         * include/tr1/hypergeometric.tcc: Same.
2638         * include/tr1/random.tcc: Same.
2639         * include/tr1/functional: Same.
2640         * include/tr1/random.h: Same.
2641         * include/backward/auto_ptr.h: Same.
2642         * include/backward/binders.h: Same.
2643         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2644         Adjust line numbers.
2645         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
2646         * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
2647         Same.
2648         * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
2649         Same.
2650
2651 2010-02-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
2652
2653         * include/std/condition_variable (condition_variable_any): Provide
2654         definitions for all members.
2655         * src/condition_variable.cc (condition_variable_any): Adjust
2656         definitions.
2657         * config/abi/pre/gnu.ver: Adjust exports for condition_variable_any.
2658         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
2659         Adjust dg-error line number.
2660         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
2661         Likewise.
2662         * testsuite/30_threads/condition_variable_any/members/1.cc: New.
2663         * testsuite/30_threads/condition_variable_any/members/2.cc: New.
2664         * testsuite/30_threads/condition_variable_any/requirements/
2665         standard_layout.cc: Remove.
2666         * testsuite/30_threads/condition_variable_any/native_handle/
2667         typesizes.cc: Remove.
2668
2669 2010-02-02  Paolo Carlini  <paolo.carlini@oracle.com>
2670
2671         * include/ext/vstring.h (__versa_string::shrink_to_fit): Fix
2672         for -fno-exceptions.
2673
2674 2010-02-02  Benjamin Kosnik  <bkoz@redhat.com>
2675
2676         * include/bits/allocator.h: Fix for -fno-exceptions.
2677         * include/bits/basic_string.h (basic_string::shrink_to_fit): Same.
2678
2679 2010-02-02  Paolo Carlini  <paolo.carlini@oracle.com>
2680
2681         * testsuite/30_threads/unique_future: Rename to /future.
2682
2683 2010-02-01  Paolo Carlini  <paolo.carlini@oracle.com>
2684
2685         PR libstdc++/42408
2686         * include/bits/random.h (linear_congruential_engine<>::
2687         linear_congruential_engine(seed_seq&),
2688         linear_congruential_engine<>::seed(seed_seq&),
2689         mersenne_twister<>::mersenne_twister(seed_seq&),
2690         mersenne_twister<>::seed(seed_seq&),
2691         subtract_with_carry_engine<>::subtract_with_carry_engine(seed_seq&),
2692         subtract_with_carry_engine<>::seed(seed_seq&),
2693         discard_block_engine<>::discard_block_engine(seed_seq&),
2694         discard_block_engine<>::seed(seed_seq&),
2695         independent_bits_engine<>::independent_bits_engine(seed_seq&),
2696         independent_bits_engine<>::seed(seed_seq&),
2697         shuffle_order_engine<>::shuffle_order_engine(seed_seq&),
2698         shuffle_order_engine<>::seed(seed_seq&)): Templatize.
2699         * include/bits/random.tcc: Adjust.
2700         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
2701         seed_seq.cc: New.
2702         * testsuite/26_numerics/random/mersenne_twister_engine/cons/
2703         seed_seq.cc: Likewise.
2704         * testsuite/26_numerics/random/linear_congruential_engine/
2705         cons/seed_seq.cc: Likewise.
2706
2707 2010-02-01  Paolo Carlini  <paolo.carlini@oracle.com>
2708
2709         * include/bits/forward_list.h (forward_list<>::resize(size_type),
2710         forward_list(size_type)): Only declare.
2711         * include/bits/forward_list.tcc (forward_list<>::resize(size_type),
2712         forward_list(size_type)): Define, don't assume CopyConstructible.
2713         * testsuite/23_containers/forward_list/cons/10.cc: New.
2714         * testsuite/23_containers/forward_list/modifiers/6.cc: Likewis.
2715         * testsuite/23_containers/forward_list/requirements/dr438/
2716         assign_neg.cc: Adjust dg-error line numbers.
2717         * testsuite/23_containers/forward_list/requirements/dr438/
2718         insert_neg.cc: Likewise.
2719         * testsuite/23_containers/forward_list/requirements/dr438/
2720         constructor_1_neg.cc: Likewise.
2721         * testsuite/23_containers/forward_list/requirements/dr438/
2722         constructor_2_neg.cc: Likewise.
2723
2724         * include/bits/forward_list.h: Use _M_get_Node_allocator throughout.
2725
2726 2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
2727
2728         * testsuite/23_containers/array/requirements/exception/
2729         generation_prohibited.c: Remove, swap can indeed throw (DR 774).
2730
2731         * testsuite/util/exception/safety.h (insert_base<__versa_string>): Fix.
2732         * testsuite/util/testsuite_container_traits.h
2733         (traits<__versa_string>): Enable insert tests.
2734
2735 2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
2736
2737         * include/bits/forward_list.h (forward_list<>::insert_after
2738         (const_iterator, size_type, const _Tp&), insert_after(const_iterator,
2739         _InputIterator, _InputIterator), insert_after(const_iterator,
2740         std::initializer_list<>)): Fix return type per N3000.
2741         * testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
2742         Adjust.
2743         * testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
2744         * testsuite/23_containers/forward_list/requirements/dr438/
2745         assign_neg.cc: Adjust dg-error line numbers.
2746         * testsuite/23_containers/forward_list/requirements/dr438/
2747         insert_neg.cc: Likewise.
2748         * testsuite/23_containers/forward_list/requirements/dr438/
2749         constructor_1_neg.cc: Likewise.
2750         * testsuite/23_containers/forward_list/requirements/dr438/
2751         constructor_2_neg.cc: Likewise.
2752
2753 2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
2754
2755         Revert last changes. Also revert, among the previous changes:
2756         * include/std/condition_variable (condition_variable_any::
2757         wait<>(_Lock&)): Provide definition.
2758
2759 2010-01-29  Paolo Carlini  <paolo.carlini@oracle.com>
2760
2761         * include/std/condition_variable (condition_variable_any::
2762         __wait_until_impl): Add.
2763         (condition_variable_any::wait_until): Provide definitions.
2764         * testsuite/30_threads/condition_variable_any/members/2.cc: New.
2765         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
2766         Adjust dg-error line number.
2767         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
2768         Likewise.
2769
2770         * testsuite/30_threads/condition_variable/members/1.cc: Minor
2771         stylistic changes.
2772         * testsuite/30_threads/condition_variable/members/1.cc: Likewise.
2773
2774 2010-01-29  Paolo Carlini  <paolo.carlini@oracle.com>
2775
2776         * include/std/condition_variable (enum class cv_status): Add and
2777         use it throughout, per N3000.
2778         (condition_variable_any::wait<>(_Lock&), wait<>(_Lock&, _Predicate),
2779         wait_until<>(_Lock&, const chrono::time_point<>&, _Predicate)):
2780         Provide definitions.
2781         * src/condition_variable.cc (condition_variable_any::notify_one,
2782         condition_variable_any::notify_all): Likewise.
2783         * config/abi/pre/gnu.ver: Export.
2784         * testsuite/30_threads/condition_variable_any/requirements/
2785         typedefs.cc: New.
2786         * testsuite/30_threads/condition_variable_any/requirements/
2787         standard_layout.cc: Likewise.
2788         * testsuite/30_threads/condition_variable/members/1.cc: Adjust.
2789         * testsuite/30_threads/condition_variable/members/2.cc: Likewise.
2790         * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Adjust
2791         dg-error line numbers.
2792         * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
2793         * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
2794         Likewise.
2795         * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
2796         Likewise.
2797
2798 2010-01-28  François Dumont  <francois.cppdevs@free.fr>
2799
2800         * include/bits/stl_algobase.h (struct __iter_base): Add.
2801         (__niter_base, __miter_base): Adjust, use the latter.
2802
2803 2010-01-28  Paolo Carlini  <paolo.carlini@oracle.com>
2804
2805         * testsuite/21_strings/basic_string/element_access/char/21674.cc:
2806         Extend xfail to all systems.
2807         * testsuite/21_strings/basic_string/element_access/wchar_T/21674.cc:
2808         Likewise.
2809         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
2810         Extend xfail to darwin10 systems.
2811
2812 2010-01-27  Benjamin Kosnik  <bkoz@redhat.com>
2813
2814         PR c++/42346
2815         * testsuite/23_containers/unordered_map/requirements/exception/: Remove
2816         -O1 workaround.
2817         * testsuite/23_containers/multimap/requirements/exception/: Same.
2818         * testsuite/23_containers/map/requirements/exception: Same.
2819
2820 2010-01-27  Richard Guenther  <rguenther@suse.de>
2821
2822         PR libstdc++/42832
2823         * include/std/functional (function<>::swap): Perform bytewise
2824         swap of _M_functor.
2825         * include/tr1/functional (function<>::swap): Likewise.
2826
2827 2010-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2828
2829         * config/abi/pre/gnu.ver: Avoid time_get pattern conflicts.
2830
2831 2010-01-26  François Dumont  <francois.cppdevs@free.fr>
2832
2833         * doc/xml/manual/allocator.xml: Minor updates and fixes.
2834         * doc/xml/manual/containers.xml: Likewise.
2835         * doc/xml/manual/using.xml: Likewise.
2836         * doc/xml/manual/locale.xml: Likewise.
2837         * doc/xml/manual/appendix_contributing.xml: Likewise.
2838
2839 2010-01-26  Daniel Frey  <d.frey@gmx.de>
2840
2841         * include/std/functional: Use enable_if instead of __enable_if
2842         throughout, do not include ext/type_traits.h.
2843         (is_placeholder, is_bind_expression): Use integral_constant.
2844
2845 2010-01-25  Paolo Carlini  <paolo.carlini@oracle.com>
2846
2847         * testsuite/util/testsuite_common_types.h (has_bitwise_operators):
2848         Avoid -Wall warnings.
2849
2850 2010-01-25  Paolo Carlini  <paolo.carlini@oracle.com>
2851
2852         * testsuite/22_locale/time_get/get_monthname/char/6.cc: Use an int
2853         as loop variable, to avoid -Wall warnings.
2854         * testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
2855         * testsuite/22_locale/time_get/get_weekday/char/6.cc: Likewise.
2856         * testsuite/22_locale/time_get/get_weekday/wchar_t/6.cc: Likewise.
2857         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
2858
2859         * testsuite/20_util/reference_wrapper/24803.cc: Remove unused vars.
2860         * testsuite/20_util/reference_wrapper/invoke.cc: Likewise.
2861
2862 2010-01-22  Daniel Frey  <d.frey@gmx.de>
2863
2864         * include/std/functional (_Index_tuple, _Build_index_tuple):
2865         Simplify and speed-up.
2866
2867 2010-01-22  Joern Rennecke  <amylaar@spamcop.net>
2868
2869         PR libstdc++/36101, PR libstdc++/42813
2870         * acinclude.m4 (enable_parallel): Test ${TARGET_CONFIGDIRS} instead of
2871         looking for omp.h.
2872         * configure: Regenerate.
2873
2874 2010-01-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
2875
2876         PR libstdc++/42201
2877         * include/std/future: Update to latest WP.
2878         * src/functexcept.cc (__throw_future_error): Use make_error_code.
2879         * testsuite/30_threads/async/any.cc: New.
2880         * testsuite/30_threads/async/async.cc: New.
2881         * testsuite/30_threads/async/sync.cc: New.
2882         * testsuite/30_threads/packaged_task/cons/alloc.cc: New.
2883         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust.
2884         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Adjust.
2885         * testsuite/30_threads/packaged_task/members/get_future.cc: Adjust.
2886         * testsuite/30_threads/packaged_task/members/get_future2.cc: Likewise.
2887         * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
2888         * testsuite/30_threads/packaged_task/members/invoke2.cc: Adjust.
2889         * testsuite/30_threads/packaged_task/members/invoke3.cc: Adjust.
2890         * testsuite/30_threads/packaged_task/members/invoke4.cc: Adjust.
2891         * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
2892         * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
2893         * testsuite/30_threads/shared_future/cons/assign_neg.cc: Remove.
2894         * testsuite/30_threads/shared_future/cons/default_neg.cc: Remove.
2895         * testsuite/30_threads/shared_future/cons/default.cc: New.
2896         * testsuite/30_threads/shared_future/cons/assign.cc: New.
2897         * testsuite/30_threads/shared_future/cons/copy.cc: Adjust.
2898         * testsuite/30_threads/shared_future/cons/move.cc: Adjust.
2899         * testsuite/30_threads/shared_future/cons/move_assign.cc: New.
2900         * testsuite/30_threads/shared_future/members/is_ready.cc: Remove.
2901         * testsuite/30_threads/shared_future/members/has_value.cc: Remove.
2902         * testsuite/30_threads/shared_future/members/has_exception.cc: Remove.
2903         * testsuite/30_threads/shared_future/members/valid.cc: New.
2904         * testsuite/30_threads/unique_future/cons/default_neg.cc: Remove.
2905         * testsuite/30_threads/unique_future/cons/default.cc: New.
2906         * testsuite/30_threads/unique_future/cons/move_assign.cc: New.
2907         * testsuite/30_threads/unique_future/cons/assign_neg.cc: Adjust.
2908         * testsuite/30_threads/unique_future/cons/copy_neg.cc: Adjust.
2909         * testsuite/30_threads/unique_future/cons/move.cc: Adjust.
2910         * testsuite/30_threads/unique_future/requirements/
2911         explicit_instantiation.cc: Adjust.
2912         * testsuite/30_threads/unique_future/members/is_ready.cc: Remove.
2913         * testsuite/30_threads/unique_future/members/has_value.cc: Remove.
2914         * testsuite/30_threads/unique_future/members/has_exception.cc: Remove.
2915         * testsuite/30_threads/unique_future/members/valid.cc: New.
2916         * testsuite/30_threads/unique_future/members/get.cc: Adjust.
2917         * testsuite/30_threads/unique_future/members/get2.cc: Adjust.
2918         * testsuite/30_threads/unique_future/members/wait.cc: Adjust.
2919         * testsuite/30_threads/unique_future/members/wait_for.cc: Adjust.
2920         * testsuite/30_threads/unique_future/members/wait_until.cc: Adjust.
2921         * testsuite/30_threads/headers/future/types_std_c++0x.cc: Adjust.
2922         * testsuite/30_threads/promise/cons/alloc.cc: New.
2923         * testsuite/30_threads/promise/cons/assign_neg.cc: Adjust.
2924         * testsuite/30_threads/promise/cons/copy_neg.cc: Adjust.
2925         * testsuite/30_threads/promise/cons/move.cc: Adjust.
2926         * testsuite/30_threads/promise/cons/move_assign.cc: Adjust.
2927         * testsuite/30_threads/promise/members/get_future.cc: Adjust.
2928         * testsuite/30_threads/promise/members/set_value.cc: Adjust.
2929         * testsuite/30_threads/promise/members/set_exception.cc: Adjust.
2930         * testsuite/30_threads/promise/members/set_exception2.cc: Adjust.
2931         * testsuite/30_threads/promise/members/set_value2.cc: Adjust.
2932         * testsuite/30_threads/promise/members/set_value3.cc: Adjust.
2933         * testsuite/30_threads/promise/members/swap.cc: Adjust.
2934
2935 2010-01-20  Janis Johnson  <janis187@us.ibm.com>
2936             Paolo Carlini  <paolo.carlini@oracle.com>
2937
2938         PR libstdc++/21769
2939         * testsuite/lib/dg-options.exp (add_options_for_no_pch): Add.
2940         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
2941         Use it.
2942
2943 2010-01-19  Johannes Singler  <singler@kit.edu>
2944
2945         PR libstdc++/42712
2946         * include/parallel/settings.h (_Settings): Add search_minimal_n.
2947         * include/parallel/algo.h (__search_switch):
2948         Add serial fallback for too small inputs.
2949         (__search_n_switch): Likewise.  Call serial fallback on higher level
2950         to gain special treatment for __count 0 or 1.
2951         * testsuite/25_algorithms/search_n/iterator.cc:
2952         Reenable full test depth for parallel mode.
2953
2954 2010-01-18  Daniel Frey  <d.frey@gmx.de>
2955
2956         * include/std/functional (_Bind<_Functor(_Bound_args...)>::
2957         operator()): "Pass" _Result to __call*.
2958         (_Bind<_Functor(_Bound_args...)>::__call*): Adjust, simplify.
2959
2960 2010-01-18  Johannes Singler  <singler@kit.edu>
2961
2962         * include/parallel/base.h (__unary_negate): Correct comment.
2963
2964 2010-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
2965
2966         * include/std/functional (_Bind<_Functor(_Bound_args...)>::__call):
2967         Rename const version to __call_c and remove _Sfinae template
2968         parameter.
2969         (_Bind<_Functor(_Bound_args...)>::operator()): Adjust.
2970
2971         * include/std/functional: Pass everywhere temporary tuple<_Args...>
2972         arguments by rvalue reference.
2973
2974         * testsuite/20_util/bind/cv_quals.cc: New.
2975
2976         * testsuite/20_util/bind/ref2.cc: Add missing test variables.
2977
2978 2010-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2979
2980         PR libstdc++/35942
2981         * configure.ac: Remove -lstdc++ from libtool's postdeps_CXX.
2982         * configure: Regenerate.
2983
2984 2010-01-15  Phil Muldoon  <pmuldoon@redhat.com>
2985
2986         * python/libstdcxx/v6/printers.py (StdStringPrinter.__init__):
2987         Remove encoding argument.
2988         (StdStringPrinter.to_string): Do not compute or pass encoding.
2989         Use lazy_string over string function.
2990
2991 2010-01-14  Paolo Carlini  <paolo.carlini@oracle.com>
2992
2993         * include/c_std/cstring (memchr): Forward to the builtin.
2994         * include/c_std/cstring: Remove redundant casts; use names consistent
2995         with the letter of the Standard.
2996         * include/c_global/cstring: Likewise.
2997
2998 2010-01-13  Benjamin Kosnik  <bkoz@redhat.com>
2999
3000         * include/profile/iterator_tracker.h: Add copyright.
3001
3002 2010-01-13  Paolo Carlini  <paolo.carlini@oracle.com>
3003
3004         * testsuite/Makefile.am (check-debug): Add.
3005         * testsuite/Makefile.in: Regenerate.
3006         * config.h.in: Likewise.
3007
3008 2010-01-12  Paolo Carlini  <paolo.carlini@oracle.com>
3009
3010         * testsuite/17_intro/using_namespace_std_tr1_neg.cc: Do not run
3011         in parallel-mode.
3012         * testsuite/25_algorithms/inplace_merge/moveable.cc: Likewiwse.
3013         * testsuite/25_algorithms/rotate/moveable.cc: Likewiwse.
3014         * testsuite/25_algorithms/stable_partition/moveable.cc: Likewiwse.
3015         * testsuite/25_algorithms/remove/moveable.c: Likewiwse.
3016         * testsuite/25_algorithms/random_shuffle/moveable.cc: Likewiwse.
3017         * testsuite/25_algorithms/nth_element/moveable.cc: Likewiwse.
3018         * testsuite/25_algorithms/partial_sort/moveable.cc: Likewiwse.
3019         * testsuite/25_algorithms/next_permutation/moveable.cc: Likewiwse.
3020         * testsuite/25_algorithms/partition/moveable.cc: Likewiwse.
3021         * testsuite/25_algorithms/stable_sort/moveable.cc: Likewiwse.
3022         * testsuite/25_algorithms/stable_sort/moveable2.cc: Likewiwse.
3023         * testsuite/25_algorithms/sort/moveable.cc: Likewiwse.
3024         * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewiwse.
3025         * testsuite/25_algorithms/unique/moveable.cc: Likewiwse.
3026         * testsuite/25_algorithms/remove_if/moveable.cc: Likewiwse.
3027         * testsuite/25_algorithms/heap/moveable.cc: Likewiwse.
3028
3029         * testsuite/25_algorithms/search_n/iterator.cc: Reduce iteration #
3030         in parallel-mode.
3031
3032 2010-01-12  Hans-Peter Nilsson  <hp@axis.com>
3033
3034         * testsuite/ext/profile/all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS
3035         for non-tls_native targets.
3036
3037 2010-01-12  Benjamin Kosnik  <bkoz@redhat.com>
3038
3039         * scripts/run_doxygen: Correct nested scope on the man pages.
3040         * doc/xml/faq.xml: Edits, linkcheck, doxygen link reassociate.
3041         * doc/xml/manual/mt_allocator.xml: Same.
3042         * doc/xml/manual/allocator.xml: Same.
3043         * doc/xml/manual/codecvt.xml: Same.
3044         * doc/xml/manual/backwards_compatibility.xml: Same.
3045         * doc/xml/manual/concurrency.xml: Same.
3046         * doc/xml/manual/parallel_mode.xml: Same.
3047         * doc/xml/manual/io.xml: Same.
3048         * doc/xml/manual/support.xml: Same.
3049         * doc/xml/manual/evolution.xml: Same.
3050         * doc/xml/manual/using.xml: Same.
3051         * doc/xml/manual/extensions.xml: Same.
3052         * doc/xml/manual/appendix_contributing.xml: Same.
3053         * doc/xml/manual/prerequisites.xml: Same.
3054         * doc/xml/manual/diagnostics.xml: Same.
3055         * doc/xml/manual/spine.xml: Same.
3056         * doc/xml/manual/status_cxx200x.xml: Same.
3057         * doc/xml/manual/test.xml: Same.
3058         * doc/xml/spine.xml: Same.
3059         * doc/html/*: Regenerate.
3060
3061         * include/profile/impl/profiler.h: Remove duplicate markup.
3062
3063 2010-01-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
3064
3065         PR libstdc++/24803
3066         PR libstdc++/35569
3067         PR libstdc++/42593
3068         * include/std/functional (bind): Forward rvalues and detect correct
3069         result type of bound function object.
3070         * include/std/mutex (call_once): Specify bind result type.
3071         * testsuite/20_util/reference_wrapper/invoke.cc: Remove invalid tests.
3072         * testsuite/20_util/reference_wrapper/24803.cc: Remove invalid tests
3073         and enable FIXME tests.
3074         * testsuite/20_util/bind/35569.cc: New.
3075         * testsuite/20_util/bind/ref2.cc: New.
3076         * testsuite/20_util/bind/38889.cc: New.
3077         * testsuite/20_util/bind/ref_neg.cc: New.
3078         * testsuite/20_util/bind/42593.cc: New.
3079
3080 2010-01-11  Paolo Carlini  <paolo.carlini@oracle.com>
3081
3082         * include/parallel/base.h (decode2): Rename to __decode2.
3083         (binder2nd): Likewise to __binder2nd.
3084         * include/parallel/quicksort.h: Adjust callers.
3085         * include/parallel/balanced_quicksort.h: Likewise.
3086         * include/parallel/partition.h: Likewise.
3087         * include/parallel/queue.h: Likewise.
3088
3089         * include/parallel/algo.h: Qualify with std:: binder2nd use.
3090
3091 2010-01-10  Paolo Carlini  <paolo.carlini@oracle.com>
3092
3093         * include/debug/string (basic_string<>::basic_string(basic_string&&),
3094         operator=(basic_string&&), assign(basic_string&&)): Add.
3095
3096         * include/debug/string: Fully qualify initializer_list with std; fix
3097         _Allocator misspellings as _Alloc.
3098
3099 2010-01-10  Paolo Carlini  <paolo.carlini@oracle.com>
3100
3101         * include/bits/basic_string.h (basic_string<>::
3102         basic_string(basic_string&&), operator=(basic_string&&),
3103         assign(basic_string&&)): Add.
3104         * config/abi/pre/gnu.ver: Export new symbols.
3105         * include/ext/vstring.h (__versa_string<>::assign(__versa_string&&)):
3106         Add.
3107         (operator=(__versa_string&&)): Don't call clear unnecessarily.
3108         * include/ext/rc_string_base.h (__rc_string_base<>::
3109         __rc_string_base(__rc_string_base&&)): Simplify a tad.
3110         * testsuite/21_strings/basic_string/cons/char/moveable.cc: New.
3111         * testsuite/21_strings/basic_string/cons/wchar_t/moveable.cc: Likewise.
3112         * testsuite/ext/vstring/assign/move_assign.cc: Likewise.
3113         * testsuite/21_strings/basic_string/assign/char/move_assign.cc:
3114         Likewise.
3115         * testsuite/21_strings/basic_string/assign/wchar_t/move_assign.cc:
3116         Likewise.
3117
3118         * testsuite/ext/vstring/cons/moveable.cc: Fix comment nit.
3119
3120 2010-01-10  Silvius Rus  <rus@google.com>
3121
3122         * configure.ac: Add detection of execinfo.h.
3123         * configure: Regenerate.
3124         * config.h.in: Likewise.
3125         * doc/xml/manual/profile_mode.xml: Add list_to_slist manual.
3126         Also, correct user interface mistakes.
3127         * include/Makefile.am: Add references to new include files.
3128         * include/Makefile.in: Regenerate.
3129         * include/backward/hash_map: Remove profile include.
3130         * include/backward/hash_set: Likewise.
3131         * include/profile/hashtable.h: Delete file.
3132         * include/profile/iterator_tracker.h: New file.
3133         * include/profile/vector: Add instrumentation for tracked iterator.
3134         * include/profile/list: Same.
3135         * include/profile/impl/profiler_list_to_slist.h: New file.
3136         * include/profile/impl/profiler_list_to_vector.h: Same.
3137         * include/profile/impl/profiler.h: Add list_to_slist and
3138         list_to_vector instrumentation hook interfaces.  Fixed broken
3139         diagnostic disabling mechanism.
3140         (_GLIBCXX_PROFILE_DEFINE_DATA,_GLIBCXX_PROFILE_DATA) New macros.
3141         (__reentrance_guard) Fix bug.
3142         * include/profile/impl/profiler_trace.h: Replace dummy templates
3143         with _GLIBCXX_PROFILE_DEFINE_DATA.
3144         * include/profile/impl/profiler_container_size.h: Same.
3145         * include/profile/impl/profiler_vector_size.h: Same.
3146         * include/profile/impl/profiler_hash_func.h: Same.
3147         * include/profile/impl/profiler_vector_to_list.h: Same.
3148         * include/profile/impl/profiler_map_to_unordered_map.h: Same.
3149         * include/profile/impl/profiler_hashtable_size.h: Same.
3150         * include/profile/impl/profiler_node.h: Same.
3151         * include/profile/impl/profiler_state.h: Same.  Also, remove
3152         class __state. Also, use __sync_val_compare_and_swap to set state.
3153
3154 2010-01-09  H.J. Lu  <hongjiu.lu@intel.com>
3155
3156         PR other/42230
3157         * testsuite/abi/pr42230.cc: New.
3158
3159 2010-01-09  Paolo Carlini  <paolo.carlini@oracle.com>
3160
3161         * include/debug/set.h: Revert last change, per DR 1204 [Ready];
3162         mention the latter in comment.
3163         * include/debug/unordered_map: Likewise.
3164         * include/debug/multiset.h: Likewise.
3165         * include/debug/vector: Likewise.
3166         * include/debug/unordered_set: Likewise.
3167         * include/debug/deque: Likewise.
3168         * include/debug/map.h: Likewise.
3169         * include/debug/list: Likewise.
3170         * include/debug/multimap.h: Likewise.
3171         * include/tr1_impl/unordered_map: Likewise.
3172         * include/tr1_impl/unordered_set: Likewise.
3173         * include/profile/set.h: Likewise.
3174         * include/profile/unordered_map: Likewise.
3175         * include/profile/multiset.h: Likewise.
3176         * include/profile/unordered_set: Likewise.
3177         * include/profile/vector: Likewise.
3178         * include/profile/deque: Likewise.
3179         * include/profile/map.h: Likewise.
3180         * include/profile/list: Likewise.
3181         * include/profile/multimap.h: Likewise.
3182         * include/ext/vstring.h: Likewise.
3183         * include/bits/stl_list.h: Likewise.
3184         * include/bits/stl_map.h: Likewise.
3185         * include/bits/stl_set.h: Likewise.
3186         * include/bits/stl_multimap.h: Likewise.
3187         * include/bits/stl_vector.h: Likewise.
3188         * include/bits/stl_deque.h: Likewise.
3189         * include/bits/stl_multiset.h: Likewise.
3190
3191         * include/bits/forward_list.h: Remove pre-existing check.
3192         * include/ext/vstring.h: Likewise.
3193
3194         * testsuite/ext/vstring/cons/self_move_assign.cc: Remove.
3195         * testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
3196         Likewise.
3197         * testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
3198         * testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
3199         * testsuite/23_containers/unordered_multimap/cons/
3200         self_move_assign.cc: Likewise.
3201         * testsuite/23_containers/forward_list/cons/self_move_assign.cc:
3202         Likewise.
3203         * testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
3204         Likewise.
3205         * testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
3206         * testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
3207         * testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
3208         * testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
3209         * testsuite/23_containers/unordered_multiset/cons/
3210         self_move_assign.cc: Likewise.
3211         * testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.
3212
3213         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3214         Adjust dg-error line numbers.
3215         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3216         Likewise.
3217         * testsuite/23_containers/vector/requirements/dr438/
3218         constructor_1_neg.cc: Likewise.
3219         * testsuite/23_containers/vector/requirements/dr438/
3220         constructor_2_neg.cc: Likewise.
3221         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
3222         Likewise.
3223         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
3224         Likewise.
3225         * testsuite/23_containers/deque/requirements/dr438/
3226         constructor_1_neg.cc: Likewise.
3227         * testsuite/23_containers/forward_list/requirements/dr438/
3228         assign_neg.cc: Likewise.
3229         * testsuite/23_containers/forward_list/requirements/dr438/
3230         insert_neg.cc: Likewise.
3231         * testsuite/23_containers/forward_list/requirements/dr438/
3232         constructor_1_neg.cc: Likewise.
3233         * testsuite/23_containers/forward_list/requirements/dr438/
3234         constructor_2_neg.cc: Likewise.
3235         * testsuite/23_containers/deque/requirements/dr438/
3236         constructor_2_neg.cc: Likewise.
3237         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3238         Likewise.
3239         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
3240         Likewise.
3241         * testsuite/23_containers/list/requirements/dr438/
3242         constructor_1_neg.cc: Likewise.
3243         * testsuite/23_containers/list/requirements/dr438/
3244         constructor_2_neg.cc: Likewise.
3245
3246 2010-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
3247
3248         * include/debug/set.h: Protect move assignment operator vs self
3249         assignment.
3250         * include/debug/unordered_map: Likewise.
3251         * include/debug/multiset.h: Likewise.
3252         * include/debug/vector: Likewise.
3253         * include/debug/unordered_set: Likewise.
3254         * include/debug/deque: Likewise.
3255         * include/debug/map.h: Likewise.
3256         * include/debug/list: Likewise.
3257         *