OSDN Git Service

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