OSDN Git Service

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