OSDN Git Service

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