OSDN Git Service

2010-10-07 Jonathan Wakely <jwakely.gcc@gmail.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2010-10-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
2
3         PR libstdc++/45924
4         * include/std/functional (_Bind_result::operator()): Do not expand
5         template parameter pack in forward call.
6         * testsuite/20_util/bind/45924.cc: New.
7
8 2010-10-06  Paolo Carlini  <paolo.carlini@oracle.com>
9
10         * include/std/functional (struct _Weak_result_type_impl): Add
11         specializazions for cv-qualified function types, for variadic
12         function types and pointers and references to function types,
13         and for pointers to member function types.
14         (struct _Reference_wrapper_base): Add specializations for
15         cv-qualified unary and binary function types.
16         * testsuite/20_util/reference_wrapper/result_type.cc: New.
17         * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.
18
19 2010-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
20
21         PR libstdc++/45863
22         * scripts/extract_symvers: Restore revision 164879.
23         Only use pvs on SunOS.
24
25 2010-10-05  David Krauss  <potswa@mac.com>
26
27         PR libstdc++/45841
28         * include/bits/fstream.h (basic_filebuf::underflow): Overflow
29         success does not preclude returning failure.
30         (basic_filebuf::pbackfail): Likewise.
31         (basic_filebuf::xsputn): Fix indentation problem.
32         (basic_filebuf::xsgetn): Likewise. Also, add similar overflow
33         call to enable optimized case from write mode.
34         * testsuite/27_io/basic_filebuf/underflow/char/45841.cc: New.
35         * testsuite/27_io/basic_filebuf/underflow/wchar_t/45841.cc: Likewise.
36
37 2010-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
38
39         * include/bits/locale_facets_nonio.h (time_get::get_time): Doc typo.
40         (time_get::get_date): Likewise.
41
42 2010-10-05  Paolo Carlini  <paolo.carlini@oracle.com>
43
44         * include/std/type_traits (_GLIBCXX_HAS_NESTED_TYPE): Add.
45         * include/std/functional (_Has_result_type_helper,
46         _Has_result_type): Remove; use the above to define __has_result_type.
47         * include/bits/stl_iterator_base_types.h: Use the above to define
48         __has_iterator_category.
49         * include/bits/allocator.h (__has_allocator_type): Use the above.
50         * include/bits/cpp_type_traits.h (__has_iterator_category,
51         __is_iterator): Remove.
52
53 2010-10-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
54             Jonathan Wakely  <jwakely.gcc@gmail.com>
55
56         PR libstdc++/44647
57         * libsupc++/Makefile.am (sources): Add bad_alloc.cc.
58         * libsupc++/new_handler.cc (bad_alloc): Move to ...
59         * libsupc++/bad_alloc.cc (bad_alloc): ... here, new file.
60         * libsupc++/Makefile.in: Regenerate.
61
62 2010-10-04  Paolo Carlini  <paolo.carlini@oracle.com>
63
64         * include/std/functional (function<>::swap): Use std::swap.
65         * include/tr1/functional (function<>::swap): Likewise.
66
67 2010-10-04  Andreas Schwab  <schwab@redhat.com>
68
69         * acinclude.m4 (GLIBCXX_ENABLE): Properly quote argument to
70         AC_HELP_STRING.  Double quote expansion of _g_help.
71         (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Double quote third argument of
72         GLIBCXX_ENABLE.
73         (GLIBCXX_ENABLE_CHEADERS): Likewise.
74         (GLIBCXX_ENABLE_CLOCALE): Likewise.
75         (GLIBCXX_ENABLE_ALLOCATOR): Likewise.
76         (GLIBCXX_ENABLE_CSTDIO): Likewise.
77         (GLIBCXX_ENABLE_SYMVERS): Likewise.
78         * configure: Regenerate.
79
80 2010-10-02  H.J. Lu  <hongjiu.lu@intel.com>
81
82         PR libstdc++/45863
83         * scripts/extract_symvers: Revert the pvs change.
84
85 2010-10-01  Benjamin Kosnik  <bkoz@redhat.com>
86
87         * scripts/extract_symvers: Add support for tracking TLS symbols.
88         * testsuite/util/testsuite_abi.h (symbol::category): Add tls type.
89         * testsuite/util/testsuite_abi.cc: Set symbol type to tls when
90         appropriate, collect size info.
91
92 2010-10-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
93
94         * scripts/extract_symvers: Use pvs if present.
95         * config/abi/post/solaris2.8/baseline_symbols.txt: New file.
96         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
97         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
98         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
99         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
100         * configure.host (i?86-*-solaris2*): Remove.
101         (sparc*-*-solaris2*): Remove.
102         (*-*-solaris2.[89]): Use solaris2.8 baseline.
103         (*-*-solaris2.1[0-9]): Use solaris2.10 baseline.
104         * testsuite/Makefile.am (new-abi-baseline): Add missing /.
105         * testsuite/Makefile.in: Regenerate.
106
107 2010-09-30  Michael Eager  <eager@eagercon.com>
108
109         * config/cpu/microblaze/cpu_defines.h: New. Define
110         _GLIBCXX_NO_VERBOSE_TERMINATE for MicroBlaze.
111
112 2010-09-29  Paolo Carlini  <paolo.carlini@oracle.com>
113
114         * include/Makefile.am: Add debug/forward_list.
115         * include/Makefile.in: Regenerate.
116
117         * testsuite/util/testsuite_container_traits.h (traits_base):
118         Add has_erase_after and hash_insert_after typedefs.
119         (traits<forward_list<>>): Adjust.
120         * testsuite/util/exception/safety.h (erase_point, erase_range,
121         insert_point): Deal correctly with forward_list.
122         * include/Makefile.am: Add.
123
124 2010-09-29  François Dumont  <francois.cppdevs@free.fr>
125
126         * src/debug.cc: Add forward_list specific debug messages.
127         * include/debug/forward_list: New.
128         * include/debug/formatter.h: Add debug message ids and before begin
129         iterator state.
130         * include/debug/macros.h (__glibcxx_check_insert_after,
131         __glibcxx_check_insert_range_after, __glibcxx_check_erase_after,
132         __glibcxx_check_erase_range_after): Add.
133         * include/debug/safe_iterator.h (_BeforeBeginHelper): Add.
134         (_Safe_iterator<>::_M_before_dereferenceable,
135         _Safe_iterator<>::_M_is_before_begin): Add.
136         (_Safe_iterator<>::_M_dereferenceable, _Safe_iterator<>::_M_is_end,
137         _Safe_iterator<>::_M_incrementable): Adjust.
138         * include/std/forward_list: Include debug/forward when _GLIBCXX_DEBUG
139         defined.
140         * include/bits/forward_list.h, forward_list.tcc: Put in std::__norm
141         when debug mode is active.
142         * testsuite/23_containers/forward_list/capacity/1.cc: Fix to compile
143         even in debug mode.
144         * testsuite/23_containers/forward_list/debug/erase_after1.cc,
145         erase_after2.cc, erase_after3.cc, erase_after4.cc, erase_after5.cc,
146         insert_after1.cc,erase_after6.cc, erase_after7.cc, insert_after2.cc,
147         erase_after8.cc, insert_after3.cc, erase_after9.cc: New
148
149 2010-09-28  DJ Delorie  <dj@redhat.com>
150
151         * libsupc++/hash_bytes.cc (_Hash_bytes): Replace "clength" with
152         "len" for "unusual sizeof(size_t)" case.
153
154 2010-09-28  Matt Austern  <austern@google.com>
155
156         * testsuite/20_util/hash/chi2_quality.cc: New.
157         * testsuite/20_util/hash/quality.cc: Likewise.
158
159 2010-09-27  Paolo Carlini  <paolo.carlini@oracle.com>
160
161         * include/bits/allocator.h (allocator_arg_t, allocator_arg,
162         uses_allocator): Add.
163         * testsuite/20_util/uses_allocator/value.cc: New.
164         * testsuite/20_util/uses_allocator/requirements/typedefs.cc: Likewise.
165         * testsuite/20_util/uses_allocator/requirements/
166         explicit_instantiation.cc: Likewise.
167         * include/bits/stl_queue.h (uses_allocator<queue>,
168         uses_allocator<priority_queue>): Add.
169         * include/bits/stl_stack.h (uses_allocator<stack>): Likewise.
170
171         * include/bits/stl_pair.h (piecewise_construct): Add.
172         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
173         line number.
174
175 2010-09-27  Paolo Carlini  <paolo.carlini@oracle.com>
176
177         * include/c_std/cmath (__pow_helper): Remove.
178         (__cmath_power): Remove declaration.
179         * include/c_global/cmath: Likewise.
180         * include/std/complex (__complex_pow_unsigned): Add.
181         (pow(const complex<_Tp>&, int)): Use the latter.
182         * include/c_std/cmath.tcc: Remove file.
183         * include/c_global/cmath.tcc: Likewise.
184         * acinclude.m4: Adjust.
185         * include/Makefile.am: Likewise.
186         * configure: Regenerate.
187         * include/Makefile.in: Likewise.
188
189 2010-09-22  David Krauss  <potswa@mac.com>
190
191         PR libstdc++/45628
192         * include/bits/fstream.tcc (basic_filebuf::underflow): Add state
193         transition to avoid modality requiring seekoff(0,ios::cur).
194         (basic_filebuf::pbackfail): Likewise.
195         (basic_filebuf::overflow): Likewise.
196         (basic_filebuf::_M_seek): Avoid minor unnecessary conversion.
197         (basic_filebuf::seekoff): Remove code to _M_get_ext_pos; make
198         (0, ios::cur) a special case preserving buffer contents.
199         (basic_filebuf::_M_get_ext_pos): New function to obtain status
200         about codecvt extern_t buffer for overflow and seekoff.
201         * include/std/fstream (basic_filebuf::_M_get_ext_pos): Likewise.
202         * config/abi/pre/gnu.ver: Export new symbols.
203         * testsuite/27_io/basic_filebuf/seekoff/char/45628-1.cc: New,
204         verifies that seekoff(0, ios::cur) preserves buffers.
205         * testsuite/27_io/basic_filebuf/seekoff/45628-2.cc: Likewise.
206         for codecvt case. More lenient as it may still flush put area.
207         * testsuite/27_io/basic_filebuf/seekoff/char/4.cc: Modify to
208         check that seekoff is not required between read and write.
209         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Likewise.
210         * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc: Remove.
211         * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc: Likewise.
212         * testsuite/util/testsuite_character.h (codecvt::do_length): Comply
213         with 22.2.1.5.2/10 "Returns ... the LARGEST value in the range..."
214
215 2010-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
216
217         * include/bits/functional_hash.h (__hash_base): Add.
218         (hash): Derive from __hash_base instead.
219         * include/debug/bitset (hash): Likewise.
220         * include/debug/vector (hash): Likewise.
221         * include/std/system_error (hash): Likewise.
222         * include/std/thread (hash): Likewise.
223         * include/std/bitset (hash): Likewise.
224         * include/profile/bitset (hash): Likewise.
225         * include/profile/vector (hash): Likewise.
226         * include/bits/basic_string.h (hash): Likewise.
227         * include/bits/stl_bvector.h (hash): Likewise.
228         * include/std/typeindex (hash): Do not derive from unary_function,
229         add result_type and argument_type typedefs; trim includes.
230
231 2010-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
232
233         * include/std/typeindex: New.
234         * include/Makefile.am: Add.
235         * include/Makefile.in: Regenerate.
236         * include/precompiled/stdc++.h: Add.
237         * testsuite/20_util/typeindex/comparison_operators.cc: New.
238         * testsuite/20_util/typeindex/hash.cc: Likewise.
239         * testsuite/20_util/typeindex/hash_code.cc: Likewise.
240         * testsuite/20_util/typeindex/name.cc: Likewise.
241
242         * testsuite/18_support/type_info/hash_code.cc: Tweak.
243
244 2010-09-22  Paolo Carlini  <paolo.carlini@oracle.com>
245
246         * src/hash_bytes.cc: Move...
247         * libsupc++/hash_bytes.cc: ... here.
248         * src/Makefile.am: Adjust.
249         * libsupc++/Makefile.am: Likewise.
250         * config/abi/pre/gnu.ver: Likewise.
251         * libsupc++/typeinfo (type_info::hash_code): Add in C++0x mode.
252         * src/Makefile.in: Regenerate.
253         * libsupc++/Makefile.am: Likewise.
254         * testsuite/18_support/type_info/hash_code.cc: New.
255
256 2010-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
257
258         PR libstdc++/45711
259         * src/Makefile.am (stamp-debug): Also adjust possibly-relative
260         file names in MKDIR_P, and, for consistency, also top_build_prefix.
261         * src/Makefile.in: Regenerate.
262
263 2010-09-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
264
265         * include/ext/throw_allocator.h
266         (hash<__gnu_cxx::throw_value_limit>::operator()): Uglify local.
267         (hash<__gnu_cxx::throw_value_random>::operator()): Likewise.
268         * include/parallel/set_operations.h (__symmetric_difference_func):
269         Uglify remaining arguments to __count, __first_empty, _M_invoke.
270         (__difference_func): Likewise for __count.
271         * include/profile/impl/profiler_node.h
272         (__object_info_base::__write): Uglify parameter.
273
274 2010-09-19  Paolo Carlini  <paolo.carlini@oracle.com>
275
276         * src/hash_bytes.cc: Compile load_bytes and shift_mix only when
277         __SIZEOF_SIZE_T__ == 8.
278
279 2010-09-17  Luc Hermitte  <hermitte@free.fr>
280             Paolo Carlini  <paolo.carlini@oracle.com>
281
282         PR libstdc++/45713
283         * include/std/bitset: Fix _GLIBCXX_BITSET_WORDS macro.
284         * testsuite/23_containers/bitset/45713.cc: New.
285
286 2010-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
287
288         * include/bits/stl_raw_storage_iter.h (raw_storage_iterator<>::
289         operator=(const _Tp&)): Use std::__addressof.
290
291 2010-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
292
293         * include/std/system_error (system_error::system_error(error_code),
294         system_error(error_code, const string&), system_error(int, const
295         error_category&), system_error(int, const error_category&,
296         const string&)): Fix for what() to return the NBTS recommended in
297         the Note in 19.5.6.2/14.
298         * testsuite/19_diagnostics/system_error/cons-1.cc: Adjust.
299         * testsuite/19_diagnostics/system_error/what-1.cc: Likewise.
300         * testsuite/19_diagnostics/system_error/what-2.cc: Likewise.
301         * testsuite/19_diagnostics/system_error/what-big.cc: Likewise.
302         * testsuite/19_diagnostics/system_error/what-3.cc: Likewise.
303
304         * testsuite/19_diagnostics/system_error/what-4.cc: Tidy includes.
305
306 2010-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
307
308         * include/std/complex (complex<float>::operator=(float),
309         complex<float>::operator+=(float),
310         complex<float>::operator-=(float),
311         complex<double>::operator=(double),
312         complex<double>::operator+=(double),
313         complex<double>::operator-=(double),
314         complex<long double>::operator=(long double),
315         complex<long double>::operator+=(long double),
316         complex<long double>::operator-=(long double)): Simplify a tad,
317         just forward to the underlying __complex__ T operators, as
318         operator*= and operator/= already do.
319
320         * include/std/complex (complex<float>, complex<double>,
321         complex<long double>): Simplify spelling of return types, just
322         say complex, instead of complex<float>, complex<double>,
323         complex<long double>, respectively.
324
325 2010-09-15  François Dumont  <francois.cppdevs@free.fr>
326
327         * testsuite/lib/libstdc++.exp,([check_v3_target_namedlocale]):
328         Clean temporary source file once compiled.
329
330 2010-09-15  Paolo Carlini  <paolo.carlini@oracle.com>
331
332         * doc/xml/manual/prerequisites.xml: Update "C" library locale
333         information prerequisites.
334
335 2010-09-15  François Dumont  <francois.cppdevs@free.fr>
336
337         * testsuite/lib/libstdc++.exp, dg-options.exp
338         ([check_v3_target_namedlocale]): Take the name of the required locale.
339         * testsuite/27_io/objects/wchar_t/9520.cc, 11.cc, 13.cc, 10.cc, 12.cc:
340         Specify locale name to check.
341         * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc, 13007-1.cc,
342         13007-2.cc: Likewise.
343         * testsuite/27_io/basic_streambuf/imbue/char/9322.cc, 13007-1.cc,
344         13007-2.cc: Likewise.
345         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
346         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
347         * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
348         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
349         Likewise.
350         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
351         Likewise.
352         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc, 2.cc:
353         Likewise.
354         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc, 9322.cc,
355         13582-2.cc, 2.cc, 13582-3.cc, 12868.cc, 14975-2.cc, 13007.cc: Likewise.
356         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc, 13171-4.cc,
357         9322.cc, 13582-2.cc, 2.cc, 14975-1.cc, 13007.cc, 13171-1.cc: Likewise.
358         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc,
359         11305-2.cc, 11305-3.cc, 11305-4.cc: Likewise.
360         * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc, 1.cc, 2.cc,
361         3.cc, 11389-1.cc, 4.cc, 11389-2.cc, 5.cc, 11389-3.cc, 11389-4.cc:
362         Likewise.
363         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
364         * testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc:
365         Likewise.
366         * testsuite/27_io/manipulators/extended/put_money/char/1.cc: Likewise.
367         * testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc:
368         Likewise.
369         * testsuite/27_io/manipulators/extended/get_money/char/1.cc: Likewise.
370         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
371         * testsuite/22_locale/money_put/put/wchar_t/1.cc, 2.cc, 3.cc,
372         wrapped_locale.cc, wrapped_env.cc: Likewise.
373         * testsuite/22_locale/money_put/put/char/1.cc, 2.cc, 3.cc, 9780-3.cc,
374         wrapped_locale.cc, wrapped_env.cc: Likewise.
375         * testsuite/22_locale/facet/2.cc: Likewise.
376         * testsuite/22_locale/collate/hash/wchar_t/2.cc, wrapped_locale.cc,
377         wrapped_env.cc: Likewise.
378         * testsuite/22_locale/collate/hash/char/2.cc, wrapped_locale.cc,
379         wrapped_env.cc: Likewise.
380         * testsuite/22_locale/collate/compare/wchar_t/1.cc, 2.cc, 3.cc,
381         wrapped_locale.cc, wrapped_env.cc: Likewise.
382         * testsuite/22_locale/collate/compare/char/1.cc, 2.cc, 3.cc,
383         wrapped_locale.cc, wrapped_env.cc: Likewise.
384         * testsuite/22_locale/collate/transform/wchar_t/2.cc, 3.cc,
385         wrapped_locale.cc, wrapped_env.cc: Likewise.
386         * testsuite/22_locale/collate/transform/char/2.cc, 3.cc,
387         wrapped_locale.cc, wrapped_env.cc: Likewise.
388         * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc,
389         wrapped_env.cc: Likewise.
390         * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc,
391         wrapped_env.cc: Likewise.
392         * testsuite/22_locale/ctype/to/char/wrapped_locale.cc, wrapped_env.cc:
393         Likewise.
394         * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc,
395         wrapped_env.cc: Likewise.
396         * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc,
397         wrapped_env.cc: Likewise.
398         * testsuite/22_locale/ctype/widen/wchar_t/2.cc, 3.cc,
399         wrapped_locale.cc, wrapped_env.cc: Likewise.
400         * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc,
401         wrapped_env.cc: Likewise.
402         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc, wrapped_locale.cc,
403         wrapped_env.cc: Likewise.
404         * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc,
405         wrapped_env.cc: Likewise.
406         * testsuite/22_locale/ctype/is/wchar_t/2.cc,wrapped_locale.cc,
407         wrapped_env.cc: Likewise
408         * testsuite/22_locale/ctype/is/char/2.cc, wrapped_locale.cc,
409         wrapped_env.cc: Likewise.
410         * testsuite/22_locale/time_put/put/wchar_t/2.cc, 3.cc, 4.cc, 6.cc,
411         7.cc, 8.cc, wrapped_env.cc, wrapped_locale.cc, 17038.cc: Likewise.
412         * testsuite/22_locale/time_put/put/char/2.cc, 3.cc, 4.cc, 6.cc,
413         9780-1.cc, 7.cc, 8.cc, wrapped_env.cc, wrapped_locale.cc, 17038.cc:
414         Likewise.
415         * testsuite/22_locale/money_get/get/wchar_t/1.cc, 2.cc, 3.cc, 4.cc,
416         wrapped_env.cc, 10.cc, 11528.cc, wrapped_locale.cc, 11.cc, 12.cc,
417         13.cc, 15.cc, 16.cc, 17.cc, 18.cc: Likewise.
418         * testsuite/22_locale/money_get/get/char/1.cc, 2.cc, 3.cc, 4.cc,
419         wrapped_env.cc, 10.cc, 11528.cc, wrapped_locale.cc, 11.cc, 12.cc,
420         13.cc, 15.cc, 16.cc, 17.cc, 18.cc: Likewise
421         * testsuite/22_locale/num_put/put/wchar_t/1.cc, 3.cc, 5.cc,
422         wrapped_env.cc, 20914.cc, wrapped_locale.cc, 20909.cc: Likewise.
423         * testsuite/22_locale/num_put/put/char/1.cc, 3.cc, 5.cc, 9780-2.cc,
424         wrapped_env.cc, 20914.cc, wrapped_locale.cc, 20909.cc: Likewise.
425         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc, wrapped_locale.cc,
426         3.cc, 4.cc, wrapped_env.cc: Likewise.
427         * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc,
428         wrapped_env.cc: Likewise.
429         testsuite/22_locale/codecvt/length/wchar_t/2.cc, wrapped_locale.cc,
430         3.cc, 4.cc, 7.cc, wrapped_env.cc: Likewise.
431         * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc,
432         wrapped_env.cc: Likewise.
433         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc,
434         wrapped_locale.cc, 3.cc, 4.cc, wrapped_env.cc: Likewise.
435         * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc,
436         wrapped_env.cc: Likewise.
437         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc, wrapped_locale.cc,
438         3.cc, 4.cc, wrapped_env.cc: Likewise.
439         * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc,
440         wrapped_env.cc: Likewise.
441         * testsuite/22_locale/codecvt/in/wchar_t/2.cc, wrapped_locale.cc, 3.cc,
442         4.cc, 7.cc, 8.cc, 9.cc, wrapped_env.cc: Likewise.
443         * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc,
444         wrapped_env.cc: Likewise.
445         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc,
446         wrapped_locale.cc, 3.cc, 4.cc, wrapped_env.cc: Likewise.
447         * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc,
448         wrapped_env.cc: Likewise.
449         * testsuite/22_locale/codecvt/out/wchar_t/2.cc, wrapped_locale.cc,
450         3.cc, 4.cc, 7.cc, wrapped_env.cc: Likewise.
451         * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc,
452         wrapped_env.cc: Likewise.
453         * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
454         * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc,
455         wrapped_env.cc: Likewise.
456         * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc,
457         wrapped_env.cc: Likewise.
458         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc,
459         wrapped_locale.cc, wrapped_env.cc: Likewise.
460         * testsuite/22_locale/time_get/get_monthname/char/2.cc,
461         wrapped_locale.cc, wrapped_env.cc: Likewise.
462         * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc,
463         wrapped_env.cc: Likewise.
464         * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc,
465         wrapped_env.cc: Likewise.
466         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc,
467         wrapped_locale.cc, wrapped_env.cc: Likewise.
468         * testsuite/22_locale/time_get/get_weekday/char/2.cc, 38081-1.cc,
469         wrapped_locale.cc, 38081-2.cc, wrapped_env.cc: Likewise.
470         * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc, 26701.cc,
471         2.cc, wrapped_locale.cc, 4.cc, wrapped_env.cc: Likewise.
472         * testsuite/22_locale/time_get/get_date/char/12750.cc, 26701.cc,
473         2.cc, wrapped_locale.cc, wrapped_env.cc: Likewise.
474         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc, 2.cc,
475         wrapped_locale.cc, wrapped_env.cc: Likewise.
476         * testsuite/22_locale/time_get/get_time/char/1.cc, 2.cc,
477         wrapped_locale.cc, wrapped_env.cc: Likewise.
478         * testsuite/22_locale/num_get/get/wchar_t/1.cc, 3.cc, 5.cc, 6.cc, 9.cc,
479         wrapped_env.cc, wrapped_locale.cc: Likewise.
480         * testsuite/22_locale/num_get/get/char/1.cc, 3.cc, 5.cc, 6.cc, 9.cc,
481         wrapped_env.cc, wrapped_locale.cc: Likewise.
482         * testsuite/22_locale/locale/cons/38368.cc, 2.cc, 4.cc, 5.cc, 7.cc,
483         12658_thread-1.cc, 12658_thread-2.cc, 40184.cc, 29217.cc, 38365.cc:
484         Likewise.
485         * testsuite/22_locale/locale/global_locale_objects/14071.cc, 2.cc:
486         Likewise.
487         * testsuite/22_locale/moneypunct/40712.cc: Likewise.
488         * testsuite/22_locale/moneypunct/members/wchar_t/2.cc,
489         wrapped_locale.cc, wrapped_env.cc: Likewise.
490         * testsuite/22_locale/moneypunct/members/char/2.cc, wrapped_locale.cc,
491         wrapped_env.cc: Likewise.
492         * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
493         * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
494         * testsuite/22_locale/messages/members/char/1.cc, 2.cc,
495         wrapped_locale.cc, 3.cc, wrapped_env.cc: Likewise.
496         * testsuite/22_locale/numpunct/members/wchar_t/2.cc, wrapped_locale.cc,
497         wrapped_env.cc: Likewise.
498         * testsuite/22_locale/numpunct/members/char/2.cc, wrapped_locale.cc,
499         3.cc, wrapped_env.cc: Likewise.
500         * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
501
502 2010-09-14  Matt Austern  <austern@google.com>
503             Paolo Carlini  <paolo.carlini@oracle.com>
504
505         * testsuite/performance/21_strings/hash.cc: New.
506
507 2010-09-14  Paolo Carlini  <paolo.carlini@oracle.com>
508
509         * testsuite/performance/21_strings/string_append.cc: Rename to...
510         * testsuite/performance/21_strings/append-1.cc: ... this.
511         * testsuite/performance/21_strings/string_append_2.cc: Rename to...
512         * testsuite/performance/21_strings/append-2.cc: ... this.
513         * testsuite/performance/21_strings/string_cons_input_iterator.cc:
514         Rename to...
515         * testsuite/performance/21_strings/cons_input_iterator.cc: ... this.
516         * testsuite/performance/21_strings/string_copy_cons_and_dest.cc:
517         Rename to...
518         * testsuite/performance/21_strings/copy_cons_and_dest.cc: ... this.
519         * testsuite/performance/21_strings/string_find.cc: Rename to...
520         * testsuite/performance/21_strings/find.cc: ... this.
521
522 2010-09-13  Benjamin Kosnik  <bkoz@redhat.com>
523
524         * doc/xml/api.xml: Add title.
525         * doc/xml/manual/spine.xml: Same.
526         * doc/xml/spine.xml: Same.
527
528 2010-09-13  Matt Austern  <austern@google.com>
529
530         * src/hash_bytes.cc: New file, exports _Hash_bytes (a Murmur hash),
531         and _Fnv_hash_bytes (based on a FNV algorithm).
532         * src/compatibility-c++0x.cc (hash<string>::operator(),
533         hash<const string&>::operator(), hash<wstring>::operator(),
534         hash<const wstring&>::operator(), hash<error_code>::operator()):
535         Adjust, use _Hash_bytes.
536         * include/std/system_error (hash<error_code>::operator()): Likewise.
537         * include/std/thread (hash<thread::id>operator()): Likewise.
538         * include/std/bitset (hash<bitset>operator()): Likewise.
539         * include/bits/basic_string.h (hash<string>::operator(),
540         hash<wstring>::operator(), hash<u16string>::operator(),
541         hash<u32string>::operator()): Adjust.
542         * include/bits/vector.tcc (hash<vector<bool>>::operator()): Adjust.
543         * include/bits/functional_hash.h (_Hash_bytes, _Fnv_hash_bytes):
544         Declare.
545         (struct _Hash_impl, struct _Fnv_hash_impl): Add, use _Hash_bytes
546         and _Fnv_hash_bytes, respectively.
547         (hash<float>::operator(), hash<double>::operator()): Adjust.
548         * config/abi/pre/gnu.ver: Add exports.
549         * src/Makefile.am: Add.
550         * src/Makefile.in: Regenerate.
551
552 2010-09-13  Paolo Carlini  <paolo.carlini@oracle.com>
553
554         * include/bits/forward_list.h (forward_list<>::resize(size_type,
555         value_type)): Fix signature, per LWG 1340.
556         * include/bits/forward_list.tcc: Adjust definition.
557
558 2010-09-13  Paolo Carlini  <paolo.carlini@oracle.com>
559
560         * testsuite/27_io/basic_filebuf/seekoff/char/4.cc: New.
561         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Likewise.
562
563 2010-09-10  Paolo Carlini  <paolo.carlini@oracle.com>
564
565         * src/hash-string-aux.cc: Remove. Move contents...
566         * src/hash_tr1.cc: ... here.
567         * src/compatibility-c++0x.cc: ... and here.
568
569 2010-09-09  Paolo Carlini  <paolo.carlini@oracle.com>
570
571         PR libstdc++/45613
572         * include/bits/random.tcc: Add missing include guards.
573         * include/bits/random.h: Likewise.
574         * include/tr1/random.tcc: Likewise.
575
576 2010-09-09  Paolo Carlini  <paolo.carlini@oracle.com>
577
578         * libsupc++/cxxabi.h: Uglify nothrow to __nothrow__; fix a few
579         inconsistent uglifications everywhere.
580
581 2010-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
582             Marc Glisse  <marc.glisse@normalesup.org>
583
584         PR libstdc++/45549
585         * include/bits/cpp_type_traits.h (__is_iterator_helper): Rename to
586         __has_iterator_category.
587         (__is_iterator): Adjust.
588         * include/bits/stl_iterator_base_types.h (__iterator_traits): Add
589         in C++0x mode, use the latter.
590         (iterator_traits): In C++0x mode, derive from the latter.
591         * include/bits/stl_iterator_base_funcs.h (next, prev): Remove
592         enable_if on the return type.
593
594 2010-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
595
596         PR libstdc++/45398
597         * include/std/atomic (atomic<_TP*>::store): Define.
598
599         * include/std/atomic (atomic<_TP*>::load, exchange): Define inline.
600
601 2010-09-06  Jason Merrill  <jason@redhat.com>
602
603         * testsuite/libstdc++-abi/abi.exp: Add "libstdc++-abi/" to
604         abi_check FAIL message.
605
606 2010-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
607
608         PR libstdc++/45347
609         * include/ext/concurrence.h: Add #pragma GCC system_header.
610
611 2010-09-03  François Dumont <francois.cppdevs@free.fr>
612
613         * testsuite/lib/libstdc++.exp ([check_v3_target_debug_mode]): Fix so
614         that it really detects when debug mode is activated.
615         * testsuite/util/debug/construct_neg.h, insert_neg.h, assign_neg.h:
616         Remove, content moved...
617         * testsuite/util/debug/checks.h: ... here. Modify checks to take the
618         type of the container to test rather than an intermediate container
619         type traits helper.
620         * testsuite/23_containers/unordered_map/debug/insert1_neg.cc: Update to
621         use dg-require-debug-mode when necessary and use new check functions.
622         * testsuite/23_containers/unordered_map/debug/construct1_neg.cc:
623         Likewise.
624         * testsuite/23_containers/unordered_map/debug/construct2_neg.cc:
625         Likewise.
626         * testsuite/23_containers/unordered_map/debug/insert2_neg.cc: Likewise.
627         * testsuite/23_containers/unordered_map/debug/construct3_neg.cc:
628         Likewise.
629         * testsuite/23_containers/unordered_map/debug/insert3_neg.cc: Likewise.
630         * testsuite/23_containers/unordered_map/debug/construct4_neg.cc:
631         Likewise.
632         * testsuite/23_containers/unordered_map/debug/insert4_neg.cc: Likewise.
633         * testsuite/23_containers/multimap/debug/insert1_neg.cc: Likewise.
634         * testsuite/23_containers/multimap/debug/construct1_neg.cc: Likewise.
635         * testsuite/23_containers/multimap/debug/construct2_neg.cc: Likewise.
636         * testsuite/23_containers/multimap/debug/insert2_neg.cc: Likewise.
637         * testsuite/23_containers/multimap/debug/construct3_neg.cc: Likewise.
638         * testsuite/23_containers/multimap/debug/insert3_neg.cc: Likewise.
639         * testsuite/23_containers/multimap/debug/construct4_neg.cc: Likewise.
640         * testsuite/23_containers/multimap/debug/insert4_neg.cc: Likewise.
641         * testsuite/23_containers/set/debug/insert1_neg.cc: Likewise.
642         * testsuite/23_containers/set/debug/construct1_neg.cc: Likewise.
643         * testsuite/23_containers/set/debug/construct2_neg.cc: Likewise.
644         * testsuite/23_containers/set/debug/insert2_neg.cc: Likewise.
645         * testsuite/23_containers/set/debug/construct3_neg.cc: Likewise.
646         * testsuite/23_containers/set/debug/insert3_neg.cc: Likewise.
647         * testsuite/23_containers/set/debug/construct4_neg.cc: Likewise.
648         * testsuite/23_containers/set/debug/insert4_neg.cc: Likewise.
649         * testsuite/23_containers/unordered_multimap/debug/insert1_neg.cc:
650         Likewise.
651         * testsuite/23_containers/unordered_multimap/debug/construct1_neg.cc:
652         Likewise.
653         * testsuite/23_containers/unordered_multimap/debug/construct2_neg.cc:
654         Likewise.
655         * testsuite/23_containers/unordered_multimap/debug/insert2_neg.cc:
656         Likewise.
657         * testsuite/23_containers/unordered_multimap/debug/construct3_neg.cc:
658         Likewise.
659         * testsuite/23_containers/unordered_multimap/debug/insert3_neg.cc:
660         Likewise.
661         * testsuite/23_containers/unordered_multimap/debug/construct4_neg.cc:
662         Likewise.
663         * testsuite/23_containers/unordered_multimap/debug/insert4_neg.cc:
664         Likewise.
665         * testsuite/23_containers/vector/debug/assign1_neg.cc: Likewise.
666         * testsuite/23_containers/vector/debug/construct1_neg.cc: Likewise.
667         * testsuite/23_containers/vector/debug/construct2_neg.cc: Likewise.
668         * testsuite/23_containers/vector/debug/assign2_neg.cc: Likewise.
669         * testsuite/23_containers/vector/debug/construct3_neg.cc: Likewise.
670         * testsuite/23_containers/vector/debug/assign3_neg.cc: Likewise.
671         * testsuite/23_containers/vector/debug/construct4_neg.cc: Likewise.
672         * testsuite/23_containers/vector/debug/assign4_neg.cc: Likewise.
673         * testsuite/23_containers/vector/debug/insert1_neg.cc: Likewise.
674         * testsuite/23_containers/vector/debug/insert2_neg.cc: Likewise.
675         * testsuite/23_containers/vector/debug/insert3_neg.cc: Likewise.
676         * testsuite/23_containers/vector/debug/insert4_neg.cc: Likewise.
677         * testsuite/23_containers/unordered_set/debug/insert1_neg.cc: Likewise.
678         * testsuite/23_containers/unordered_set/debug/construct1_neg.cc:
679         Likewise.
680         * testsuite/23_containers/unordered_set/debug/construct2_neg.cc:
681         Likewise.
682         * testsuite/23_containers/unordered_set/debug/insert2_neg.cc: Likewise.
683         * testsuite/23_containers/unordered_set/debug/construct3_neg.cc:
684         Likewise.
685         * testsuite/23_containers/unordered_set/debug/insert3_neg.cc: Likewise.
686         * testsuite/23_containers/unordered_set/debug/construct4_neg.cc:
687         Likewise.
688         * testsuite/23_containers/unordered_set/debug/insert4_neg.cc: Likewise.
689         * testsuite/23_containers/deque/debug/assign1_neg.cc: Likewise.
690         * testsuite/23_containers/deque/debug/construct1_neg.cc: Likewise.
691         * testsuite/23_containers/deque/debug/construct2_neg.cc: Likewise.
692         * testsuite/23_containers/deque/debug/assign2_neg.cc: Likewise.
693         * testsuite/23_containers/deque/debug/construct3_neg.cc: Likewise.
694         * testsuite/23_containers/deque/debug/assign3_neg.cc: Likewise.
695         * testsuite/23_containers/deque/debug/construct4_neg.cc: Likewise.
696         * testsuite/23_containers/deque/debug/assign4_neg.cc: Likewise.
697         * testsuite/23_containers/deque/debug/insert1_neg.cc: Likewise.
698         * testsuite/23_containers/deque/debug/insert2_neg.cc: Likewise.
699         * testsuite/23_containers/deque/debug/insert3_neg.cc: Likewise.
700         * testsuite/23_containers/deque/debug/insert4_neg.cc: Likewise.
701         * testsuite/23_containers/multiset/debug/insert1_neg.cc: Likewise.
702         * testsuite/23_containers/multiset/debug/construct1_neg.cc: Likewise.
703         * testsuite/23_containers/multiset/debug/construct2_neg.cc: Likewise.
704         * testsuite/23_containers/multiset/debug/insert2_neg.cc: Likewise.
705         * testsuite/23_containers/multiset/debug/construct3_neg.cc: Likewise.
706         * testsuite/23_containers/multiset/debug/insert3_neg.cc: Likewise.
707         * testsuite/23_containers/multiset/debug/construct4_neg.cc: Likewise.
708         * testsuite/23_containers/multiset/debug/insert4_neg.cc: Likewise.
709         * testsuite/23_containers/list/debug/assign1_neg.cc: Likewise.
710         * testsuite/23_containers/list/debug/construct1_neg.cc: Likewise.
711         * testsuite/23_containers/list/debug/construct2_neg.cc: Likewise.
712         * testsuite/23_containers/list/debug/assign2_neg.cc: Likewise.
713         * testsuite/23_containers/list/debug/construct3_neg.cc: Likewise.
714         * testsuite/23_containers/list/debug/assign3_neg.cc: Likewise.
715         * testsuite/23_containers/list/debug/construct4_neg.cc: Likewise.
716         * testsuite/23_containers/list/debug/assign4_neg.cc: Likewise.
717         * testsuite/23_containers/list/debug/insert1_neg.cc: Likewise.
718         * testsuite/23_containers/list/debug/insert2_neg.cc: Likewise.
719         * testsuite/23_containers/list/debug/insert3_neg.cc: Likewise.
720         * testsuite/23_containers/list/debug/insert4_neg.cc: Likewise.
721         * testsuite/23_containers/unordered_multiset/debug/insert1_neg.cc:
722         Likewise.
723         * testsuite/23_containers/unordered_multiset/debug/construct1_neg.cc:
724         Likewise.
725         * testsuite/23_containers/unordered_multiset/debug/construct2_neg.cc:
726         Likewise.
727         * testsuite/23_containers/unordered_multiset/debug/insert2_neg.cc:
728         Likewise.
729         * testsuite/23_containers/unordered_multiset/debug/construct3_neg.cc:
730         Likewise.
731         * testsuite/23_containers/unordered_multiset/debug/insert3_neg.cc:
732         Likewise.
733         * testsuite/23_containers/unordered_multiset/debug/construct4_neg.cc:
734         Likewise.
735         * testsuite/23_containers/unordered_multiset/debug/insert4_neg.cc:
736         Likewise.
737         * testsuite/23_containers/map/debug/insert1_neg.cc: Likewise.
738         * testsuite/23_containers/map/debug/construct1_neg.cc: Likewise.
739         * testsuite/23_containers/map/debug/construct2_neg.cc: Likewise.
740         * testsuite/23_containers/map/debug/insert2_neg.cc: Likewise.
741         * testsuite/23_containers/map/debug/construct3_neg.cc: Likewise.
742         * testsuite/23_containers/map/debug/insert3_neg.cc: Likewise.
743         * testsuite/23_containers/map/debug/construct4_neg.cc: Likewise.
744         * testsuite/23_containers/map/debug/insert4_neg.cc: Likewise.
745
746         * testsuite/23_containers/unordered_map/debug/cont_traits.h: Remove.
747         * testsuite/23_containers/unordered_map/debug/debug_cont_traits.h:
748         Likewise.
749         * testsuite/23_containers/multimap/debug/cont_traits.h: Likewise.
750         * testsuite/23_containers/multimap/debug/debug_cont_traits.h: Likewise.
751         * testsuite/23_containers/set/debug/cont_traits.h: Likewise.
752         * testsuite/23_containers/set/debug/debug_cont_traits.h: Likewise.
753         * testsuite/23_containers/unordered_multimap/debug/cont_traits.h:
754         Likewise.
755         * testsuite/23_containers/unordered_multimap/debug/
756         debug_cont_traits.h: Likewise.
757         * testsuite/23_containers/vector/debug/cont_traits.h: Likewise.
758         * testsuite/23_containers/vector/debug/debug_cont_traits.h: Likewise.
759         * testsuite/23_containers/unordered_set/debug/cont_traits.h: Likewise.
760         * testsuite/23_containers/unordered_set/debug/debug_cont_traits.h:
761         Likewise.
762         * testsuite/23_containers/deque/debug/cont_traits.h: Likewise.
763         * testsuite/23_containers/deque/debug/debug_cont_traits.h: Likewise.
764         * testsuite/23_containers/multiset/debug/cont_traits.h: Likewise.
765         * testsuite/23_containers/multiset/debug/debug_cont_traits.h: Likewise.
766         * testsuite/23_containers/list/debug/cont_traits.h: Likewise.
767         * testsuite/23_containers/list/debug/debug_cont_traits.h: Likewise.
768         * testsuite/23_containers/unordered_multiset/debug/cont_traits.h:
769         Likewise.
770         * testsuite/23_containers/unordered_multiset/debug/
771         debug_cont_traits.h: Likewise.
772         * testsuite/23_containers/map/debug/cont_traits.h: Likewise.
773         * testsuite/23_containers/map/debug/debug_cont_traits.h: Likewise.
774
775         * testsuite/21_strings/basic_string/element_access/char: Tidy.
776         * testsuite/21_strings/basic_string/element_access/wchar_t: Likewise.
777
778 2010-09-02  Paolo Carlini  <paolo.carlini@oracle.com>
779
780         PR libstdc++/40974
781         * include/Makefile.am: Add -nostdinc++ to PCHFLAGS.
782         * include/Makefile.in: Regenerate.
783
784 2010-09-01  Christopher Yeleighton  <giecrilj@stegny.2a.pl>
785             Paolo Carlini  <paolo.carlini@oracle.com>
786
787         PR libstdc++/45488
788         * include/bits/stl_algobase.h (lower_bound): Clean-up a tad, move
789         two variables inside the main loop.
790         * include/bits/stl_algo.h (lower_bound, upper_bound, equal_range):
791         Likewise.
792
793 2010-08-31  Paolo Carlini  <paolo.carlini@oracle.com>
794
795         PR libstdc++/44480
796         * include/bits/hashtable.h (_Hashtable<>::_M_begin_bucket_index):
797         Add, caching the index of the first non-empty bucket.
798         (begin, cbegin): Use it.
799         (_Hashtable<>::_Hashtable(_InputIterator, _InputIterator, ...),
800         _Hashtable(const _Hashtable&), _Hashtable(_Hashtable&&),
801         swap(_Hashtable&), clear): Adjust.
802         (_M_insert_bucket, _M_insert, erase(const_iterator),
803         erase(const key_type&), _M_rehash): Update it.
804
805         * include/bits/hashtable.h (_Hashtable<>::_M_erase): Remove.
806         (erase(const_iterator)): Inline the latter.
807
808 2010-08-31  Paolo Carlini  <paolo.carlini@oracle.com>
809
810         * testsuite/23_containers/forward_list/operations/remove_freed.cc:
811         Fix test01 return type to void.
812         * testsuite/util/exception/safety.h: Avoid -Wall -m32 warnings.
813         * testsuite/util/replacement_memory_operators.h: Likewise.
814
815 2010-08-29  Paolo Carlini  <paolo.carlini@oracle.com>
816
817         * testsuite/23_containers/bitset/invalidation: Move...
818         * testsuite/23_containers/bitset/debug/invalidation: ... here.
819         * testsuite/23_containers/deque/invalidation: Move...
820         * testsuite/23_containers/deque/debug/invalidation: ... here.
821         * testsuite/23_containers/list/invalidation: Move...
822         * testsuite/23_containers/list/debug/invalidation: ... here.
823         * testsuite/23_containers/map/invalidation: Move...
824         * testsuite/23_containers/map/debug/invalidation: ... here.
825         * testsuite/23_containers/multimap/invalidation: Move...
826         * testsuite/23_containers/multimap/debug/invalidation: ... here.
827         * testsuite/23_containers/set/invalidation: Move...
828         * testsuite/23_containers/set/debug/invalidation: ... here.
829         * testsuite/23_containers/multiset/invalidation: Move...
830         * testsuite/23_containers/multiset/debug/invalidation: ... here.
831         * testsuite/23_containers/vector/invalidation: Move...
832         * testsuite/23_containers/vector/debug/invalidation: ... here.
833
834 2010-08-29  François Dumont  <francois.cppdevs@free.fr>
835
836         * include/bits/stl_algobase.h (_Iter_base):  Move...
837         * include/bits/stl_iterator_base_types.h: ...here.
838         * include/debug/functions.h (__check_valid_range, __check_string,
839         __check_sorted): Fix to not depend on _GLIBCXX_DEBUG; include
840         formatter.h and use formatting macros for a consistent debug result.
841         * include/debug/formatter.h (__check_singular): Declare; do not
842         include debug.h.
843         * include/debug/debug.h: Do not include formatter.h.
844         * include/debug/safe_iterator.h (_Safe_iterator::_Base_Iterator)
845         rename to iterator_type.
846         (__gnu_debug::__base): Add.
847         * include/debug/set.h: Use everywhere __gnu_debug::__base once
848         iterator range valided.
849         * include/debug/unordered_map: Likewise.
850         * include/debug/multiset.h: Likewise.
851         * include/debug/vector: Likewise.
852         * include/debug/unordered_set: Likewise.
853         * include/debug/deque: Likewise.
854         * include/debug/map.h: Likewise.
855         * include/debug/string: Likewise.
856         * include/debug/list: Likewise.
857         * include/debug/multimap.h: Likewise.
858         * testsuite/23_containers/util/debug/assign_neg.h: New test cases on
859         debug checks performed on container assign operation.
860         * testsuite/23_containers/util/debug/construct_neg.h: New test cases
861         on debug checks on constructors.
862         * testsuite/23_containers/util/debug/insert_neg.h: New test cases on
863         debug checks performed on container insert operations.
864         * testsuite/23_containers/unordered_map/debug/cont_traits.h,
865         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
866         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
867         insert3_neg.cc, insert4_neg.cc: New.
868         * testsuite/23_containers/multimap/debug/cont_traits.h,
869         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
870         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
871         insert3_neg.cc, insert4_neg.cc: Likewise.
872         * testsuite/23_containers/set/debug/cont_traits.h,
873         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
874         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
875         insert3_neg.cc, insert4_neg.cc: Likewise.
876         * testsuite/23_containers/unordered_multimap/debug/cont_traits.h,
877         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
878         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
879         insert3_neg.cc, insert4_neg.cc: Likewise.
880         * testsuite/23_containers/unordered_set/debug/cont_traits.h,
881         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
882         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
883         insert3_neg.cc, insert4_neg.cc: Likewise.
884         * testsuite/23_containers/multiset/debug/cont_traits.h,
885         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
886         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
887         insert3_neg.cc, insert4_neg.cc: Likewise.
888         * testsuite/23_containers/unordered_multiset/debug/cont_traits.h,
889         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
890         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
891         insert3_neg.cc, insert4_neg.cc: Likewise.
892         * testsuite/23_containers/map/debug/cont_traits.h,
893         debug_cont_traits.h, construct1_neg.cc, construct2_neg.cc,
894         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
895         insert3_neg.cc, insert4_neg.cc: Likewise.
896         * testsuite/23_containers/vector/debug/cont_traits.h,
897         debug_cont_traits.h, assign1_neg.cc, assign2_neg.cc, assign3_neg.cc,
898         assign4_neg.cc, construct1_neg.cc, construct2_neg.cc,
899         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
900         insert3_neg.cc, insert4_neg.cc: Likewise.
901         * testsuite/23_containers/deque/debug/cont_traits.h,
902         debug_cont_traits.h, assign1_neg.cc, assign2_neg.cc, assign3_neg.cc,
903         assign4_neg.cc, construct1_neg.cc, construct2_neg.cc,
904         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
905         insert3_neg.cc, insert4_neg.cc: Likewise.
906         * testsuite/23_containers/list/debug/cont_traits.h,
907         debug_cont_traits.h, assign1_neg.cc, assign2_neg.cc, assign3_neg.cc,
908         assign4_neg.cc, construct1_neg.cc, construct2_neg.cc,
909         construct3_neg.cc, construct4_neg.cc, insert1_neg.cc, insert2_neg.cc,
910         insert3_neg.cc, insert4_neg.cc: Likewise.
911         * testsuite/performance/23_containers/range_construct/
912         list_construct1.cc: New, validate performance impact of the patch
913         on the debug mode.
914         * testsuite/performance/23_containers/range_construct/
915         list_construct2.cc: Likewise.
916         * testsuite/performance/23_containers/range_construct/
917         vector_construct.cc: Likewise.
918         * testsuite/performance/23_containers/range_construct/
919         deque_construct.cc: Likewise.
920
921 2010-08-26  Benjamin Kosnik  <bkoz@redhat.com>
922
923         * include/bits/stl_iterator_base_types.h: Fix doxygen warning.
924
925 2010-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
926
927         * configure: Regenerate.
928
929 2010-08-18  Kostya Serebryany <kcc@google.com>
930             Paolo Carlini  <paolo.carlini@oracle.com>
931
932         PR libstdc++/45276
933         * doc/xml/manual/debug.xml ([debug.races]): Add.
934
935 2010-08-17  Paolo Carlini  <paolo.carlini@oracle.com>
936
937         PR libstdc++/45300
938         * include/c_std/cwchar: Replace 'restrict' -> '__restrict'.
939         * include/c_global/cwchar: Likewise.
940
941 2010-08-16  Paolo Carlini  <paolo.carlini@oracle.com>
942
943         PR libstdc++/45300
944         * include/c_std/cstdlib: Replace 'restrict' -> '__restrict'.
945         * include/c_std/cstdio: Likewise.
946         * include/c_global/cstdlib: Likewise.
947         * include/c_global/cstdio: Likewise.
948
949 2010-08-16  Chris Moller  <cmoller@redhat.com>
950
951         http://sourceware.org/bugzilla/show_bug.cgi?id=11874
952         * python/libstdcxx/v6/printers.py (StdVectorPrinter): Added stuff
953         to handle pretty-printing of std::vector<bool>.
954
955 2010-08-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
956
957         PR libstdc++/45283
958         * testsuite/performance/30_threads/future/polling.cc: Replace calls to
959         shared_future::is_ready.
960
961 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
962
963         * include/bits/hashtable.h (_Hashtable<>::operator=(const
964         _Hashtable&)): Move inline.
965         (operator=(_Hashtable&&)): Define.
966         * include/bits/unordered_map.h (unordered_map(unordered_map&&),
967         unordered_map(const unordered_map&), unordered_multimap
968         (unordered_multimap&&), unordered_multimap(const unordered_multimap&),
969         __unordered_map(__unordered_map&&), __unordered_map(const
970         __unordered_map&), __unordered_multimap(__unordered_multimap&&),
971         __unordered_multimap(const __unordered_multimap&)): Do not define,
972         leave implicit.
973         * include/bits/unordered_set.h (unordered_set(unordered_set&&),
974         unordered_set(const unordered_set&), unordered_multiset
975         (unordered_multiset&&), unordered_multiset(const unordered_multiset&),
976         __unordered_set(__unordered_set&&), __unordered_set(const
977         __unordered_set&), __unordered_multiset(__unordered_multiset&&),
978         __unordered_multiset(const __unordered_multiset&)): Likewise.
979
980         * include/bits/unordered_map.h (__unordered_map(initializer_list<>),
981         __unordered_map<>::operator=(initializer_list<>),
982         __unordered_multimap(initializer_list<>), __unordered_multimap<>::
983         operator=(initializer_list<>)): Add.
984         * include/bits/unordered_set.h (__unordered_set(initializer_list<>),
985         __unordered_set<>::operator=(initializer_list<>),
986         __unordered_multiset(initializer_list<>), __unordered_multiset<>::
987         operator=(initializer_list<>)): Likewise.
988
989         * include/bits/unordered_map.h (__unordered_map(_InputIterator,
990         _InputIterator, size_type __n), unordered_map(_InputIterator,
991         _InputIterator, size_type __n), unordered_map(initializer_list<>,
992         size_type __n), unordered_multimap(initializer_list<>, size_type __n)):
993         Fix __n default to 0.
994         * include/bits/unordered_set.h (__unordered_set(_InputIterator,
995         _InputIterator, size_type __n), unordered_set(_InputIterator,
996         _InputIterator, size_type __n), unordered_set(initializer_list<>,
997         size_type __n), unordered_multiset(initializer_list<>, size_type __n)):
998         Likewise.
999         * include/debug/unordered_map (unordered_map(_InputIterator,
1000         _InputIterator, size_type __n), unordered_map(initializer_list<>,
1001         size_type __n), unordered_map(_InputIterator, _InputIterator,
1002         size_type __n), unordered_multimap(initializer_list<>, size_type __n)):
1003         Likewise.
1004         * include/debug/unordered_set (unordered_set(_InputIterator,
1005         _InputIterator, size_type __n), unordered_set(initializer_list<>,
1006         size_type __n), unordered_set(_InputIterator, _InputIterator,
1007         size_type __n), unordered_multiset(initializer_list<>, size_type __n)):
1008         Likewise.
1009         * include/profile/unordered_map (unordered_map(_InputIterator,
1010         _InputIterator, size_type __n), unordered_map(initializer_list<>,
1011         size_type __n), unordered_map(_InputIterator, _InputIterator,
1012         size_type __n), unordered_multimap(initializer_list<>, size_type __n)):
1013         Likewise.
1014         * include/profile/unordered_set (unordered_set(_InputIterator,
1015         _InputIterator, size_type __n), unordered_set(initializer_list<>,
1016         size_type __n), unordered_set(_InputIterator, _InputIterator,
1017         size_type __n), unordered_multiset(initializer_list<>, size_type __n)):
1018         Likewise.
1019
1020 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
1021
1022         PR libstdc++/45281
1023         * include/bits/stl_queue.h (queue(queue&&), operator=(queue&&),
1024         priority_queue(priority_queue&&), operator=(priority_queue&&)):
1025         Remove, per CH 15.
1026
1027 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
1028
1029         * testsuite/23_containers/unordered_map/dr1189.cc: Move to...
1030         * testsuite/23_containers/unordered_map/hash_policy/dr1189.cc:
1031         ... here.
1032         * testsuite/23_containers/unordered_set/dr1189.cc: Move to...
1033         * testsuite/23_containers/unordered_set/hash_policy/dr1189.cc:
1034         ... here.
1035         * testsuite/23_containers/unordered_multimap/dr1189.cc: Move to...
1036         * testsuite/23_containers/unordered_multimap/hash_policy/dr1189.cc:
1037         ... here.
1038         * testsuite/23_containers/unordered_multiset/dr1189.cc: Move to...
1039         * testsuite/23_containers/unordered_multiset/hash_policy/dr1189.cc:
1040         ... here.
1041
1042         * testsuite/23_containers/unordered_set/hash_policy/26132.cc: New.
1043
1044 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
1045
1046         * src/ios_init.cc (ios_base::Init::~Init): Add back semicolon
1047         at the end of the _GLIBCXX_SYNCHRONIZATION_HAPPENS_* macros,
1048         removed by mistake.
1049         * include/tr1_impl/boost_sp_counted_base.h: Likewise.
1050         * include/ext/rc_string_base.h: Likewise.
1051         * include/bits/locale_classes.h: Likewise.
1052         * include/bits/basic_string.h: Likewise.
1053         * include/bits/ios_base.h: Likewise.
1054         * include/bits/c++config: Adjust comment.
1055
1056 2010-08-12  Kostya Serebryany <kcc@google.com>
1057             Paolo Carlini  <paolo.carlini@oracle.com>
1058
1059         * include/bits/c++config (_GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE,
1060         _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER): Add.
1061         * src/ios_init.cc (ios_base::Init::~Init): Decorate with the
1062         latter.
1063         * include/tr1_impl/boost_sp_counted_base.h: Likewise.
1064         * include/ext/rc_string_base.h: Likewise.
1065         * include/bits/locale_classes.h: Likewise.
1066         * include/bits/basic_string.h: Likewise.
1067         * include/bits/ios_base.h: Likewise.
1068         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error
1069         line number.
1070         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
1071         * testsuite/ext/profile/mutex_extensions.cc: Likewise.
1072
1073 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
1074
1075         * include/bits/hashtable.h (_Hashtable<>::erase(const key_type&)):
1076         Use std::__addressof.
1077
1078         * include/bits/forward_list.tcc (forward_list<>::remove): Deal
1079         correctly with &__tmp->_M_value == &__val.
1080         * testsuite/23_containers/forward_list/operations/remove_freed.cc:
1081         New.
1082
1083 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
1084
1085         * include/bits/stl_algo.h (shuffle): Change signature consistently
1086         with random_shuffle (US 121).
1087         * include/bits/algorithmfwd.h: Adjust.
1088         * testsuite/25_algorithms/shuffle/requirements/
1089         explicit_instantiation/2.cc: Likewise.
1090         * testsuite/25_algorithms/shuffle/requirements/
1091         explicit_instantiation/pod.cc: Likewise.
1092
1093 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
1094
1095         * include/bits/move.h (forward): Reinstate the N2835 version.
1096
1097 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
1098
1099         PR libstdc++/42925
1100         * include/bits/unique_ptr.h (operator==(const unique_ptr<>&,
1101         nullptr_t), operator==(nullptr_t, const unique_ptr<>&),
1102         operator!=(const unique_ptr<>&, nullptr_t),
1103         operator!=(nullptr_t, const unique_ptr<>&)): Add.
1104         * include/bits/shared_ptr_base.h (operator==(const __shared_ptr<>&,
1105         nullptr_t), operator==(nullptr_t, const __shared_ptr<>&),
1106         operator!=(const __shared_ptr<>&, nullptr_t),
1107         operator!=(nullptr_t, const __shared_ptr<>&)): Likewise.
1108         * include/bits/shared_ptr.h (operator==(const shared_ptr<>&,
1109         nullptr_t), operator==(nullptr_t, const shared_ptr<>&),
1110         operator!=(const shared_ptr<>&, nullptr_t),
1111         operator!=(nullptr_t, const shared_ptr<>&)): Likewise.
1112         * testsuite/20_util/unique_ptr/comparison/42925.cc: New.
1113         * testsuite/20_util/shared_ptr/comparison/42925.cc: Likewise.
1114         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
1115         dg-error line numbers.
1116
1117 2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>
1118
1119         * include/bits/unique_ptr.h: Replace _Tp_Deleter -> _Dp, and
1120         _Up_Deleter -> _Ep.
1121
1122 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
1123
1124         * include/bits/shared_ptr_base.h: Remove a few now redundant
1125         __glibcxx_function_requires(_ConvertibleConcept...).
1126         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust dg-error
1127         line number.
1128         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
1129
1130 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
1131
1132         * testsuite/ext/stdio_sync_filebuf/char/1.cc: Avoid -Wall
1133         warnings.
1134         * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
1135
1136 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
1137
1138         * testsuite/23_containers/array/range_access.cc: Avoid -Wall
1139         warnings.
1140
1141 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
1142
1143         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Avoid -Wall
1144         warnings.
1145
1146         * include/bits/shared_ptr.h (shared_ptr<>::shared_ptr
1147         (const shared_ptr<>&), shared_ptr(shared_ptr<>&&), weak_ptr<>::
1148         weak_ptr(const weak_ptr<>&), weak_ptr(const shared_ptr<>&)):
1149         Constrain appropriately via std::is_convertible, etc.
1150         * include/bits/shared_ptr_base.h: Likewise.
1151         * include/bits/unique_ptr.h (default_delete<>::
1152         default_delete(const default_delete<>&),
1153         unique_ptr<>::unique_ptr(unique_ptr<>&&), operator=(unique_ptr<>&&)):
1154         Likewise.
1155
1156         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1157         line numbers.
1158         * testsuite/20_util/shared_ptr/cons/43820.cc: Likewise.
1159
1160         * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(auto_ptr<>&&)):
1161         Add.
1162         * include/std/memory: Adjust includes order.
1163         * testsuite/20_util/unique_ptr/cons/auto_ptr.cc: New.
1164         * testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
1165         * testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc: Minor tweaks.
1166
1167 2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>
1168
1169         PR libstdc++/45228
1170         * include/std/tuple (tuple<typename... _Elements>): Constrain
1171         converting constructors and assignment operators with
1172         sizeof...(_UElements) == sizeof...(_Elements).
1173         (tuple(tuple<_UElements...>&): Remove.
1174         (tuple<typename _T1>): Add.
1175         * testsuite/20_util/tuple/cons/45228.cc: New.
1176         * testsuite/20_util/tuple/cons/converting.cc: Likewise.
1177         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
1178         dg-error line number.
1179
1180         * include/std/tuple (_Tuple_impl<>::_Tuple_impl(const _Tuple_impl&)):
1181         Defaulted.
1182
1183         * include/std/tuple (tuple<typename _T1, typename _T2>
1184         ::operator=(pair<_U1, _U2>&&)): Use forward.
1185
1186 2010-08-08  Paolo Carlini  <paolo.carlini@oracle.com>
1187
1188         PR libstdc++/44963
1189         * include/bits/stl_iterator.h (insert_iterator<>::
1190         operator=(const typename _Container::value_type&,
1191         back_insert_iterator<>::
1192         operator=(const typename _Container::value_type&),
1193         front_insert_iterator<>::
1194         operator=(const typename _Container::value_type&))): Add
1195         in C++0x mode.
1196         * testsuite/ext/rope/44963.cc: New.
1197         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
1198         dg-error line number.
1199
1200 2010-08-08  Paolo Carlini  <paolo.carlini@oracle.com>
1201
1202         * include/c_global/cmath: Implement US 136.
1203         * include/tr1_impl/cmath: Do not bring fpclassify, etc from namespace
1204         std, define namespace tr1.
1205         * testsuite/26_numerics/headers/cmath/
1206         c99_classification_macros_c++0x.cc: New.
1207
1208 2010-08-06  David Malcolm  <dmalcolm@redhat.com>
1209             Jan Kratochvil  <jan.kratochvil@redhat.com>
1210
1211         * python/hook.in: Rename variable dir to dir_.
1212
1213 2010-08-06  Jason Merrill  <jason@redhat.com>
1214
1215         * include/std/thread: Add deleted thread(thread&).
1216         * testsuite/30_threads/thread/cons/copy_neg.cc: Remove XFAIL.
1217
1218 2010-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
1219
1220         * include/std/tuple (pack_arguments): Rename to forward_as_tuple
1221         and simplify, per US 98 and US 99.
1222         * testsuite/20_util/tuple/creation_functions/pack_arguments.cc:
1223         Rename to...
1224         * testsuite/20_util/tuple/creation_functions/forward_as_tuple.cc:
1225         ... this, adjust.
1226         * testsuite/20_util/pair/piecewise.cc: Adjust.
1227
1228 2010-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
1229
1230         * include/std/tuple (begin, end): Remove per GB 87.
1231         * testsuite/20_util/tuple/range_access.cc: Remove.
1232
1233 2010-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
1234
1235         * include/std/ratio (ratio_less): Improve, use ratio_divide to avoid
1236         more overflows.
1237         * testsuite/20_util/ratio/comparisons/comp1.cc: Extend.
1238         * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise.
1239
1240 2010-08-05  Paolo Carlini  <paolo.carlini@oracle.com>
1241
1242         * include/tr1_impl/utility (begin, end): Remove per GB 85.
1243         * testsuite/20_util/pair/range_access.cc: Remove.
1244
1245         * include/std/functional (function<>::function()): Remove explicit,
1246         per JP 3.
1247
1248 2010-08-05  Paolo Carlini  <paolo.carlini@oracle.com>
1249
1250         * include/bits/move.h (forward): Update to N3092.
1251         (identity): Remove (US 92 is NAD).
1252         * include/debug/set.h: Fix move constructor to simply use move.
1253         * include/debug/unordered_map: Likewise.
1254         * include/debug/multiset.h: Likewise.
1255         * include/debug/vector: Likewise.
1256         * include/debug/unordered_set: Likewise.
1257         * include/debug/deque: Likewise.
1258         * include/debug/map.h: Likewise.
1259         * include/debug/string: Likewise.
1260         * include/debug/list: Likewise.
1261         * include/debug/multimap.h: Likewise.
1262         * include/profile/set.h: Likewise.
1263         * include/profile/unordered_map: Likewise.
1264         * include/profile/multiset.h: Likewise.
1265         * include/profile/unordered_set: Likewise.
1266         * include/profile/vector: Likewise.
1267         * include/profile/deque: Likewise.
1268         * include/profile/map.h: Likewise.
1269         * include/profile/list: Likewise.
1270         * include/profile/multimap.h: Likewise.
1271         * include/ext/vstring.h: Likewise.
1272         * include/bits/stl_list.h: Likewise.
1273         * include/bits/stl_map.h: Likewise.
1274         * include/bits/stl_set.h: Likewise.
1275         * include/bits/forward_list.h: Likewise.
1276         * include/bits/stl_multimap.h: Likewise.
1277         * include/bits/unordered_map.h: Likewise.
1278         * include/bits/stl_vector.h: Likewise.
1279         * include/bits/stl_deque.h: Likewise.
1280         * include/bits/stl_multiset.h: Likewise.
1281         * include/bits/unordered_set.h: Likewise.
1282         * include/bits/stl_bvector.h: Likewise.
1283         * testsuite/20_util/identity/value.cc: Remove
1284         * testsuite/20_util/identity/requirements/typedefs.cc: Likewise.
1285         * testsuite/20_util/identity/requirements/explicit_instantiation.cc:
1286         Likewise.
1287
1288 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
1289
1290         * acinclude.m4 ([GLIBCXX_COMPUTE_STDIO_INTEGER_CONSTANTS]): Fix
1291         messages.
1292         * configure: Regenerate.
1293
1294 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
1295
1296         * include/ext/vstring_util.h: Include bits/range_access.h.
1297         * testsuite/ext/vstring/range_access.cc: New test.
1298
1299 2010-07-27  Ed Smith-Rowland  <3dw4rd@verizon.net>
1300
1301         * include/bits/range_access.h: New.
1302         * include/Makefile.in: Add bits/range_access.h.
1303         * include/Makefile.am: Regenerate.
1304         * include/std/array: Include bits/range_access.h.
1305         * include/std/deque: Ditto.
1306         * include/std/forward_list: Ditto.
1307         * include/std/iterator: Ditto.
1308         * include/std/list: Ditto.
1309         * include/std/map: Ditto.
1310         * include/std/regex: Ditto.
1311         * include/std/set: Ditto.
1312         * include/std/string: Ditto.
1313         * include/std/unordered_map: Ditto.
1314         * include/std/unordered_set: Ditto.
1315         * include/std/vector: Ditto.
1316         * include/std/valarray: Add begin() and end().
1317         * libsupc++/initializer_list: Ditto.
1318         * include/tr1_impl/utility: Add begin() and end().
1319         * include/std/tuple: Ditto.
1320         * testsuite/24_iterators/headers/iterator/range_access.cc: New test.
1321         * testsuite/24_iterators/range_access.cc: Ditto.
1322         * testsuite/28_regex/range_access.cc: Ditto.
1323         * testsuite/18_support/initializer_list/range_access.cc: Ditto.
1324         * testsuite/21_strings/basic_string/range_access.cc: Ditto.
1325         * testsuite/26_numerics/valarray/range_access.cc: Ditto.
1326         * testsuite/23_containers/unordered_map/range_access.cc: Ditto.
1327         * testsuite/23_containers/multimap/range_access.cc: Ditto.
1328         * testsuite/23_containers/set/range_access.cc: Ditto.
1329         * testsuite/23_containers/unordered_multimap/range_access.cc: Ditto.
1330         * testsuite/23_containers/forward_list/range_access.cc: Ditto.
1331         * testsuite/23_containers/unordered_set/range_access.cc: Ditto.
1332         * testsuite/23_containers/vector/range_access.cc: Ditto.
1333         * testsuite/23_containers/deque/range_access.cc: Ditto.
1334         * testsuite/23_containers/multiset/range_access.cc: Ditto.
1335         * testsuite/23_containers/list/range_access.cc: Ditto.
1336         * testsuite/23_containers/unordered_multiset/range_access.cc: Ditto.
1337         * testsuite/23_containers/map/range_access.cc: Ditto.
1338         * testsuite/23_containers/array/range_access.cc: Ditto.
1339         * testsuite/20_util/tuple/range_access.cc: Ditto.
1340         * testsuite/20_util/pair/range_access.cc: Ditto.
1341
1342 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
1343             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1344
1345         * acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): Remove.
1346         ([GLIBCXX_COMPUTE_STDIO_INTEGER_CONSTANTS]): Add, actually
1347         compute the constants via AC_COMPUTE_INT.
1348         * configure.ac: Call the latter.
1349         * include/bits/ios_base.h: Adjust.
1350         * include/bits/char_traits.h: Likewise.
1351         * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error
1352         line number.
1353         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
1354         * config.h.in: Regenerate.
1355         * configure: Likewise.
1356
1357 2010-07-27  Paolo Carlini  <paolo.carlini@oracle.com>
1358
1359         * config/io/c_io_stdio.h: Do not include <cstddef>.
1360
1361 2010-07-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1362
1363         * testsuite/22_locale/num_put/put/char/14220.cc: XFAIL on Solaris
1364         9/x86, 32-bit Solaris 10/x86 and 64-bit Solaris 10/SPARC.
1365         * testsuite/22_locale/num_put/put/wchar_t/14220.cc: XFAIL on
1366         Solaris 9/x86 and 32-bit Solaris 10/x86.
1367
1368         * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
1369         Only XFAIL on Solaris 8 and 9.
1370         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
1371         Likewise.
1372
1373         * testsuite/ext/enc_filebuf/char/13598.cc: XFAIL before Solaris 11.
1374
1375 2010-07-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
1376
1377         PR libstdc++/45060
1378         * include/bits/hashtable.h (_Hashtable::_Hashtable(_Hashtable&&)):
1379         Reorder mem-initializers.
1380
1381 2010-07-22  Benjamin Kosnik  <bkoz@redhat.com>
1382
1383         DocBook 4.5 to 5.0 transition.
1384         * doc/xml/authors.xml: Update markup to DocBook 5.0.
1385         * doc/xml/faq.xml: Same.
1386         * doc/xml/api.xml: Same.
1387         * doc/xml/class.txml
1388         * doc/xml/gnu/gpl-3.0.xml: Same.
1389         * doc/xml/gnu/fdl-1.2.xml: Same.
1390         * doc/xml/gnu/fdl-1.3.xml: Same.
1391         * doc/xml/gnu/gpl-2.0.xml: Same.
1392         * doc/xml/chapter.txml: Same.
1393         * doc/xml/manual/mt_allocator.xml: Same.
1394         * doc/xml/manual/allocator.xml: Same.
1395         * doc/xml/manual/ctype.xml: Same.
1396         * doc/xml/manual/numerics.xml: Same.
1397         * doc/xml/manual/codecvt.xml: Same.
1398         * doc/xml/manual/backwards_compatibility.xml: Same.
1399         * doc/xml/manual/concurrency.xml: Same.
1400         * doc/xml/manual/intro.xml: Same.
1401         * doc/xml/manual/abi.xml: Same.
1402         * doc/xml/manual/shared_ptr.xml: Same.
1403         * doc/xml/manual/status_cxxtr1.xml: Same.
1404         * doc/xml/manual/auto_ptr.xml: Same.
1405         * doc/xml/manual/internals.xml: Same.
1406         * doc/xml/manual/atomics.xml: Same.
1407         * doc/xml/manual/parallel_mode.xml: Same.
1408         * doc/xml/manual/status_cxx1998.xml: Same.
1409         * doc/xml/manual/profile_mode.xml: Same.
1410         * doc/xml/manual/containers.xml: Same.
1411         * doc/xml/manual/io.xml: Same.
1412         * doc/xml/manual/concurrency_extensions.xml: Same.
1413         * doc/xml/manual/appendix_porting.xml: Same.
1414         * doc/xml/manual/utilities.xml: Same.
1415         * doc/xml/manual/support.xml: Same.
1416         * doc/xml/manual/bitmap_allocator.xml: Same.
1417         * doc/xml/manual/configure.xml: Same.
1418         * doc/xml/manual/build_hacking.xml: Same.
1419         * doc/xml/manual/evolution.xml: Same.
1420         * doc/xml/manual/using.xml: Same.
1421         * doc/xml/manual/using_exceptions.xml: Same.
1422         * doc/xml/manual/debug.xml: Same.
1423         * doc/xml/manual/localization.xml: Same.
1424         * doc/xml/manual/strings.xml: Same.
1425         * doc/xml/manual/debug_mode.xml: Same.
1426         * doc/xml/manual/locale.xml: Same.
1427         * doc/xml/manual/extensions.xml: Same.
1428         * doc/xml/manual/appendix_contributing.xml: Same.
1429         * doc/xml/manual/prerequisites.xml: Same.
1430         * doc/xml/manual/messages.xml: Same.
1431         * doc/xml/manual/diagnostics.xml: Same.
1432         * doc/xml/manual/algorithms.xml: Same.
1433         * doc/xml/manual/appendix_free.xml: Same.
1434         * doc/xml/manual/iterators.xml: Same.
1435         * doc/xml/manual/spine.xml: Same.
1436         * doc/xml/manual/status_cxxtr24733.xml: Same.
1437         * doc/xml/manual/status_cxx200x.xml: Same.
1438         * doc/xml/manual/test.xml: Same.
1439         * doc/xml/book.txml: Same.
1440         * doc/xml/spine.xml: Same.
1441         * doc/Makefile.am: Same.
1442         * doc/Makefile.in: Regenerate.
1443
1444 2010-07-20  Benjamin Kosnik  <bkoz@redhat.com>
1445
1446         * doc/xml/manual/appendix_contributing.xml: Update for new reality.
1447         * doc/Makefile.am (doc-xml): New default rule for XML output.
1448         (doc-xml-single-doxygen): Standardize output names.
1449         * doc/Makefile.in: Regenerate.
1450
1451         * doc/doxygen/user.cfg.in: Tweak.
1452
1453 2010-07-20  Paolo Carlini  <paolo.carlini@oracle.com>
1454
1455         * libsupc++/unwind-cxx.h: Minor formatting / stylistic tweaks.
1456
1457 2010-07-20  Mikael Pettersson  <mikpe@it.uu.se>
1458
1459         PR libstdc++/44902
1460         * libsupc++/unwind-cxx.h (__cxa_type_match): Correct prototype.
1461         (__cxa_begin_cleanup): Likewise.
1462
1463 2010-07-19  Benjamin Kosnik  <bkoz@redhat.com>
1464
1465         * doc/Makefile.am (doc-texinfo): New rule.
1466         (doc-texinfo-docbook): New rule.
1467         (DB2TEXI_FLAGS): New.
1468         (doc-xml-single-docbook): Just the manual, not the set. Tweak flags.
1469         * doc/Makefile.in: Regenerate.
1470
1471 2010-07-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
1472
1473         * doc/xml/manual/shared_ptr.xml: Update.
1474         * doc/html/*: Regenerate.
1475
1476 2010-07-13  Benjamin Kosnik  <bkoz@redhat.com>
1477
1478         * doc/Makefile.am: Edit pdf rules.
1479         (doc-man, doc-pdf, doc-html): Expand default rules.
1480         * doc/Makefile.in: Regenerate.
1481         * doc/doxygen/user.cfg.in: Update to Doxygen 1.7.1.
1482
1483 2010-07-11  Paolo Carlini  <paolo.carlini@oracle.com>
1484
1485         * include/std/type_traits (is_convertible): Use SFINAE.
1486         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
1487         dg-error line numbers.
1488         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1489         Likewise.
1490         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1491
1492 2010-07-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
1493
1494         PR libstdc++/44875
1495         * doc/xml/manual/status_cxx200x.xml: Corrections to status.
1496         * doc/html/*: Regenerate.
1497
1498 2010-07-08  Benjamin Kosnik  <bkoz@redhat.com>
1499
1500         * include/bits/stl_heap.h: Update markup.
1501         * include/bits/move.h: Same.
1502         * include/bits/algorithmfwd.h: Same.
1503         * include/bits/regex.h: Same.
1504         * include/bits/random.h: Same.
1505         * doc/doxygen/doxygroups.cc: Same.
1506         * doc/doxygen/user.cfg.in: Remove include/tr1_impl/regex from
1507         input file list.
1508         * doc/Makefile.am (doc-pdf-doxygen): Add comment, put generated
1509         pdf in location consistent with docbook pdf generation.
1510         * doc/Makefile.in: Regenerate.
1511
1512 2010-07-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
1513
1514         * doc/xml/manual/status_cxx200x.xml: Add some missing features.
1515         * doc/html/*: Regenerate.
1516
1517 2010-07-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
1518
1519         * include/bits/regex_compiler.h: Fix filename in doxygen comment.
1520         * include/bits/regex_constants.h: Likewise.
1521         * include/bits/regex_error.h: Likewise.
1522         * include/bits/regex_grep_matcher.h: Likewise.
1523         * include/bits/regex_grep_matcher.tcc: Likewise.
1524         * include/bits/regex_nfa.tcc: Likewise.
1525
1526 2010-07-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1527
1528         * acinclude.m4 (symvers_renaming): Define
1529         HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT instead of
1530         _GLIBCXX_HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT.
1531         Fix syntax error.
1532         * config.h.in: Regenerate.
1533         * configure: Regenerate.
1534
1535 2010-07-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1536
1537         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle sun style.
1538         Require GCC_PROG_GNU_CXXFILT.
1539         (_GLIBCXX_HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT): Define
1540         unless targetting solaris2*.
1541         Include ../config/gc++filt.m4.
1542         * configure.host (i?86-*-solaris2*): Set abi_baseline_pair.
1543         (sparc-*-solaris2*): Likewise.
1544         * src/Makefile.am [ENABLE_SYMVERS_SUN] (version_dep, version_arg):
1545         New variables.
1546         (libstdc++-symbols.ver-sun): New target.
1547         * configure: Regenerate.
1548         * config.h.in: Regenerate.
1549         * Makefile.in: Likewise.
1550         * doc/Makefile.in: Likewise.
1551         * include/Makefile.in: Likewise.
1552         * libsupc++/Makefile.in: Likewise.
1553         * po/Makefile.in: Likewise.
1554         * python/Makefile.in: Likewise.
1555         * src/Makefile.in: Likewise.
1556         * src/atomic.cc: Only define/use _GLIBCXX_ASM_SYMVER if
1557         _GLIBCXX_HAVE_SYMVER_RENAMING_RUNTIME_SUPPORT.
1558         * src/compatibility.cc: Likewise.
1559         * testsuite/Makefile.am (baseline_subdir): Define.
1560         (baseline_symbols): Use it.
1561         (new-abi-baseline): Likewise.
1562         * testsuite/Makefile.in: Regenerate.
1563
1564         * config/abi/pre/gnu.ver (GLIBCXX_3.4.5): Enclose duplicates in
1565         #ifdef HAVE_SYMVER_RENAMING_RUNTIME_SUPPORT.
1566         (GLIBCXX_3.4.6): Likewise.
1567
1568         * doc/xml/manual/configure.xml (--enable-symvers): Document sun
1569         style.
1570
1571         * doc/xml/manual/abi.xml: Fix grammar.
1572         (Symbol versioning on the libstdc++.so binary): Fix mapfile path.
1573         (Incremental bumping of a library pre-defined macro): Fix
1574         c++config path.
1575         (Incremental bumping of a library pre-defined macro,
1576         _GLIBCPP_VERSION): Likewise.
1577         (Matching each specific C++ compiler release to a specific set of
1578         C++ include files): Fix acinclude.m4 path.
1579         (Prerequisites): Allow for Sun linker on Solaris 2.5+.
1580         Use proper link to Configuring.
1581         Fix acinclude.m4 path.
1582         (Checking Active): Allow for additional symbol versioning styles.
1583         Provide Solaris 2 example with pvs -r.
1584         (Bibliography): Update Linker and Libraries Guide, C++ Migration
1585         Guide entries.
1586
1587 2010-06-29  Jason Merrill  <jason@redhat.com>
1588
1589         Enable implicitly declared move constructor/operator= (N3053).
1590         * include/bits/unordered_map.h: Explicitly default copy constructors.
1591         * include/bits/unordered_set.h: Likewise.
1592
1593         * 19_diagnostics/error_category/cons/copy_neg.cc: Adjust expected
1594         errors, use dg-prune-output.
1595         * 20_util/function/cmp/cmp_neg.cc: Likewise.
1596         * 20_util/unique_ptr/assign/assign_neg.cc: Likewise.
1597         * 20_util/unique_ptr/cons/pointer_array_convertible.cc: Likewise.
1598         * 20_util/unique_ptr/modifiers/reset_neg.cc: Likewise.
1599         * 29_atomics/atomic/cons/assign_neg.cc: Likewise.
1600         * 29_atomics/atomic/cons/copy_neg.cc: Likewise.
1601         * 29_atomics/atomic_address/cons/assign_neg.cc: Likewise.
1602         * 29_atomics/atomic_address/cons/copy_neg.cc: Likewise.
1603         * 29_atomics/atomic_flag/cons/assign_neg.cc: Likewise.
1604         * 29_atomics/atomic_flag/cons/copy_neg.cc: Likewise.
1605         * 29_atomics/atomic_integral/cons/assign_neg.cc: Likewise.
1606         * 29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
1607         * 29_atomics/condition_variable/cons/assign_neg.cc: Likewise.
1608         * 30_threads/condition_variable/cons/copy_neg.cc: Likewise.
1609         * 30_threads/condition_variable_any/cons/assign_neg.cc: Likewise.
1610         * 30_threads/condition_variable_any/cons/copy_neg.cc: Likewise.
1611         * 30_threads/future/cons/assign_neg.cc: Likewise.
1612         * 30_threads/future/cons/copy_neg.cc: Likewise.
1613         * 30_threads/mutex/cons/assign_neg.cc: Likewise.
1614         * 30_threads/mutex/cons/copy_neg.cc: Likewise.
1615         * 30_threads/packaged_task/cons/assign_neg.cc: Likewise.
1616         * 30_threads/packaged_task/cons/copy_neg.cc: Likewise.
1617         * 30_threads/promise/cons/assign_neg.cc: Likewise.
1618         * 30_threads/promise/cons/copy_neg.cc: Likewise.
1619         * 30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
1620         * 30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
1621         * 30_threads/recursive_timed_mutex/cons/assign_neg.cc: Likewise.
1622         * 30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
1623         * 30_threads/thread/cons/assign_neg.cc: Likewise.
1624         * 30_threads/thread/cons/copy_neg.cc: Likewise.
1625         * 30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
1626         * 30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
1627         * ext/ext_pointer/1_neg.cc: Likewise.
1628
1629 2010-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
1630
1631         PR libstdc++/44708
1632         * include/ext/algorithm (copy_n): Qualify __copy_n call with
1633         __gnu_cxx::
1634         * testsuite/ext/rope/44708.cc: New.
1635
1636 2010-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
1637
1638         * include/bits/regex_compiler.h: Trivial formatting / stylistic fixes.
1639         * include/bits/regex_grep_matcher.tcc: Likewise.
1640         * include/bits/regex_cursor.h: Likewise.
1641         * include/bits/regex.h: Likewise.
1642
1643 2010-06-26  Paolo Carlini  <paolo.carlini@oracle.com>
1644
1645         * testsuite/util/testsuite_hooks.h: Cast fn to bool.
1646
1647 2010-06-26  Kees Cook  <kees.cook@canonical.com>
1648
1649         * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Verify freopen.
1650         * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
1651         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
1652         * testsuite/27_io/objects/wchar_t/12048-2.cc: Likewise.
1653         * testsuite/27_io/objects/wchar_t/12048-4.cc: Likewise.
1654         * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
1655         * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
1656         * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
1657         * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
1658         * testsuite/27_io/objects/wchar_t/12048-5.cc: Likewise.
1659         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
1660         * testsuite/27_io/objects/char/12048-2.cc: Likewise.
1661         * testsuite/27_io/objects/char/12048-4.cc: Likewise.
1662         * testsuite/27_io/objects/char/9.cc: Likewise.
1663         * testsuite/27_io/objects/char/12048-1.cc: Likewise.
1664         * testsuite/27_io/objects/char/12048-3.cc: Likewise.
1665         * testsuite/27_io/objects/char/12048-5.cc: Likewise.
1666         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
1667         * testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Verify fgets.
1668         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc: Verify
1669         fwrite.
1670         * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
1671         * testsuite/ext/stdio_sync_filebuf/char/1.cc: Likewise.
1672
1673 2010-06-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
1674
1675         * doc/xml/faq.xml: Fix typo.
1676         * doc/html/faq.xml: Likewise.
1677
1678 2010-06-25  Stephen M. Webb  <stephen.webb@bregmasoft.ca>
1679
1680         Initial regex implementation.
1681         * include/std/regex: Modified to use bits/regex_* headers.
1682         * include/bits/regex_compiler.h: New.
1683         * include/bits/regex_constants.h: Likewise.
1684         * include/bits/regex_cursor.h: Likewise.
1685         * include/bits/regex_error.h: Likewise.
1686         * include/bits/regex_grep_matcher.h: Likewise.
1687         * include/bits/regex_grep_matcher.tcc: Likewise.
1688         * include/bits/regex.h: Likewise.
1689         * include/bits/regex_nfa.h: Likewise.
1690         * include/bits/regex_nfa.tcc: Likewise.
1691         * include/Makefile.am: Add.
1692         * include/Makefile.in: Regenerated.
1693         * testsuite/28_regex/02_definitions: New.
1694         * testsuite/28_regex/03_requirements: Likewise.
1695         * testsuite/28_regex/03_requirements/typedefs.cc: Likewise.
1696         * testsuite/28_regex/04_header: Likewise.
1697         * testsuite/28_regex/04_header/regex: Likewise.
1698         * testsuite/28_regex/04_header/regex/std_c++0x_neg.cc: Likewise.
1699         * testsuite/28_regex/05_constants: Likewise.
1700         * testsuite/28_regex/05_constants/error_type.cc: Likewise.
1701         * testsuite/28_regex/05_constants/match_flag_type.cc: Likewise.
1702         * testsuite/28_regex/05_constants/syntax_option_type.cc: Likewise.
1703         * testsuite/28_regex/06_exception_type: Likewise.
1704         * testsuite/28_regex/06_exception_type/regex_error.cc: Likewise.
1705         * testsuite/28_regex/07_traits: Likewise.
1706         * testsuite/28_regex/07_traits/char: Likewise.
1707         * testsuite/28_regex/07_traits/char/ctor.cc: Likewise.
1708         * testsuite/28_regex/07_traits/char/isctype.cc: Likewise.
1709         * testsuite/28_regex/07_traits/char/length.cc: Likewise.
1710         * testsuite/28_regex/07_traits/char/lookup_classname.cc: Likewise.
1711         * testsuite/28_regex/07_traits/char/lookup_collatename.cc: Likewise.
1712         * testsuite/28_regex/07_traits/char/transform.cc: Likewise.
1713         * testsuite/28_regex/07_traits/char/transform_primary.cc: Likewise.
1714         * testsuite/28_regex/07_traits/char/translate.cc: Likewise.
1715         * testsuite/28_regex/07_traits/char/translate_nocase.cc: Likewise.
1716         * testsuite/28_regex/07_traits/char/value.cc: Likewise.
1717         * testsuite/28_regex/07_traits/wchar_t: Likewise.
1718         * testsuite/28_regex/07_traits/wchar_t/ctor.cc: Likewise.
1719         * testsuite/28_regex/07_traits/wchar_t/length.cc: Likewise.
1720         * testsuite/28_regex/07_traits/wchar_t/transform.cc: Likewise.
1721         * testsuite/28_regex/07_traits/wchar_t/translate.cc: Likewise.
1722         * testsuite/28_regex/07_traits/wchar_t/translate_nocase.cc: Likewise.
1723         * testsuite/28_regex/07_traits/wchar_t/value.cc: Likewise.
1724         * testsuite/28_regex/08_basic_regex: Likewise.
1725         * testsuite/28_regex/08_basic_regex/assign: Likewise.
1726         * testsuite/28_regex/08_basic_regex/assign/char: Likewise.
1727         * testsuite/28_regex/08_basic_regex/assign/char/cstring.cc: Likewise.
1728         * testsuite/28_regex/08_basic_regex/assign/char/cstring_op.cc: Likewise.
1729         * testsuite/28_regex/08_basic_regex/assign/char/moveable.cc: Likewise.
1730         * testsuite/28_regex/08_basic_regex/assign/char/pstring.cc: Likewise.
1731         * testsuite/28_regex/08_basic_regex/assign/char/range.cc: Likewise.
1732         * testsuite/28_regex/08_basic_regex/assign/char/string.cc: Likewise.
1733         * testsuite/28_regex/08_basic_regex/assign/char/string_op.cc: Likewise.
1734         * testsuite/28_regex/08_basic_regex/assign/wchar_t: Likewise.
1735         * testsuite/28_regex/08_basic_regex/assign/wchar_t/cstring.cc: Likewise.
1736         * testsuite/28_regex/08_basic_regex/assign/wchar_t/cstring_op.cc:
1737         Likewise.
1738         * testsuite/28_regex/08_basic_regex/assign/wchar_t/pstring.cc: Likewise.
1739         * testsuite/28_regex/08_basic_regex/assign/wchar_t/range.cc: Likewise.
1740         * testsuite/28_regex/08_basic_regex/assign/wchar_t/string.cc: Likewise.
1741         * testsuite/28_regex/08_basic_regex/assign/wchar_t/string_op.cc:
1742         Likewise.
1743         * testsuite/28_regex/08_basic_regex/ctors: Likewise.
1744         * testsuite/28_regex/08_basic_regex/ctors/basic: Likewise.
1745         * testsuite/28_regex/08_basic_regex/ctors/basic/cstring.cc: Likewise.
1746         * testsuite/28_regex/08_basic_regex/ctors/basic/pstring_char.cc:
1747         Likewise.
1748         * testsuite/28_regex/08_basic_regex/ctors/basic/pstring_wchar_t.cc:
1749         Likewise.
1750         * testsuite/28_regex/08_basic_regex/ctors/basic/
1751         string_range_01_02_03.cc: Likewise.
1752         * testsuite/28_regex/08_basic_regex/ctors/char: Likewise.
1753         * testsuite/28_regex/08_basic_regex/ctors/char/cstring_awk.cc: Likewise.
1754         * testsuite/28_regex/08_basic_regex/ctors/char/cstring.cc: Likewise.
1755         * testsuite/28_regex/08_basic_regex/ctors/char/cstring_ecma.cc:
1756         Likewise.
1757         * testsuite/28_regex/08_basic_regex/ctors/char/cstring_egrep.cc:
1758         Likewise.
1759         * testsuite/28_regex/08_basic_regex/ctors/char/cstring_grep.cc:
1760         Likewise.
1761         * testsuite/28_regex/08_basic_regex/ctors/char/default.cc: Likewise.
1762         * testsuite/28_regex/08_basic_regex/ctors/char/range.cc: Likewise.
1763         * testsuite/28_regex/08_basic_regex/ctors/copy_char.cc: Likewise.
1764         * testsuite/28_regex/08_basic_regex/ctors/extended: Likewise.
1765         * testsuite/28_regex/08_basic_regex/ctors/extended/cstring.cc: Likewise.
1766         * testsuite/28_regex/08_basic_regex/ctors/extended/
1767         string_range_01_02_03.cc: Likewise.
1768         * testsuite/28_regex/08_basic_regex/ctors/move_char.cc: Likewise.
1769         * testsuite/28_regex/08_basic_regex/ctors/string_char.cc: Likewise.
1770         * testsuite/28_regex/08_basic_regex/ctors/string_wchar_t.cc: Likewise.
1771         * testsuite/28_regex/08_basic_regex/ctors/wchar_t: Likewise.
1772         * testsuite/28_regex/08_basic_regex/ctors/wchar_t/cstring.cc: Likewise.
1773         * testsuite/28_regex/08_basic_regex/ctors/wchar_t/default.cc: Likewise.
1774         * testsuite/28_regex/08_basic_regex/ctors/wchar_t/range.cc: Likewise.
1775         * testsuite/28_regex/08_basic_regex/regex.cc: Likewise.
1776         * testsuite/28_regex/09_sub_match: Likewise.
1777         * testsuite/28_regex/09_sub_match/cast_char.cc: Likewise.
1778         * testsuite/28_regex/09_sub_match/cast_wchar_t.cc: Likewise.
1779         * testsuite/28_regex/09_sub_match/length.cc: Likewise.
1780         * testsuite/28_regex/09_sub_match/typedefs.cc: Likewise.
1781         * testsuite/28_regex/10_match_results: Likewise.
1782         * testsuite/28_regex/10_match_results/ctors: Likewise.
1783         * testsuite/28_regex/10_match_results/ctors/char: Likewise.
1784         * testsuite/28_regex/10_match_results/ctors/char/default.cc: Likewise.
1785         * testsuite/28_regex/10_match_results/ctors/wchar_t: Likewise.
1786         * testsuite/28_regex/10_match_results/ctors/wchar_t/default.cc:
1787         Likewise.
1788         * testsuite/28_regex/10_match_results/typedefs.cc: Likewise.
1789         * testsuite/28_regex/11_algorithms: Likewise.
1790         * testsuite/28_regex/11_algorithms/02_match: Likewise.
1791         * testsuite/28_regex/11_algorithms/02_match/basic: Likewise.
1792         * testsuite/28_regex/11_algorithms/02_match/basic/string_01.cc:
1793         Likewise.
1794         * testsuite/28_regex/11_algorithms/02_match/basic/
1795         string_range_00_03.cc: Likewise.
1796         * testsuite/28_regex/11_algorithms/02_match/basic/
1797         string_range_01_03.cc: Likewise.
1798         * testsuite/28_regex/11_algorithms/02_match/basic/
1799         string_range_02_03.cc: Likewise.
1800         * testsuite/28_regex/11_algorithms/02_match/extended: Likewise.
1801         * testsuite/28_regex/11_algorithms/02_match/extended/cstring_plus.cc:
1802         Likewise.
1803         * testsuite/28_regex/11_algorithms/02_match/extended/
1804         cstring_questionmark.cc: Likewise.
1805         * testsuite/28_regex/11_algorithms/02_match/extended/string_any.cc:
1806         Likewise.
1807         * testsuite/28_regex/11_algorithms/02_match/extended/
1808         string_range_00_03.cc: Likewise.
1809         * testsuite/28_regex/11_algorithms/02_match/extended/
1810         string_range_01_03.cc: Likewise.
1811         * testsuite/28_regex/11_algorithms/02_match/extended/
1812         string_range_02_03.cc: Likewise.
1813         * testsuite/28_regex/12_iterators: Likewise.
1814         * testsuite/28_regex/12_iterators/regex_iterator: Likewise.
1815         * testsuite/28_regex/12_iterators/regex_iterator/ctors: Likewise.
1816         * testsuite/28_regex/12_iterators/regex_iterator/ctors/char: Likewise.
1817         * testsuite/28_regex/12_iterators/regex_iterator/ctors/char/
1818         default.cc: Likewise.
1819         * testsuite/28_regex/12_iterators/regex_iterator/ctors/wchar_t:
1820         Likewise.
1821         * testsuite/28_regex/12_iterators/regex_iterator/ctors/wchar_t/
1822         default.cc: Likewise.
1823         * testsuite/28_regex/12_iterators/regex_iterator/typedefs.cc: Likewise.
1824         * testsuite/28_regex/12_iterators/regex_token_iterator: Likewise.
1825         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors: Likewise.
1826         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors/char:
1827         Likewise.
1828         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors/char/
1829         default.cc: Likewise.
1830         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors/
1831         wchar_t: Likewise.
1832         * testsuite/28_regex/12_iterators/regex_token_iterator/ctors/
1833         wchar_t/default.cc: Likewise.
1834         * testsuite/28_regex/12_iterators/regex_token_iterator/
1835         typedefs.cc: Likewise.
1836         * testsuite/28_regex/13_ecmascript: Likewise.
1837
1838 2010-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
1839
1840         * include/profile/impl/profiler_list_to_slist.h: Remove spurious
1841         semicolon; prefer pre-increment.
1842         * include/profile/impl/profiler_container_size.h: Use everywhere
1843         qualified std::size_t.
1844         * include/profile/impl/profiler_trace.h (__trace_base<>::
1845         __collect_warnings): Tidy loop.
1846         * include/profile/impl/profiler_vector_to_list.h: Minor formatting
1847         changes.
1848
1849 2010-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
1850
1851         * include/profile/impl/profiler_trace.h: Uglify it to __it, use
1852         everywhere std::size_t instead of size_t.
1853
1854 2010-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
1855
1856         * include/profile/impl/profiler_trace.h (__trace_base<>::
1857         __trace_base()): Move inline, simplify; formatting tweaks.
1858         * include/profile/impl/profiler_hash_func.h: Formatting tweaks.
1859
1860 2010-06-24  Paolo Carlini  <paolo.carlini@oracle.com>
1861
1862         * include/profile/impl/profiler_trace.h (__warning_data::
1863         __warning_message): Change to std::string; clean-up includes,
1864         qualify size_t, fprintf, etc, with std everywhere.
1865         (struct __warn::operator()): Adjust.
1866         * include/profile/impl/profiler_list_to_slist.h
1867         (__list2slist_info::__advice): Change to return a std::string;
1868         clean-up includes, qualify size_t, fprintf, etc, with std.
1869         * include/profile/impl/profiler_container_size.h
1870         (__container_size_info::__advice): Likewise.
1871         * include/profile/impl/profiler_hash_func.h (__hashfunc_info::
1872         __advice): Likewise.
1873         * include/profile/impl/profiler_list_to_vector.h
1874         (__list2vector_info::__advice): Likewise.
1875         * include/profile/impl/profiler_vector_to_list.h
1876         (__vector2list_info::__advice): Likewise.
1877         * include/profile/impl/profiler_map_to_unordered_map.h
1878         (__map2umap_info::__advice): Likewise.
1879         * include/profile/impl/profiler.h: Likewise.
1880         * include/profile/impl/profiler_hashtable_size.h: Likewise.
1881         * include/profile/impl/profiler_node.h: Likewise.
1882         * include/profile/impl/profiler_vector_size.h: Likewise.
1883
1884         * include/profile/iterator_tracker.h: Formatting and stylistic
1885         tweaks.
1886         * include/profile/base.h: Likewise.
1887         * include/profile/map.h: Likewise.
1888
1889 2010-06-23  Paolo Carlini <paolo.carlini@oracle.com>
1890
1891         * include/bits/stl_tree.h (erase(iterator), erase(const_iterator)):
1892         Remove inline specifier.
1893
1894 2010-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
1895
1896         * include/profile/impl/profiler_list_to_slist.h: Fix formatting,
1897         other minor stylistic changes.
1898         * include/profile/impl/profiler_container_size.h: Likewise.
1899         * include/profile/impl/profiler_vector_size.h: Likewise.
1900         * include/profile/impl/profiler_hash_func.h: Likewise.
1901         * include/profile/impl/profiler_trace.h: Likewise.
1902         * include/profile/impl/profiler_list_to_vector.h: Likewise.
1903         * include/profile/impl/profiler_vector_to_list.h: Likewise.
1904         * include/profile/impl/profiler_state.h: Likewise.
1905         * include/profile/impl/profiler_map_to_unordered_map.h: Likewise.
1906         * include/profile/impl/profiler_hashtable_size.h: Likewise.
1907         * include/profile/impl/profiler_node.h: Likewise.
1908
1909 2010-06-22  Matthias Klose  <doko@ubuntu.com>
1910
1911         * python/libstdcxx/v6/printers.py: Don't use string exceptions.
1912
1913 2010-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
1914
1915         PR libstdc++/44630
1916         * include/profile/impl/profiler_trace.h (__min, __max): Remove,
1917         use std::min, std::max everywhere.
1918         * include/profile/impl/profiler_container_size.h: Use std::min and
1919         std::max.
1920         * include/profile/impl/profiler_hash_func.h: Likewise.
1921         * include/profile/impl/profiler_list_to_vector.h: Likewise.
1922
1923 2010-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1924
1925         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
1926         Add *-*-solaris2.1[0-9]* to dg-xfail-if, dg-excess-errors.
1927
1928 2010-06-20  Paolo Carlini  <paolo.carlini@oracle.com>
1929             Kai-Uwe Bux  <bux@kubux.net>
1930
1931         * include/bits/random.tcc (uniform_int_distribution<>::operator()):
1932         Fix to work well for arbitrary urng.max() and urng.min().
1933
1934 2010-06-18  Paolo Carlini  <paolo.carlini@oracle.com>
1935
1936         PR libstdc++/32618
1937         * include/bits/stl_list.h (vector<>::_M_default_initialize,
1938         _M_default_append): Declare.
1939         (list<>::list(size_type), resize(size_type)): Add in C++0x mode,
1940         use the latter.
1941         * include/bits/list.tcc (list<>::resize, _M_default_append): Define.
1942         * include/bits/stl_vector.h (vector<>::_M_default_initialize,
1943         _M_default_append): Declare.
1944         (vector<>::vector(size_type), resize(size_type)): Add in C++0x mode,
1945         use the latter.
1946         * include/bits/vector.tcc (vector<>::_M_default_append): Define.
1947         * include/bits/stl_deque.h (deque<>::_M_default_initialize,
1948         _M_default_append): Declare.
1949         (deque<>::deque(size_type), resize(size_type)): Add in C++0x mode,
1950         use the latter.
1951         * include/bits/deque.tcc (deque<>::_M_default_append): Define.
1952         * include/debug/vector: Update.
1953         * include/debug/deque: Likewise.
1954         * include/debug/list: Likewise.
1955         * include/profile/vector: Likewise.
1956         * include/profile/deque: Likewise.
1957         * include/profile/list: Likewise.
1958         * include/bits/forward_list.h (_M_default_initialize,
1959         _M_default_insert_after): Declare.
1960         (forward_list<>::forward_list(size_type), resize(size_type)): Fix,
1961         use the latter.
1962         * include/bits/forward_list.tcc (forward_list<>::_M_default_append,
1963         _M_default_insert_after): Define.
1964         * testsuite/util/testsuite_api.h (NonCopyConstructible): Add.
1965         * testsuite/23_containers/forward_list/modifiers/6.cc: Move to...
1966         * testsuite/23_containers/forward_list/capacity/resize_size.cc:
1967         ... here.
1968         * testsuite/23_containers/forward_list/cons/10.cc: Move to...
1969         * testsuite/23_containers/forward_list/cons/cons_size.cc: ... here.
1970         * testsuite/23_containers/vector/resize/1.cc: Move to...
1971         * testsuite/23_containers/vector/capacity/resize/1.cc: ... here.
1972         * testsuite/23_containers/vector/resize/moveable.cc: Move to...
1973         * testsuite/23_containers/vector/resize/capacity/moveable.cc: ... here.
1974         * testsuite/23_containers/vector/cons/cons_size.cc: New.
1975         * testsuite/23_containers/vector/capacity/resize/resize_size.cc:
1976         Likewise.
1977         * testsuite/23_containers/deque/cons/cons_size.cc: Likewise.
1978         * testsuite/23_containers/deque/capacity/resize_size.cc: Likewise.
1979         * testsuite/23_containers/list/cons/cons_size.cc: Likewise.
1980         * testsuite/23_containers/list/capacity/resize_size.cc: Likewise.
1981         * testsuite/23_containers/vector/capacity/resize/moveable.cc: Adjust.
1982         * testsuite/23_containers/deque/capacity/moveable.cc: Likewise.
1983         * testsuite/23_containers/forward_list/requirements/dr438/
1984         assign_neg.cc: Adjust dg-error line numbers.
1985         * testsuite/23_containers/forward_list/requirements/dr438/
1986         insert_neg.cc: Likewise.
1987         * testsuite/23_containers/forward_list/requirements/dr438/
1988         constructor_1_neg.cc: Likewise.
1989         * testsuite/23_containers/forward_list/requirements/dr438/
1990         constructor_2_neg.cc: Likewise.
1991         * testsuite/23_containers/vector/requirements/dr438/
1992         assign_neg.cc: Likewise.
1993         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1994         Likewise.
1995         * testsuite/23_containers/vector/requirements/dr438/
1996         constructor_1_neg.cc: Likewise.
1997         * testsuite/23_containers/vector/requirements/dr438/
1998         constructor_2_neg.cc: Likewise.
1999         * testsuite/23_containers/deque/requirements/dr438/
2000         assign_neg.cc: Likewise.
2001         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2002         Likewise.
2003         * testsuite/23_containers/deque/requirements/dr438/
2004         constructor_1_neg.cc: Likewise.
2005         * testsuite/23_containers/deque/requirements/dr438/
2006         constructor_2_neg.cc: Likewise.
2007         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2008         Likewise.
2009         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2010         Likewise.
2011         * testsuite/23_containers/list/requirements/dr438/
2012         constructor_1_neg.cc: Likewise.
2013         * testsuite/23_containers/list/requirements/dr438/
2014         constructor_2_neg.cc: Likewise.
2015
2016 2010-06-17  Paolo Carlini  <paolo.carlini@oracle.com>
2017
2018         * include/bits/stl_uninitialized.h (__uninitialized_default,
2019         __uninitialized_default_n, __uninitialized_default_a,
2020         __uninitialized_default_n_a): Add.
2021
2022         * include/bits/stl_uninitialized.h (uninitialized_copy,
2023         uninitialized_fill, uninitialized_fill_n): Use __is_trivial
2024         instead of __is_pod.
2025         * include/bits/valarray_array.h: Likewise.
2026         * include/bits/stl_algobase.h (__copy_move_backward_a,
2027         __copy_move_a): Likewise.
2028
2029 2010-06-16  Paolo Carlini  <paolo.carlini@oracle.com>
2030
2031         * include/bits/stl_construct.h (_Construct): Change to variadic in
2032         C++0x mode, consistently with allocator::construct.
2033         * include/bits/stl_uninitialized.h (__uninitialized_copy_n): Use
2034         _Construct.
2035         (__uninitialized_construct_range): Move to...
2036         * include/bits/stl_tempbuf.h (__uninitialized_construct_buf): ... here.
2037
2038 2010-06-16  Matthias Klose  <doko@ubuntu.com>
2039
2040         * src/compatibility.cc: Export long double versions of "C" math
2041         library for arm-linux-gnueabi, m68k-linux-gnu (ColdFire),
2042         mips*-linux-gnu (o32 ABI), sh*-linux-gnu (32 bit).
2043
2044 2010-06-15  Jason Merrill  <jason@redhat.com>
2045
2046         * testsuite/lib/libstdc++.exp: Set additional_prunes.
2047         (libstdc++-dg-test): Don't prune here.
2048         * testsuite/lib/prune.exp (dg-prune-output): New.
2049         (libstdc++-dg-prune): Rename from prune_g++_output.
2050         Add a bunch of prunes from gcc's prune.exp.
2051         * testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc:
2052         Remove dg-excess-errors.
2053         * testsuite/18_support/headers/cstdint/std_c++0x_neg.cc: Likewise.
2054         * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Likewise.
2055         * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc:
2056         Likewise.
2057         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2058         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise.
2059         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
2060         * testsuite/20_util/headers/type_traits/std_c++0x_neg.cc: Likewise.
2061         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
2062         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2063         Likewise.
2064         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
2065         * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc: Likewise.
2066         * testsuite/20_util/shared_ptr/cons/43820.cc: Likewise.
2067         * testsuite/23_containers/headers/array/std_c++0x_neg.cc: Likewise.
2068         * testsuite/23_containers/headers/tuple/std_c++0x_neg.cc: Likewise.
2069         * testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc:
2070         Likewise.
2071         * testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc:
2072         Likewise.
2073         * testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc: Likewise.
2074         * testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc: Likewise.
2075         * testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc: Likewise.
2076         * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Likewise.
2077         * testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc: Likewise.
2078         * testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Likewise.
2079         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
2080         * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
2081         Likewise.
2082         * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
2083         Likewise.
2084         * testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc:
2085         Likewise.
2086         * testsuite/30_threads/headers/future/std_c++0x_neg.cc: Likewise.
2087         * testsuite/30_threads/headers/mutex/std_c++0x_neg.cc: Likewise.
2088         * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise.
2089         * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Likewise.
2090         * testsuite/ext/profile/mutex_extensions.cc: Likewise.
2091         * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise.
2092         * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
2093         * testsuite/tr1/2_general_utilities/shared_ptr/assign/
2094         shared_ptr_neg.cc: Likewise.
2095         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: Likewise.
2096
2097 2010-06-13  Paolo Carlini <paolo.carlini@oracle.com>
2098
2099         * include/parallel/base.h (min, max): Mark inline.
2100         * include/parallel/set_operations.h (__parallel_set_operation):
2101         Uglify the Operation template parameter.
2102
2103 2010-06-11  Paolo Carlini  <paolo.carlini@oracle.com>
2104
2105         * include/bits/shared_ptr.h (hash<shared_ptr>): Add.
2106         * include/bits/shared_ptr_base.h (hash<__shared_ptr>): Likewise.
2107         * include/bits/unique_ptr.h (hash<unique_ptr>): Likewise.
2108         * testsuite/20_util/shared_ptr/hash/1.cc: New.
2109         * testsuite/20_util/unique_ptr/hash/1.cc: Likewise.
2110
2111 2010-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
2112
2113         * doc/xml/manual/appendix_contributing.xml: Indent code examples
2114         to match original C++STYLE document. Fix typos and syntax errors.
2115         Add some basic docbook markup.
2116         * doc/html/*: Regenerate.
2117
2118 2010-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
2119
2120         PR libstdc++/44268
2121         * doc/xml/manual/abi.xml: Fix libgcc version for hppa-linux.
2122
2123 2010-06-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
2124
2125         * include/std/tuple (_Swallow_assign::operator=): Add const.
2126         (ignore): Replace anonymous namespace member with const instance.
2127
2128 2010-06-10  Suresh Gumpula  <suresh.gumpula@amd.com>
2129
2130         PR libstdc++/43918
2131         * config/os/djgpp/error_constants.h: New.
2132         * configure.host: Use it.
2133
2134 2010-06-10  Paolo Carlini  <paolo.carlini@oracle.com>
2135
2136         * include/std/tuple (tuple(const tuple&)): Define explicitly-defaulted.
2137         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
2138         line number.
2139
2140 2010-06-10  Paolo Carlini  <paolo.carlini@oracle.com>
2141
2142         PR libstdc++/44487
2143         * include/bits/stl_pair.h (pair(pair&&)): Remove.
2144         (pair(pair<_U1, _U2>&&): Use forward, consistently with Bullet 5
2145         of LWG 1326.
2146         * include/std/tuple (tuple(pair<_U1, _U2>&&)): Likewise.
2147         * testsuite/20_util/pair/44487.cc: Add.
2148         * testsuite/20_util/tuple/cons/44487.cc: Likewise.
2149         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
2150         line numbers.
2151
2152 2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
2153
2154         * include/std/type_traits (is_nothrow_constructible): Add.
2155         (declval): Add noexcept specification.
2156         * testsuite/util/testsuite_tr1.h (struct NothrowExplicitClass,
2157         ThrowExplicitClass, NoexceptExplicitClass, ExceptExplicitClass):
2158         Add.
2159         * testsuite/20_util/is_nothrow_constructible/value.cc: New.
2160         * testsuite/20_util/is_nothrow_constructible/requirements/
2161         typedefs.cc: Likewise.
2162         * testsuite/20_util/is_nothrow_constructible/requirements/
2163         explicit_instantiation.cc: Likewise.
2164         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2165         Adjust dg-error line numbers.
2166         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2167         Likewise.
2168         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2169
2170 2010-06-09  Khem Raj  <raj.khem@gmail.com>
2171
2172         PR libstdc++/44461
2173         * libsupc++/eh_arm.cc (__cxa_end_cleanup): Use .pushsection/.popsection
2174         to emit inline assembly into .text section.
2175
2176 2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
2177
2178         Revert:
2179         2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
2180
2181         PR libstdc++/44413
2182         * include/ext/vstring_util.h (__vstring_utility<>::_S_compare):
2183         Simplify, just return -1, 0, 1.
2184
2185 2010-06-09  Iain Sandoe  <iains@gcc.gnu.org>
2186
2187         PR bootstrap/43170
2188         * configure: Regenerate.
2189
2190 2010-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
2191
2192         PR libstdc++/44413
2193         * include/ext/vstring_util.h (__vstring_utility<>::_S_compare):
2194         Simplify, just return -1, 0, 1.
2195
2196 2010-06-08  Paolo Carlini  <paolo.carlini@oracle.com>
2197
2198         * include/std/type_traits (has_nothrow_assign): Rename to
2199         has_nothrow_copy_assign.
2200         (has_trivial_assign): Rename to has_trivial_copy_assign.
2201         * testsuite/20_util/has_nothrow_copy_assign/value.cc: New.
2202         * testsuite/20_util/has_nothrow_copy_assign/requirements/
2203         typedefs.cc: Likewise.
2204         * testsuite/20_util/has_nothrow_copy_assign/requirements/
2205         explicit_instantiation.cc: Likewise.
2206         * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
2207         * testsuite/20_util/has_trivial_copy_assign/requirements/
2208         typedefs.cc: Likewise.
2209         * testsuite/20_util/has_trivial_copy_assign/requirements/
2210         explicit_instantiation.cc: Likewise.
2211
2212 2010-06-08  Johannes Singler  <singler@kit.edu>
2213
2214         * include/parallel/find.h
2215         (__find_template(.., growing_blocks_tag)): Make block size
2216         proportional to current position.
2217         * include/parallel/settings.h (_Settings): Introduce new tuning
2218         parameter find_scale_factor to the end of the struct, defaults to
2219         0.01f.
2220
2221 2010-06-08  Johannes Singler  <singler@kit.edu>
2222
2223         * include/parallel/partial_sum.h
2224         (__parallel_partial_sum_linear):
2225         Correctly calculate part lengths for partial_sum_dilation!=1.
2226
2227 2010-06-07  Paolo Carlini  <paolo.carlini@oracle.com>
2228
2229         PR libstdc++/44417
2230         * include/c_std/cwctype: Provide a workaround for bug glibc
2231         BZ 9694 affecting glibc 2.9 and older.
2232         * include/c_global/cwctype: Likewise.
2233         * testsuite/util/testsuite_abi.h: Remove temporary workaround.
2234         * testsuite/util/testsuite_allocator.h: Use everywhere std::size_t
2235         and std::ptrdiff_t, don't include <cstddef>.
2236
2237         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
2238         error_code.cc: Minor tweak, prefer <cwchar> to <wchar.h>.
2239
2240 2010-06-07  Paolo Carlini  <paolo.carlini@oracle.com>
2241
2242         * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp:
2243         Avoid -Wall warnings.
2244         * testsuite/27_io/ios_base/failure/what-3.cc: Likewise.
2245         * testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise.
2246         * testsuite/27_io/basic_ostringstream/str/char/1.cc: Likewise.
2247         * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Likewise.
2248         * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Likewise.
2249         * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise.
2250         * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Likewise.
2251         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
2252         * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Likewise.
2253         * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Likewise.
2254         * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Likewise.
2255         * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise.
2256         * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Likewise.
2257         * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise.
2258         * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Likewise.
2259         * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise.
2260         * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Likewise.
2261         * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.
2262         * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
2263         * testsuite/27_io/types/2.cc: Likewise.
2264         * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise.
2265         * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
2266         * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: Likewise.
2267         * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
2268         * testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise.
2269         * testsuite/27_io/basic_istream/ws/char/1.cc: Likewise.
2270         * testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise.
2271         * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
2272         * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
2273         * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
2274         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/01.cc:
2275         Likewise.
2276         * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
2277         Likewise.
2278         * testsuite/27_io/fpos/mbstate_t/4_neg.cc: Likewise.
2279         * testsuite/27_io/fpos/mbstate_t/2.cc: Likewise.
2280         * testsuite/27_io/fpos/mbstate_t/3.cc: Likewise.
2281         * testsuite/27_io/fpos/mbstate_t/5.cc: Likewise.
2282         * testsuite/27_io/basic_ostream/inserters_character/wchar_t/4.cc:
2283         Likewise.
2284         * testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
2285         Likewise.
2286         * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: Likewise.
2287         * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Likewise.
2288         * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Likewise.
2289         * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Likewise.
2290         * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Likewise.
2291         * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Likewise.
2292         * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Likewise.
2293         * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Likewise.
2294         * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Likewise.
2295         * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Likewise.
2296         * testsuite/25_algorithms/minmax/3.cc: Likewise.
2297         * testsuite/19_diagnostics/logic_error/what-3.cc: Likewise.
2298         * testsuite/19_diagnostics/runtime_error/what-3.cc: Likewise.
2299         * testsuite/19_diagnostics/system_error/what-3.cc: Likewise.
2300         * testsuite/24_iterators/front_insert_iterator/2.cc: Likewise.
2301         * testsuite/24_iterators/back_insert_iterator/2.cc: Likewise.
2302         * testsuite/24_iterators/insert_iterator/2.cc: Likewise.
2303         * testsuite/18_support/exception_ptr/make_exception_ptr.cc: Likewise.
2304         * testsuite/21_strings/c_strings/wchar_t/1.cc: Likewise.
2305         * testsuite/21_strings/c_strings/wchar_t/2.cc: Likewise.
2306         * testsuite/21_strings/c_strings/char/1.cc: Likewise.
2307         * testsuite/21_strings/c_strings/char/2.cc: Likewise.
2308         * testsuite/26_numerics/random/independent_bits_engine/cons/
2309         copy.cc: Likewise.
2310         * testsuite/26_numerics/random/subtract_with_carry_engine/
2311         cons/copy.cc: Likewise.
2312         * testsuite/26_numerics/random/subtract_with_carry_engine/
2313         requirements/constants.cc: Likewise.
2314         * testsuite/26_numerics/random/discard_block_engine/
2315         cons/copy.cc: Likewise.
2316         * testsuite/26_numerics/random/mersenne_twister_engine/
2317         cons/copy.cc: Likewise.
2318         * testsuite/26_numerics/random/mersenne_twister_engine/
2319         requirements/constants.cc: Likewise.
2320         * testsuite/26_numerics/random/linear_congruential_engine/
2321         cons/copy.cc: Likewise.
2322         * testsuite/26_numerics/random/linear_congruential_engine/
2323         requirements/constants.cc: Likewise.
2324         * testsuite/26_numerics/random/shuffle_order_engine/
2325         cons/copy.cc: Likewise.
2326         * testsuite/26_numerics/random/shuffle_order_engine/
2327         requirements/constants.cc: Likewise.
2328         * testsuite/26_numerics/complex/complex_value.cc: Likewise.
2329         * testsuite/26_numerics/headers/cmath/overloads.cc: Likewise.
2330         * testsuite/26_numerics/headers/cmath/
2331         c99_classification_macros_c++.cc: Likewise.
2332         * testsuite/26_numerics/slice_array/array_assignment.cc: Likewise.
2333         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
2334         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
2335         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
2336         * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise.
2337         * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
2338         * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
2339         * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
2340         * testsuite/22_locale/money_put/put/char/12971.cc: Likewise.
2341         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
2342         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
2343         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
2344         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2345         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
2346         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
2347         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
2348         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
2349         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
2350         * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
2351         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
2352         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
2353         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
2354         * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
2355         * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
2356         * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
2357         * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
2358         * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
2359         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
2360         * testsuite/22_locale/num_put/put/char/1.cc: Likewise.
2361         * testsuite/22_locale/time_get/get_year/wchar_t/5.cc: Likewise.
2362         * testsuite/22_locale/time_get/get_year/char/5.cc: Likewise.
2363         * testsuite/22_locale/time_get/get_monthname/wchar_t/5.cc: Likewise.
2364         * testsuite/22_locale/time_get/get_monthname/char/5.cc: Likewise.
2365         * testsuite/22_locale/time_get/get_weekday/wchar_t/5.cc: Likewise.
2366         * testsuite/22_locale/time_get/get_weekday/char/5.cc: Likewise.
2367         * testsuite/22_locale/time_get/get_date/wchar_t/5.cc: Likewise.
2368         * testsuite/22_locale/time_get/get_date/char/5.cc: Likewise.
2369         * testsuite/22_locale/time_get/get_time/wchar_t/5.cc: Likewise.
2370         * testsuite/22_locale/time_get/get_time/char/5.cc: Likewise.
2371         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
2372         * testsuite/22_locale/num_get/get/char/1.cc: Likewise.
2373         * testsuite/22_locale/moneypunct/members/wchar_t/1.cc: Likewise.
2374         * testsuite/22_locale/moneypunct/members/char/1.cc: Likewise.
2375         * testsuite/22_locale/ctype_base/mask.cc: Likewise.
2376         * testsuite/tr1/5_numerical_facilities/random/
2377         subtract_with_carry/requirements/constants.cc: Likewise.
2378         * testsuite/tr1/5_numerical_facilities/random/
2379         subtract_with_carry_01/requirements/constants.cc: Likewise.
2380         * testsuite/tr1/5_numerical_facilities/random/
2381         discard_block/requirements/constants.cc: Likewise.
2382         * testsuite/tr1/5_numerical_facilities/random/
2383         linear_congruential/requirements/constants.cc: Likewise.
2384         * testsuite/tr1/5_numerical_facilities/random/
2385         mersenne_twister/requirements/constants.cc: Likewise.
2386         * testsuite/tr1/5_numerical_facilities/random/
2387         xor_combine/requirements/constants.cc: Likewise.
2388         * testsuite/tr1/8_c_compatibility/cfenv/functions.cc: Likewise.
2389         * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
2390         * testsuite/tr1/8_c_compatibility/cstdlib/functions.cc: Likewise.
2391         * testsuite/tr1/8_c_compatibility/cstdio/functions.cc: Likewise.
2392         * testsuite/tr1/8_c_compatibility/cctype/functions.cc: Likewise.
2393         * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Likewise.
2394         * testsuite/tr1/8_c_compatibility/cmath/templates.cc: Likewise.
2395         * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Likewise.
2396         * testsuite/tr1/8_c_compatibility/cwctype/functions.cc: Likewise.
2397         * testsuite/tr1/6_containers/utility/pair.cc: Likewise.
2398         * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Likewise.
2399         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Likewise.
2400         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
2401         * testsuite/29_atomics/atomic_integral/operators/
2402         increment_neg.cc: Likewise.
2403         * testsuite/29_atomics/atomic_integral/operators/
2404         bitwise_neg.cc: Likewise.
2405         * testsuite/29_atomics/atomic_integral/operators/
2406         decrement_neg.cc: Likewise.
2407         * testsuite/29_atomics/atomic_flag/cons/1.cc: Likewise.
2408         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
2409         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
2410         * testsuite/23_containers/priority_queue/members/7161.cc
2411         * testsuite/23_containers/set/dr130.cc: Likewise.
2412         * testsuite/23_containers/list/pthread5.cc: Likewise.
2413         * testsuite/23_containers/map/dr130.cc: Likewise.
2414         * testsuite/util/exception/safety.h: Likewise.
2415         * testsuite/util/testsuite_common_types.h: Likewise.
2416         * testsuite/20_util/clocks/1.cc: Likewise.
2417
2418 2010-06-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
2419
2420         * doc/Makefile.am, doc/Makefile.in (xml_sources_extra): Add
2421         fdl-1.3.xml.
2422         * doc/xml/manual/intro.xml: Update FDL link.
2423         * doc/xml/manual/spine.xml: Update FDL include.
2424         * doc/xml/gnu/fdl-1.3.xml: Add.
2425         * doc/html/*: Regenerate.
2426
2427 2010-06-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
2428
2429         * include/ext/pointer.h (_Pointer_adapter::operator++): Remove
2430         name of unused parameter.
2431
2432 2010-06-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
2433
2434         PR libstdc++/40296
2435         * libsupc++/exception_ptr.h (exception_ptr::exception_ptr): Replace
2436         __safe_bool constructor with nullptr_t constructor in C++0x mode.
2437         (exception_ptr::operator bool): Add explicit conversion to bool.
2438         (swap(exception_ptr&, exception_ptr&)): Add.
2439         (exception_ptr::_M_safe_bool_dummy): Only declare for old ABI.
2440         * libsupc++/eh_ptr.cc (exception_ptr::_M_safe_bool_dummy): Move
2441         next to other functions retained for ABI compatibility.
2442         * testsuite/18_support/exception_ptr/requirements.cc: New.
2443         * testsuite/18_support/exception_ptr/requirements_neg.cc: New.
2444
2445 2010-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
2446
2447         * include/bits/shared_ptr_base.h (_Sp_counted_ptr::_M_dispose): Make
2448         nullptr_t specializations inline.
2449
2450 2010-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
2451
2452         * doc/xml/manual/status_cxx200x.xml: Update.
2453
2454 2010-06-05  Magnus Fromreide  <magfr@lysator.liu.se>
2455             Jonathan Wakely  <jwakely.gcc@gmail.com>
2456
2457         * include/std/functional (function): Add nullptr_t support.
2458         * include/bits/shared_ptr.h (shared_ptr): Likewise.
2459         * include/bits/unique_ptr.h (unique_ptr): Likewise.
2460
2461 2010-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
2462
2463         * include/bits/shared_ptr_base.h (__shared_ptr): Add nullptr_t support.
2464         (__shared_count): Add nullptr_t support and make constructors explicit.
2465         * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust.
2466         * testsuite/20_util/shared_ptr/cons/nullptr.cc: New.
2467         * testsuite/20_util/unique_ptr/cons/nullptr.cc: New.
2468         * testsuite/20_util/unique_ptr/assign/nullptr.cc: New.
2469         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
2470         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
2471         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
2472
2473 2010-06-04  Jason Merrill  <jason@redhat.com>
2474
2475         * testsuite/util/testsuite_abi.h: Work around glibc BZ 9694.
2476
2477 2010-06-03  Paolo Carlini  <paolo.carlini@oracle.com>
2478
2479         * testsuite/util/testsuite_iterators.h: Don't include <cstddef>,
2480         don't use NULL, use std::size_t and std::ptrdiff_t.
2481         * testsuite/18_support/exception/38732.cc: Likewise.
2482         * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: Likewise.
2483         * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: Likewise.
2484         * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: Likewise.
2485         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
2486         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
2487         * testsuite/23_containers/list/pthread1.cc: Likewise.
2488         * testsuite/23_containers/map/pthread6.cc: Likewise.
2489         * testsuite/util/testsuite_hooks.cc: Likewise.
2490         * config/locale/gnu/codecvt_members.cc: Likewise.
2491         * config/locale/gnu/messages_members.cc: Likewise.
2492         * config/locale/gnu/c_locale.h: Likewise.
2493         * config/locale/gnu/messages_members.h: Likewise.
2494         * config/locale/gnu/monetary_members.cc: Likewise.
2495         * config/locale/gnu/time_members.cc: Likewise.
2496         * config/locale/gnu/time_members.h: Likewise.
2497         * config/locale/generic/c_locale.cc: Likewise.
2498         * config/locale/generic/codecvt_members.cc: Likewise.
2499         * config/locale/generic/c_locale.h: Likewise.
2500         * config/locale/generic/time_members.cc: Likewise.
2501         * config/locale/generic/time_members.h: Likewise.
2502
2503 2010-06-03  Paolo Carlini  <paolo.carlini@oracle.com>
2504
2505         * include/bits/c++config (std::size_t, std::ptrdiff_t,
2506         std::nullptr_t): Provide typedefs.
2507         * include/c_std/cstddef: Don't provide std::size_t and
2508         std::ptrdiff_t here.
2509         * include/c_global/cstddef: Likewise.
2510         * src/condition_variable.cc: Don't include <cstddef>,
2511         don't use NULL, use std::size_t and std::ptrdiff_t.
2512         * src/mt_allocator.cc: Likewise.
2513         * src/localename.cc: Likewise.
2514         * src/chrono.cc: Likewise.
2515         * src/thread.cc: Likewise.
2516         * include/debug/formatter.h: Likewise.
2517         * include/debug/functions.h: Likewise.
2518         * include/std/valarray: Likewise.
2519         * include/std/thread: Likewise.
2520         * include/std/type_traits: Likewise.
2521         * include/std/atomic: Likewise.
2522         * include/std/iterator: Likewise.
2523         * include/std/bitset: Likewise.
2524         * include/std/fstream: Likewise.
2525         * include/std/mutex: Likewise.
2526         * include/c_std/cstdlib: Likewise.
2527         * include/c_std/cstdio: Likewise.
2528         * include/c_std/ctime: Likewise.
2529         * include/c_std/cwchar: Likewise.
2530         * include/c_std/cstring: Likewise.
2531         * include/parallel/multiway_merge.h: Likewise.
2532         * include/parallel/multiseq_selection.h: Likewise.
2533         * include/parallel/base.h: Likewise.
2534         * include/parallel/basic_iterator.h: Likewise.
2535         * include/parallel/multiway_mergesort.h
2536         * include/parallel/partition.h: Likewise.
2537         * include/ext/string_conversions.h: Likewise.
2538         * include/ext/pb_ds/assoc_container.hpp: Likewise.
2539         * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp:
2540         Likewise.
2541         * include/ext/pb_ds/detail/resize_policy/
2542         hash_prime_size_policy_imp.hpp: Likewise.
2543         * include/ext/pb_ds/detail/resize_policy/
2544         sample_resize_policy.hpp: Likewise.
2545         * include/ext/pb_ds/detail/resize_policy/
2546         sample_resize_trigger.hpp: Likewise.
2547         * include/ext/pb_ds/detail/binomial_heap_base_/
2548         erase_fn_imps.hpp: Likewise.
2549         * include/ext/pb_ds/detail/binomial_heap_base_/
2550         find_fn_imps.hpp: Likewise.
2551         * include/ext/pb_ds/detail/binomial_heap_base_/
2552         insert_fn_imps.hpp: Likewise.
2553         * include/ext/pb_ds/detail/binomial_heap_base_/
2554         constructors_destructor_fn_imps.hpp: Likewise.
2555         * include/ext/pb_ds/detail/binomial_heap_base_/
2556         debug_fn_imps.hpp: Likewise.
2557         * include/ext/pb_ds/detail/binomial_heap_base_/
2558         split_join_fn_imps.hpp: Likewise.
2559         * include/ext/pb_ds/detail/cc_hash_table_map_/
2560         erase_store_hash_fn_imps.hpp: Likewise.
2561         * include/ext/pb_ds/d: Likewise.etail/cc_hash_table_map_/
2562         insert_no_store_hash_fn_imps.hpp
2563         * include/ext/pb_ds/detail/cc_hash_table_map_/
2564         cmp_fn_imps.hpp: Likewise.
2565         * include/ext/pb_ds/detail/cc_hash_table_map_/
2566         find_fn_imps.hpp: Likewise.
2567         * include/ext/pb_ds/detail/cc_hash_table_map_/
2568         insert_store_hash_fn_imps.hpp: Likewise.
2569         * include/ext/pb_ds/detail/cc_hash_table_map_/
2570         debug_fn_imps.hpp: Likewise.
2571         * include/ext/pb_ds/detail/cc_hash_table_map_/
2572         info_fn_imps.hpp: Likewise.
2573         * include/ext/pb_ds/detail/cc_hash_table_map_/
2574         entry_list_fn_imps.hpp: Likewise.
2575         * include/ext/pb_ds/detail/cc_hash_table_map_/
2576         trace_fn_imps.hpp: Likewise.
2577         * include/ext/pb_ds/detail/cc_hash_table_map_/
2578         erase_fn_imps.hpp: Likewise.
2579         * include/ext/pb_ds/detail/cc_hash_table_map_/
2580         cc_ht_map_.hpp: Likewise.
2581         * include/ext/pb_ds/detail/cc_hash_table_map_/
2582         resize_fn_imps.hpp: Likewise.
2583         * include/ext/pb_ds/detail/cc_hash_table_map_/
2584         constructor_destructor_fn_imps.hpp: Likewise.
2585         * include/ext/pb_ds/detail/cc_hash_table_map_/
2586         erase_no_store_hash_fn_imps.hpp: Likewise.
2587         * include/ext/pb_ds/detail/unordered_iterator/
2588         iterator.hpp: Likewise.
2589         * include/ext/pb_ds/detail/unordered_iterator/
2590         const_iterator.hpp: Likewise.
2591         * include/ext/pb_ds/detail/unordered_iterator/
2592         point_iterator.hpp: Likewise.
2593         * include/ext/pb_ds/detail/unordered_iterator/
2594         const_point_iterator.hpp: Likewise.
2595         * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Likewise.
2596         * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Likewise.
2597         * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Likewise.
2598         * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Likewise.
2599         * include/ext/pb_ds/detail/pat_trie_/
2600         insert_join_fn_imps.hpp: Likewise.
2601         * include/ext/pb_ds/detail/pat_trie_/
2602         constructors_destructor_fn_imps.hpp: Likewise.
2603         * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Likewise.
2604         * include/ext/pb_ds/detail/pat_trie_/
2605         const_child_iterator.hpp: Likewise.
2606         * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Likewise.
2607         * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Likewise.
2608         * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Likewise.
2609         * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Likewise.
2610         * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Likewise.
2611         * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Likewise.
2612         * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Likewise.
2613         * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Likewise.
2614         * include/ext/pb_ds/detail/bin_search_tree_/
2615         find_fn_imps.hpp: Likewise.
2616         * include/ext/pb_ds/detail/bin_search_tree_/
2617         r_erase_fn_imps.hpp: Likewise.
2618         * include/ext/pb_ds/detail/bin_search_tree_/
2619         constructors_destructor_fn_imps.hpp: Likewise.
2620         * include/ext/pb_ds/detail/bin_search_tree_/
2621         debug_fn_imps.hpp: Likewise.
2622         * include/ext/pb_ds/detail/bin_search_tree_/
2623         rotate_fn_imps.hpp: Likewise.
2624         * include/ext/pb_ds/detail/bin_search_tree_/
2625         erase_fn_imps.hpp: Likewise.
2626         * include/ext/pb_ds/detail/bin_search_tree_/
2627         insert_fn_imps.hpp: Likewise.
2628         * include/ext/pb_ds/detail/bin_search_tree_/
2629         node_iterators.hpp: Likewise.
2630         * include/ext/pb_ds/detail/bin_search_tree_/
2631         point_iterators.hpp: Likewise.
2632         * include/ext/pb_ds/detail/bin_search_tree_/
2633         split_join_fn_imps.hpp: Likewise.
2634         * include/ext/pb_ds/detail/bin_search_tree_/
2635         iterators_fn_imps.hpp: Likewise.
2636         * include/ext/pb_ds/detail/gp_hash_table_map_/
2637         find_fn_imps.hpp: Likewise.
2638         * include/ext/pb_ds/detail/gp_hash_table_map_/
2639         gp_ht_map_.hpp: Likewise.
2640         * include/ext/pb_ds/detail/gp_hash_table_map_/
2641         resize_fn_imps.hpp: Likewise.
2642         * include/ext/pb_ds/detail/gp_hash_table_map_/
2643         standard_policies.hpp: Likewise.
2644         * include/ext/pb_ds/detail/tree_policy/
2645         sample_tree_node_update.hpp: Likewise.
2646         * include/ext/pb_ds/detail/basic_tree_policy/
2647         null_node_metadata.hpp: Likewise.
2648         * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Likewise.
2649         * include/ext/pb_ds/detail/binary_heap_/
2650         const_point_iterator.hpp: Likewise.
2651         * include/ext/pb_ds/detail/binary_heap_/
2652         split_join_fn_imps.hpp: Likewise.
2653         * include/ext/pb_ds/detail/trie_policy/
2654         sample_trie_node_update.hpp: Likewise.
2655         * include/ext/pb_ds/detail/trie_policy/
2656         sample_trie_e_access_traits.hpp: Likewise.
2657         * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Likewise.
2658         * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Likewise.
2659         * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Likewise.
2660         * include/ext/pb_ds/detail/pairing_heap_/
2661         split_join_fn_imps.hpp: Likewise.
2662         * include/ext/pb_ds/detail/list_update_policy/
2663         counter_lu_metadata.hpp: Likewise.
2664         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2665         trace_fn_imps.hpp: Likewise.
2666         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2667         erase_fn_imps.hpp: Likewise.
2668         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2669         null_metadata.hpp: Likewise.
2670         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2671         const_iterator.hpp: Likewise.
2672         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2673         insert_fn_imps.hpp: Likewise.
2674         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2675         constructors_destructor_fn_imps.hpp: Likewise.
2676         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2677         debug_fn_imps.hpp: Likewise.
2678         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2679         iterators_fn_imps.hpp: Likewise.
2680         * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
2681         const_point_iterator.hpp: Likewise.
2682         * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Likewise.
2683         * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Likewise.
2684         * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Likewise.
2685         * include/ext/pb_ds/detail/thin_heap_/
2686         constructors_destructor_fn_imps.hpp: Likewise.
2687         * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Likewise.
2688         * include/ext/pb_ds/detail/thin_heap_/
2689         split_join_fn_imps.hpp: Likewise.
2690         * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Likewise.
2691         * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Likewise.
2692         * include/ext/pb_ds/detail/ov_tree_map_/
2693         constructors_destructor_fn_imps.hpp: Likewise.
2694         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Likewise.
2695         * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Likewise.
2696         * include/ext/pb_ds/detail/ov_tree_map_/
2697         iterators_fn_imps.hpp: Likewise.
2698         * include/ext/pb_ds/detail/hash_fn/sample_probe_fn.hpp: Likewise.
2699         * include/ext/pb_ds/detail/hash_fn/
2700         sample_ranged_probe_fn.hpp: Likewise.
2701         * include/ext/pb_ds/detail/hash_fn/sample_range_hashing.hpp: Likewise.
2702         * include/ext/pb_ds/detail/hash_fn/
2703         sample_ranged_hash_fn.hpp: Likewise.
2704         * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Likewise.
2705         * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Likewise.
2706         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Likewise.
2707         * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Likewise.
2708         * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Likewise.
2709         * include/ext/pb_ds/detail/splay_tree_/
2710         split_join_fn_imps.hpp: Likewise.
2711         * include/ext/pb_ds/detail/list_update_map_/
2712         trace_fn_imps.hpp: Likewise.
2713         * include/ext/pb_ds/detail/list_update_map_/
2714         erase_fn_imps.hpp: Likewise.
2715         * include/ext/pb_ds/detail/list_update_map_/
2716         find_fn_imps.hpp: Likewise.
2717         * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Likewise.
2718         * include/ext/pb_ds/detail/list_update_map_/
2719         constructor_destructor_fn_imps.hpp: Likewise.
2720         * include/ext/pb_ds/detail/list_update_map_/
2721         insert_fn_imps.hpp: Likewise.
2722         * include/ext/pb_ds/detail/list_update_map_/
2723         info_fn_imps.hpp: Likewise.
2724         * include/ext/pb_ds/detail/list_update_map_/
2725         iterators_fn_imps.hpp: Likewise.
2726         * include/ext/pb_ds/detail/rc_binomial_heap_/
2727         erase_fn_imps.hpp: Likewise.
2728         * include/ext/pb_ds/detail/rc_binomial_heap_/
2729         insert_fn_imps.hpp: Likewise.
2730         * include/ext/pb_ds/detail/rc_binomial_heap_/
2731         debug_fn_imps.hpp: Likewise.
2732         * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Likewise.
2733         * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Likewise.
2734         * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Likewise.
2735         * include/ext/pb_ds/detail/rb_tree_map_/
2736         split_join_fn_imps.hpp: Likewise.
2737         * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Likewise.
2738         * include/ext/pb_ds/list_update_policy.hpp: Likewise.
2739         * include/ext/pb_ds/exception.hpp: Likewise.
2740         * include/ext/pb_ds/tree_policy.hpp: Likewise.
2741         * include/ext/pb_ds/tag_and_trait.hpp: Likewise.
2742         * include/ext/pb_ds/hash_policy.hpp: Likewise.
2743         * include/ext/pb_ds/trie_policy.hpp: Likewise.
2744         * include/ext/pb_ds/priority_queue.hpp: Likewise.
2745         * include/ext/throw_allocator.h: Likewis: Likewise.e.
2746         * include/ext/bitmap_allocator.h
2747         * include/ext/rc_string_base.h: Likewise.
2748         * include/ext/new_allocator.h: Likewise.
2749         * include/ext/codecvt_specializations.h: Likewise.
2750         * include/ext/functional: Likewise.: Likewise.
2751         * include/ext/array_allocator.h: Likewise.
2752         * include/ext/mt_allocator.h: Likewise.
2753         * include/ext/sso_string_base.h: Likewise.
2754         * include/profile/impl/profiler_trace.h: Likewise.
2755         * include/profile/impl/profiler_node.h: Likewise.
2756         * include/bits/stl_algobase.h: Likewise.
2757         * include/bits/functional_hash.h: Likewise.
2758         * include/bits/locale_facets.tcc: Likewise.
2759         * include/bits/locale_facets.h: Likewise.
2760         * include/bits/stl_iterator_base_types.h: Likewise.
2761         * include/bits/move.h: Likewise.
2762         * include/bits/boost_concept_check.h: Likewise.
2763         * include/bits/basic_string.tcc: Likewise.
2764         * include/bits/locale_facets_nonio.tcc: Likewise.
2765         * include/bits/fstream.tcc: Likewise.
2766         * include/bits/locale_facets_nonio.h: Likewise.
2767         * include/c_global/cstdlib: Likewise.
2768         * include/c_global/cstdio: Likewise.
2769         * include/c_global/ctime: Likewise.
2770         * include/c_global/cwchar: Likewise.
2771         * include/c_global/cstring
2772         * include/tr1/type_traits: Likewise.
2773         * include/backward/hash_fun.h: Likewise.
2774         * libsupc++/new: Likewise.
2775         * libsupc++/initializer_list: Likewise.
2776         * testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
2777         * testsuite/27_io/basic_iostream/cons/2020.cc: Likewise.
2778         * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
2779         * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
2780         * testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc: Likewise.
2781         * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
2782         * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise.
2783         * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
2784         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1057.cc: Likewise.
2785         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
2786         * testsuite/27_io/basic_streambuf/sputn/char/1057.cc: Likewise.
2787         * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2788         * testsuite/27_io/basic_streambuf/sputc/wchar_t/1057.cc: Likewise.
2789         * testsuite/27_io/basic_streambuf/sputc/char/1057.cc: Likewise.
2790         * testsuite/27_io/objects/wchar_t/5268.cc: Likewise.
2791         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2792         * testsuite/27_io/objects/char/5268.cc: Likewise.
2793         * testsuite/27_io/objects/char/10.cc: Likewise.
2794         * testsuite/27_io/basic_ios/copyfmt/char/1.cc: Likewise.
2795         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
2796         * testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise.
2797         * testsuite/27_io/basic_ios/locales/char/1.cc: Likewise.
2798         * testsuite/27_io/basic_ios/clear/char/1.cc: Likewise.
2799         * testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
2800         * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1057.cc: Likewise.
2801         * testsuite/27_io/basic_stringbuf/sputc/char/1057.cc: Likewise.
2802         * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1057.cc: Likewise.
2803         * testsuite/27_io/basic_stringbuf/sputn/char/1057.cc: Likewise.
2804         * testsuite/27_io/basic_istream/get/wchar_t/1.cc: Likewise.
2805         * testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
2806         * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise.
2807         * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
2808         * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: Likewise.
2809         * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
2810         * testsuite/27_io/basic_istream/getline/wchar_t/1.cc: Likewise.
2811         * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
2812         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
2813         exceptions_null.cc
2814         * testsuite/27_io/basic_istream/extractors_other/wchar_t/
2815         1.cc: Likewise.
2816         * testsuite/27_io/basic_istream/extractors_other/char/
2817         exceptions_null.cc: Likewise.
2818         * testsuite/27_io/basic_istream/extractors_other/char/1.cc: Likewise.
2819         * testsuite/27_io/basic_istream/cons/3.cc: Likewise.
2820         * testsuite/27_io/basic_istream/extractors_arithmetic/
2821         wchar_t/01.cc: Likewise.
2822         * testsuite/27_io/basic_istream/extractors_arithmetic/
2823         char/01.cc: Likewise.
2824         * testsuite/27_io/basic_istream/extractors_character/
2825         wchar_t/1.cc: Likewise.
2826         * testsuite/27_io/basic_istream/extractors_character/
2827         wchar_t/2.cc: Likewise.
2828         * testsuite/27_io/basic_istream/extractors_character/
2829         wchar_t/3.cc: Likewise.
2830         * testsuite/27_io/basic_istream/extractors_character/
2831         char/1.cc: Likewise.
2832         * testsuite/27_io/basic_istream/extractors_character/
2833         char/2.cc: Likewise.
2834         * testsuite/27_io/basic_istream/extractors_character/
2835         char/3.cc: Likewise.
2836         * testsuite/27_io/basic_istream/extractors_character/
2837         char/9826.cc: Likewise.
2838         * testsuite/27_io/basic_istream/read/wchar_t/1.cc: Likewise.
2839         * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
2840         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
2841         exceptions_null.cc: Likewise.
2842         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
2843         1.cc: Likewise.
2844         * testsuite/27_io/basic_ostream/inserters_other/char/
2845         exceptions_null.cc: Likewise.
2846         * testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Likewise.
2847         * testsuite/27_io/basic_ostream/cons/2020.cc: Likewise.
2848         * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Likewise.
2849         * testsuite/27_io/basic_ostream/inserters_character/
2850         wchar_t/8.cc: Likewise.
2851         * testsuite/27_io/basic_ostream/inserters_character/
2852         char/8.cc: Likewise.
2853         * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Likewise.
2854         * testsuite/27_io/basic_filebuf/sputc/char/1057.cc: Likewise.
2855         * testsuite/27_io/basic_filebuf/open/char/1.cc: Likewise.
2856         * testsuite/27_io/basic_filebuf/open/char/2.cc: Likewise.
2857         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
2858         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
2859         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
2860         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
2861         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
2862         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
2863         * testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc: Likewise.
2864         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
2865         * testsuite/27_io/basic_filebuf/close/char/1.cc: Likewise.
2866         * testsuite/27_io/basic_filebuf/close/char/2.cc: Likewise.
2867         * testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Likewise.
2868         * testsuite/27_io/basic_filebuf/sputn/char/1057.cc: Likewise.
2869         * testsuite/24_iterators/ostreambuf_iterator/2.cc: Likewise.
2870         * testsuite/18_support/bad_exception/23591_thread-1.c
2871         * testsuite/18_support/new_delete_placement.cc: Likewise.
2872         * testsuite/18_support/pthread_guard.cc: Likewise.
2873         * testsuite/21_strings/basic_string/operations/wchar_t/1.cc: Likewise.
2874         * testsuite/21_strings/basic_string/operations/char/1.cc: Likewise.
2875         * testsuite/21_strings/basic_string/pthread4.cc: Likewise.
2876         * testsuite/21_strings/basic_string/cons/wchar_t/5.cc: Likewise.
2877         * testsuite/21_strings/basic_string/cons/char/5.cc: Likewise.
2878         * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
2879         * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
2880         * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
2881         * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
2882         * testsuite/30_threads/mutex/cons/assign_neg.cc: Likewise.
2883         * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
2884         * testsuite/30_threads/thread/cons/assign_neg.cc: Likewise.
2885         * testsuite/30_threads/thread/cons/copy_neg.cc: Likewise.
2886         * testsuite/30_threads/recursive_timed_mutex/cons/
2887         assign_neg.cc: Likewise.
2888         * testsuite/30_threads/recursive_timed_mutex/cons/
2889         copy_neg.cc: Likewise.
2890         * testsuite/ext/mt_allocator/22309_thread.cc: Likewise.
2891         * testsuite/ext/slist/23781.cc: Likewise.
2892         * testsuite/ext/rope/pthread7-rope.cc: Likewise.
2893         * testsuite/ext/stdio_filebuf/char/10063-2.cc: Likewise.
2894         * testsuite/22_locale/ctype/is/wchar_t/1.cc: Likewise.
2895         * testsuite/22_locale/ctype/is/char/1.cc: Likewise.
2896         * testsuite/22_locale/time_put/put/char/12439_1.cc: Likewise.
2897         * testsuite/22_locale/time_put/put/char/12439_3.cc: Likewise.
2898         * testsuite/22_locale/locale/cons/2.cc: Likewise.
2899         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
2900         * testsuite/22_locale/locale/cons/29217.cc: Likewise.
2901         * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.
2902         * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
2903         * testsuite/tr1/6_containers/unordered_multimap/
2904         requirements/iterator_null_neg.cc: Likewise.
2905         * testsuite/tr1/6_containers/unordered_multiset/
2906         requirements/iterator_null_neg.cc: Likewise.
2907         * testsuite/29_atomics/atomic_address/cons/single_value.cc: Likewise.
2908         * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Likewise.
2909         * testsuite/23_containers/multimap/23781.cc: Likewise.
2910         * testsuite/23_containers/set/23781.cc: Likewise.
2911         * testsuite/23_containers/multiset/23781.cc: Likewise.
2912         * testsuite/23_containers/list/pthread1.cc: Likewise.
2913         * testsuite/23_containers/list/23781.cc: Likewise.
2914         * testsuite/23_containers/map/pthread6.cc: Likewise.
2915         * testsuite/23_containers/map/23781.cc: Likewise.
2916         * testsuite/util/regression/rand/priority_queue/
2917         rand_regression_test.hpp: Likewise.
2918         * testsuite/util/regression/rand/priority_queue/
2919         container_rand_regression_test.tcc: Likewise.
2920         * testsuite/util/regression/rand/assoc/
2921         rand_regression_test.hpp: Likewise.
2922         * testsuite/util/regression/rand/assoc/
2923         container_rand_regression_test.tcc: Likewise.
2924         * testsuite/util/testsuite_hooks.cc: Likewise.
2925         * testsuite/util/testsuite_io.h: Likewise.
2926         * testsuite/util/testsuite_iterators.h: Likewise.
2927         * testsuite/util/replacement_memory_operators.h: Likewise.
2928         * testsuite/util/testsuite_allocator.h: Likewise.
2929         * testsuite/util/testsuite_performance.h: Likewise.
2930
2931 2010-06-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
2932
2933         * testsuite/tr1/2_general_utilities/shared_ptr/cons/pointer.cc: Fix
2934         which tests are run.
2935         * testsuite/20_util/shared_ptr/cons/pointer.cc: Likewise.
2936
2937 2010-06-01  Maxim Kuvyrkov  <maxim@codesourcery.com>
2938
2939         * acinclude.m4, configure.host: Support Bionic C library.
2940         * configure: Regenerate.
2941         * config/os/bionic/ctype_base.h, config/os/bionic/ctype_inline.h,
2942         * config/os/bionic/ctype_noincline.h, config/os/bionic/os_defines.h:
2943         New files, based on config/os/newlib/*.
2944
2945 2010-05-31  Jonathan Wakely  <jwakely.gcc@gmail.com>
2946
2947         PR libstdc++/43820
2948         * include/bits/shared_ptr_base.h: Require complete type.
2949         * include/tr1/shared_ptr.h: Likewise.
2950         * testsuite/20_util/shared_ptr/cons/43820.cc: New.
2951         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: New.
2952
2953 2010-05-31  Paolo Carlini  <paolo.carlini@oracle.com>
2954
2955         * include/bits/basic_string.h (front, back): Add.
2956         * include/debug/string: Adjust.
2957         * include/ext/vstring.h (front, back): Tweak the implementation
2958         to follow more closely the letter of the specs.
2959         * testsuite/21_strings/basic_string/element_access/char/
2960         front_back.cc: New.
2961         * testsuite/21_strings/basic_string/element_access/wchar_t/
2962         front_back.cc: Likewise.
2963         * config/abi/pre/gnu.ver: Export new symbols.
2964         * testsuite/util/testsuite_abi.cc: Adjust.
2965         * configure.ac: Bump minor version to 6:15:0.
2966         * configure: Regenerate.
2967
2968 2010-05-28  Paolo Carlini  <paolo.carlini@oracle.com>
2969
2970         * include/bits/stl_vector.h (vector<>::data): Fix return type
2971         in c++0x mode.
2972         * testsuite/23_containers/vector/requirements/dr438/
2973         assign_neg.cc: Adjust dg-error line number.
2974         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2975         Likewise.
2976         * testsuite/23_containers/vector/requirements/dr438/
2977         constructor_1_neg.cc: Likewise.
2978         * testsuite/23_containers/vector/requirements/dr438/
2979         constructor_2_neg.cc: Likewise.
2980
2981 2010-05-27  Jason Merrill  <jason@redhat.com>
2982
2983         Revert:
2984         PR libstdc++/42832
2985         * include/std/functional (function<>::swap): Perform bytewise
2986         swap of _M_functor.
2987         * include/tr1/functional (function<>::swap): Likewise.
2988
2989 2010-05-27  Paolo Carlini  <paolo.carlini@oracle.com>
2990
2991         PR libstdc++/40497
2992         * include/bits/cpp_type_traits.h (__is_iterator): Add.
2993         * include/bits/stl_iterator_base_funcs.h (next, prev): Use it.
2994         * testsuite/24_iterators/operations/40497.cc: New.
2995
2996 2010-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
2997
2998         PR libstdc++/25306
2999         * include/bits/stl_algobase.h (fill_n): Use a properly typed __niter
3000         initialized to __n.
3001         * include/bits/stl_algo.h (generate_n): Likewise.
3002         * testsuite/25_algorithms/fill_n/25306.cc: New.
3003         * testsuite/25_algorithms/generate_n/25306.cc: Likewise.
3004
3005 2010-05-21  Joseph Myers  <joseph@codesourcery.com>
3006
3007         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Use GNU locale model for
3008         glibc 2.3 and later, but not uClibc, without an execution test.
3009         * configure: Regenerate.
3010         * doc/xml/manual/configure.xml, doc/xml/manual/prerequisites.xml,
3011         doc/xml/faq.xml: Update.
3012
3013 2010-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
3014
3015         * include/tr1/functional: Use std::__addressof.
3016         * include/tr1/hashtable_policy.h: Likewise.
3017
3018 2010-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
3019
3020         PR libstdc++/41792
3021         * include/tr1_impl/array: Use std::__addressof.
3022         * include/std/functional (reference_wrapper): Likewise.
3023         * include/ext/throw_allocator.h: Likewise.
3024         * include/ext/pool_allocator.h: Likewise.
3025         * include/ext/bitmap_allocator.h: Likewise.
3026         * include/ext/new_allocator.h: Likewise.
3027         * include/ext/malloc_allocator.h: Likewise.
3028         * include/ext/array_allocator.h: Likewise.
3029         * include/ext/mt_allocator.h: Likewise.
3030         * include/ext/extptr_allocator.h: Likewise.
3031         * include/bits/stl_list.h: Likewise.
3032         * include/bits/hashtable_policy.h: Likewise.
3033         * include/bits/forward_list.h: Likewise.
3034         * include/bits/stl_uninitialized.h: Likewise.
3035         * include/bits/list.tcc: Likewise.
3036         * include/bits/stl_construct.h: Likewise.
3037         * include/bits/stl_tree.h: Likewise.
3038         * testsuite/20_util/reference_wrapper/41792.cc: New.
3039         * testsuite/23_containers/unordered_map/requirements/
3040         explicit_instantiation/4.cc: Likewise.
3041         * testsuite/23_containers/multimap/requirements/
3042         explicit_instantiation/4.cc: Likewise.
3043         * testsuite/23_containers/set/requirements/
3044         explicit_instantiation/4.cc: Likewise.
3045         * testsuite/23_containers/unordered_multimap/requirements/
3046         explicit_instantiation/4.cc: Likewise.
3047         * testsuite/23_containers/forward_list/requirements/
3048         explicit_instantiation/4.cc: Likewise.
3049         * testsuite/23_containers/unordered_set/requirements/
3050         explicit_instantiation/4.cc: Likewise.
3051         * testsuite/23_containers/vector/requirements/
3052         explicit_instantiation/4.cc: Likewise.
3053         * testsuite/23_containers/deque/requirements/
3054         explicit_instantiation/4.cc: Likewise.
3055         * testsuite/23_containers/multiset/requirements/
3056         explicit_instantiation/4.cc: Likewise.
3057         * testsuite/23_containers/list/requirements/
3058         explicit_instantiation/4.cc: Likewise.
3059         * testsuite/23_containers/unordered_multiset/requirements/
3060         explicit_instantiation/4.cc: Likewise.
3061         * testsuite/23_containers/map/requirements/
3062         explicit_instantiation/4.cc: Likewise.
3063         * testsuite/23_containers/array/requirements/
3064         explicit_instantiation/3.cc: Likewise.
3065         * testsuite/23_containers/forward_list/requirements/
3066         dr438/assign_neg.cc: Adjust dg-error line numbers.
3067         * testsuite/23_containers/forward_list/requirements/dr438/
3068         insert_neg.cc: Likewise.
3069         * testsuite/23_containers/forward_list/requirements/dr438/
3070         constructor_1_neg.cc: Likewise.
3071         * testsuite/23_containers/forward_list/requirements/dr438/
3072         constructor_2_neg.cc: Likewise.
3073         * testsuite/23_containers/list/requirements/dr438/
3074         assign_neg.cc: Likewise.
3075         * testsuite/23_containers/list/requirements/dr438/
3076         insert_neg.cc: Likewise.
3077         * testsuite/23_containers/list/requirements/dr438/
3078         constructor_1_neg.cc: Likewise.
3079         * testsuite/23_containers/list/requirements/dr438/
3080         constructor_2_neg.cc: Likewise.
3081
3082 2010-05-20  Peter Dimov  <pdimov@pdimov.com>
3083             Paolo Carlini  <paolo.carlini@oracle.com>
3084
3085         * include/bits/move.h (__addressof, addressof): Add.
3086         * testsuite/util/testsuite_api.h (struct OverloadedAddress): Add.
3087         * testsuite/20_util/addressof/requirements/
3088         explicit_instantiation.cc: New.
3089         * testsuite/20_util/addressof/1.cc: Likewise.
3090
3091 2010-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
3092
3093         * include/bits/stl_pair.h (pair<>::pair(const pair&)): Defaulted
3094         in C++0x mode.
3095         (pair<>::operator=(const pair<>&)): Add in C++0x mode.
3096         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
3097         line number.
3098
3099 2010-05-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
3100
3101         * testsuite/30_threads/future/members/wait.cc (wait): Rename.
3102         * testsuite/30_threads/shared_future/members/wait.cc (wait): Likewise.
3103
3104 2010-05-18  Eelis van der Weegen  <gcc-bugzilla@contacts.eelis.net>
3105
3106         PR libstdc++/44190
3107         * include/debug/vector (vector<>::resize): Call
3108         _M_update_guaranteed_capacity.
3109         * testsuite/23_containers/vector/capacity/44190.cc: New.
3110
3111 2010-05-17  Paolo Carlini  <paolo.carlini@oracle.com>
3112
3113         * include/std/functional (result_of): Move...
3114         * include/std/type_traits: ... here.
3115         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
3116         line number.
3117
3118 2010-05-12  Jason Merrill  <jason@redhat.com>
3119
3120         * testsuite/20_util/auto_ptr/assign_neg.cc: Expect template
3121         candidate messages.
3122         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise.
3123         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
3124
3125 2010-05-11  Silvius Rus  <silvius.rus@gmail.com>
3126
3127         PR libstdc++/43259
3128         * include/profile/impl/profiler_algos.h: New.
3129         * include/Makefile.am: Add.
3130         * include/Makefile.in: Regenerate.
3131         * include/profile/impl/profiler.h
3132         (_GLIBCXX_PROFILE_DEFINE_UNINIT_DATA): Add.
3133         * include/profile/impl/profiler_trace.h
3134         (__mutex_t, __lock, __unlock): Remove.
3135         (__lock_object_table, __lock_stack_table): Remove. Replace uses with
3136         calls to __gnu_cxx::__mutex::lock.
3137         (__unlock_object_table, __unlock_stack_table): Remove. Replace uses
3138         with calls to __gnu_cxx::__mutex::unlock.
3139         (__warn, __cost_factor_writer, __cost_factor_setter): Add.
3140         * testsuite/ext/profile/profiler_algos.cc: New.
3141
3142 2010-05-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
3143
3144         * libsupc++/exception_ptr.h (make_exception_ptr): Add.
3145         * testsuite/18_support/exception_ptr/make_exception_ptr.cc: New.
3146
3147 2010-05-06  Jason Merrill  <jason@redhat.com>
3148
3149         * config/abi/pre/gnu.ver: Move decltype(nullptr) into CXXABI_1.3.5.
3150         * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.5.
3151
3152         * config/abi/pre/gnu.ver: Add typeinfo for decltype(nullptr).
3153
3154 2010-05-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
3155
3156         * include/bits/basic_string.h: Escape class names in doxygen docs.
3157
3158 2010-05-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
3159
3160         PR libstdc++/44014
3161         * include/bits/stringfwd.h: Add doxygen comments and new group.
3162         * include/bits/basic_string.h: Add to new doxygen group.
3163         * doc/doxygen/user.cfg.in (ALIASES): Link to correct group.
3164
3165 2010-05-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3166
3167         * configure.host: Removed irix[1-6], irix[1-5].*, irix6.[0-4]*
3168         support.
3169         * config/os/irix/irix5.2: Removed.
3170
3171 2010-05-05  Paolo Carlini  <paolo.carlini@oracle.com>
3172
3173         * testsuite/23_containers/vector/bool/capacity/29134.cc: Adjust
3174         for profile-mode too.
3175         * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc:
3176         Likewise.
3177
3178 2010-05-05  Paolo Carlini  <paolo.carlini@oracle.com>
3179
3180         * include/profile/unordered_map (unordered_map<>::insert(_InputIter,
3181         _InputIter), unordered_multimap<>::insert(_InputIter, _InputIter)):
3182         Fix typo, don't call base() on __first and __last.
3183
3184 2010-05-05  Paolo Carlini  <paolo.carlini@oracle.com>
3185
3186         Fix profile-mode vs -std=c++0x
3187         * include/profile/impl/profiler_trace.h: Do not include the
3188         whole <algorithm>, include <bits/stl_heap.h> (additionally
3189         to <bits/stl_algobase.h>).
3190         (__write_cost_factors): Replace std::for_each with open-coding.
3191         (__set_cost_factors): Likewise.
3192         (__report): Likewise; use std::make_heap / std::sort_heap
3193         instead of std::sort.
3194         (__report_cost_factors): Replace std::remove with open-coding.
3195         (__warn, __cost_factor_writer, __cost_factor_setter): Remove.
3196
3197 2010-05-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3198
3199         PR other/43620
3200         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
3201         * configure: Regenerate.
3202         * Makefile.in: Regenerate.
3203         * doc/Makefile.in: Regenerate.
3204         * include/Makefile.in: Regenerate.
3205         * libsupc++/Makefile.in: Regenerate.
3206         * po/Makefile.in: Regenerate.
3207         * python/Makefile.in: Regenerate.
3208         * src/Makefile.in: Regenerate.
3209         * testsuite/Makefile.in: Regenerate.
3210
3211 2010-05-01  Jonathan Wakely  <jwakely.gcc@gmail.com>
3212
3213         * doc/xml/faq.xml: Fix anachronisms.
3214         * doc/xml/manual/intro.xml (Make): Tweak grammar and whitespace.
3215         * doc/xml/manual/support.xml (NULL): Use inline <code> element
3216         instead of <programlisting> block.
3217         * doc/html/*: Regenerate.
3218
3219 2010-04-30  Paolo Carlini  <paolo.carlini@oracle.com>
3220
3221         * include/bits/stl_pair.h (piecewise_construct_t,<