OSDN Git Service

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