OSDN Git Service

2009-12-10 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2009-12-10  Paolo Carlini  <paolo.carlini@oracle.com>
2
3         Revert:
4         2009-12-03  Paolo Carlini  <paolo.carlini@oracle.com>
5
6         PR libstdc++/42261
7         * include/bits/basic_string.h (_S_construct_aux(_Integer, _Integer,
8         const _Alloc&, __true_type)): Cast the second argument to value_type.
9         * include/ext/sso_string_base.h (_M_construct_aux(_Integer, _Integer,
10         std::__true_type)): Likewise.
11         * include/ext/rc_string_base.h (_S_construct_aux(_Integer, _Integer,
12         const _Alloc&, std::__true_type)): Likewise.
13         * testsuite/21_strings/basic_string/cons/char/42261.cc: New.
14         * testsuite/21_strings/basic_string/cons/wchar_t/42261.cc: Likewise.
15
16 2009-12-10  Paolo Carlini  <paolo.carlini@oracle.com>
17
18         * testsuite/util/testsuite_containers.h (populate<>::populate(_Tp&)):
19         Avoid used uninitialized warning.
20         * include/ext/pb_ds/detail/cc_hash_table_map_/
21         constructor_destructor_fn_imps.hpp: Fix typo causing sequence point
22         warning.
23
24 2009-12-09  Benjamin Kosnik  <bkoz@redhat.com>
25
26         * include/profile/impl/profiler_container_size.h: Fix include
27         guard, formatting fixes.
28         * include/profile/impl/profiler_vector_size.h: Same.
29         * include/profile/impl/profiler_hash_func.h: Same.
30         * include/profile/impl/profiler_trace.h: Same.
31         * include/profile/impl/profiler_vector_to_list.h: Same.
32         * include/profile/impl/profiler.h: Same.
33         * include/profile/impl/profiler_state.h: Same.
34         * include/profile/impl/profiler_map_to_unordered_map.h: Same.
35         * include/profile/impl/profiler_hashtable_size.h: Same.
36         * include/profile/impl/profiler_node.h: Same.
37
38 2009-12-09  Roman Odaisky  <to.roma.from.bugcc@qwertty.com>
39
40         PR libstdc++/42273
41         * include/bits/atomic_2.h: Fix typo.
42
43 2009-12-07  Paolo Carlini  <paolo.carlini@oracle.com>
44
45         PR libstdc++/42319
46         * include/parallel/losertree.h: Include bits/stl_function.h instead
47         of the whole <functional>.
48         * include/parallel/base.h: Likewise.
49         * include/parallel/numeric: Likewise.
50         * include/parallel/balanced_quicksort.h: Likewise.
51         * include/parallel/checkers.h: Likewise.
52         * testsuite/17_intro/headers/c++200x/42319.cc: New.
53
54 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
55
56         * Makefile.in: Regenerate.
57         * configure: Regenerate.
58         * doc/Makefile.in: Regenerate.
59         * include/Makefile.in: Regenerate.
60         * libsupc++/Makefile.in: Regenerate.
61         * po/Makefile.in: Regenerate.
62         * python/Makefile.in: Regenerate.
63         * src/Makefile.in: Regenerate.
64         * testsuite/Makefile.in: Regenerate.
65
66 2009-12-05  Dave Korn  <dave.korn.cygwin@gmail.com>
67
68         * config/os/hpux/os_defines.h (_GLIBCXX_PSEUDO_VISIBILITY): Provide
69         empty definition.
70
71 2009-12-03  Paolo Carlini  <paolo.carlini@oracle.com>
72
73         PR libstdc++/42261
74         * include/bits/basic_string.h (_S_construct_aux(_Integer, _Integer,
75         const _Alloc&, __true_type)): Cast the second argument to value_type.
76         * include/ext/sso_string_base.h (_M_construct_aux(_Integer, _Integer,
77         std::__true_type)): Likewise.
78         * include/ext/rc_string_base.h (_S_construct_aux(_Integer, _Integer,
79         const _Alloc&, std::__true_type)): Likewise.
80         * testsuite/21_strings/basic_string/cons/char/42261.cc: New.
81         * testsuite/21_strings/basic_string/cons/wchar_t/42261.cc: Likewise.
82
83 2009-12-03  Paolo Carlini  <paolo.carlini@oracle.com>
84
85         * testsuite/20_util/bind/ref.cc: Add.
86         * testsuite/20_util/bind/all_bound.cc: Likewise.
87         * testsuite/20_util/bind/nested.cc: Likewise.
88         * testsuite/20_util/bind/placeholders.cc: Likewise.
89
90 2009-12-03  Hans-Peter Nilsson  <hp@axis.com>
91
92         * testsuite/ext/profile/mutex_extensions.cc: Adjust dg-error line
93         number.
94
95 2009-11-30  Dave Korn  <dave.korn.cygwin@gmail.com>
96
97         * testsuite/lib/libstdc++.exp (libstdc++_init): Add host-dependent
98         settings for LC_ALL and LANG.
99
100 2009-11-30  Dave Korn  <dave.korn.cygwin@gmail.com>
101
102         * libstdc++-v3/acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Don't disable
103         on PE targets.
104         * libstdc++-v3/configure: Regenerate.
105         * libstdc++-v3/configure.host: Add libtool DLL options for Cygwin
106         and MinGW platforms.
107
108         * libstdc++-v3/include/bits/c++config (_GLIBCXX_VISIBILITY_ATTR): On
109         platforms that don't support visibility, allow them to declare a macro
110         _GLIBCXX_PSEUDO_VISIBILITY that is applied in place of visibility.
111         (_GLIBCXX_PSEUDO_VISIBILITY): Supply empty default if not declared by
112         CPU- or OS-specific headers.
113
114         * libstdc++-v3/config/os/newlib/os_defines.h
115         (_GLIBCXX_PSEUDO_VISIBILITY_default): New macro for dllimport.
116         (_GLIBCXX_PSEUDO_VISIBILITY_hidden): New empty macro.
117         (_GLIBCXX_PSEUDO_VISIBILITY): Evaluate to one of the above.
118         * libstdc++-v3/config/os/mingw32/os_defines.h
119         (_GLIBCXX_PSEUDO_VISIBILITY_default,
120         _GLIBCXX_PSEUDO_VISIBILITY_hidden,
121         _GLIBCXX_PSEUDO_VISIBILITY): Likewise.
122
123 2009-11-30  Paolo Carlini  <paolo.carlini@oracle.com>
124
125         * include/tr1_impl/functional: Remove file, copy its contents,
126         trivially adjusted...
127         * include/std/functional: ... here, and...
128         * include/tr1/functional: ... here.
129         * include/Makefile.am: Adjust.
130         * include/Makefile.in: Regenerate.
131
132 2009-11-30  Jonathan Wakely  <jwakely.gcc@gmail.com>
133
134         * include/tr1_impl/functional (function): Add rvalue support and
135         tweak doxygen markup.
136         * testsuite/20_util/function/assign/move.cc: New.
137         * testsuite/20_util/function/cons/move.cc: New.
138         * testsuite/20_util/function/invoke/move_only.cc: New.
139         * testsuite/20_util/function/cmp/cmp_neg.cc: New.
140         * testsuite/20_util/function/1.cc: Copy from testsuite/tr1/.
141         * testsuite/20_util/function/2.cc: Likewise.
142         * testsuite/20_util/function/3.cc: Likewise.
143         * testsuite/20_util/function/4.cc: Likewise.
144         * testsuite/20_util/function/5.cc: Likewise.
145         * testsuite/20_util/function/6.cc: Likewise.
146         * testsuite/20_util/function/7.cc: Likewise.
147         * testsuite/20_util/function/8.cc: Likewise.
148         * testsuite/20_util/function/9.cc: Likewise.
149
150 2009-11-29  Jonathan Wakely  <jwakely.gcc@gmail.com>
151
152         * doc/doxygen/user.cfg.in: Add __GXX_RTTI to PREDEFINED macros.
153
154 2009-11-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
155
156         PR libstdc++/42019
157         * include/tr1/shared_ptr.h: Only use typeid when RTTI is enabled.
158         * include/bits/shared_ptr_base.h: Likewise.
159         * include/bits/shared_ptr.h: Likewise.
160         * testsuite/tr1/2_general_utilities/shared_ptr/misc/42019.cc: New.
161         * testsuite/20_util/shared_ptr/misc/42019.cc: New.
162
163 2009-11-20  Paolo Carlini  <paolo.carlini@oracle.com>
164
165         * src/compatibility-c++0x.cc (_Fnv_hash<4>, _Fnv_hash<8>): Add.
166
167 2009-11-19  Benjamin Kosnik  <bkoz@redhat.com>
168
169         * src/pool_allocator.cc: Adjust catch blocks.
170         * src/bitmap_allocator.cc: Same.
171         * src/localename.cc: Same.
172         * src/ios.cc: Same.
173
174         * libsupc++/cxxabi-forced.h: Adjust comments, markup.
175
176         * testsuite/util/testsuite_hooks.h (copy_constructor::copyCount):
177         Remove.
178         (copy_constructor::dtorCount): Remove.
179         * testsuite/23_containers/list/modifiers/1.h: Adjust.
180         * testsuite/23_containers/list/modifiers/2.h: Same.
181         * testsuite/23_containers/list/modifiers/3.h: Same.
182
183 2009-11-19  Paolo Carlini  <paolo.carlini@oracle.com>
184
185         PR libstdc++/41622
186         * include/bits/functional_hash.h: Implement inline the various
187         std::hash specializations, using, when appropriate, pass by
188         const ref too, per DR 1245.
189         * include/tr1_impl/functional_hash.h: Remove, move its contents...
190         * include/tr1/functional_hash.h: ... here.
191         * include/std/functional: Tweak includes.
192         * src/hash_c++0x: Rename to...
193         * src/compatibility-c++0x.cc: ... this, implementing compatibility
194         std::hash<>::operator() specializations.
195         * src/hash.cc: Do not mark specializations as throw().
196         * src/Makefile.am: Adjust.
197         * include/Makefile.am: Likewise.
198         * src/Makefile.in: Regenerate.
199         * include/Makefile.in: Likewise.
200         * testsuite/util/testsuite_api.h: Define a dummy hash for
201         NonDefaultConstructible.
202         * testsuite/23_containers/unordered_map/requirements/
203         explicit_instantiation/2.cc: Use it.
204         * testsuite/23_containers/unordered_multimap/requirements/
205         explicit_instantiation/2.cc: Likewise.
206         * testsuite/23_containers/unordered_set/requirements/
207         explicit_instantiation/2.cc: Likewise.
208         * testsuite/23_containers/unordered_multiset/requirements/
209         explicit_instantiation/2.cc: Likewise.
210
211 2009-11-19  Johannes Singler  <singler@kit.edu>
212
213         * include/parallel/partition.h (__parallel_partition): Correctly
214         initialize chunk size.
215         (__parallel_nth_element): Respect nth_element_minimal_n.  Use
216         sequential nth_element as base case, instead of sequential sort.
217
218 2009-11-17  Benjamin Kosnik  <bkoz@redhat.com>
219
220         * include/profile/impl/profiler.h: Remove namespace markup.
221
222 2009-11-17  Benjamin Kosnik  <bkoz@redhat.com>
223
224         * include/profile/bitset: Tweak doxygen markup.
225         * include/profile/deque: Same.
226         * include/profile/list: Same.
227         * include/profile/map.h: Same.
228         * include/profile/multimap.h: Same.
229         * include/profile/multiset.h: Same.
230         * include/profile/set.h: Same.
231         * include/profile/unordered_map: Same.
232         * include/profile/vector: Same.
233
234         * include/profile/impl/profiler_container_size.h: Use namespace
235         __gnu_profile instead of __cxxprof_impl.
236         * include/profile/impl/profiler.h: Same.
237         (_GLIBCXX_PROFILE_IMPL_REENTRANCE_GUARD): To
238         _GLIBCXX_PROFILE_REENTRANCE_GUARD.
239         Remove namespace __cxxprof_guard.
240         (__reentrance_guard): De-templatize.
241         (__reentrance_guard::__inside_cxxprof_impl): To
242         __reentrance_guard::_S_get_in.
243
244         * include/profile/impl/profiler_hash_func.h: Use namespace
245         __gnu_profile instead of __cxxprof_impl.
246         * include/profile/impl/profiler_hashtable_size.h: Same.
247         * include/profile/impl/profiler_map_to_unordered_map.h: Same.
248         * include/profile/impl/profiler_node.h: Same.
249         * include/profile/impl/profiler_state.h: Same.
250         * include/profile/impl/profiler_trace.h: Same.
251         * include/profile/impl/profiler_vector_size.h: Same.
252         * include/profile/impl/profiler_vector_to_list.h: Same.
253         * doc/xml/manual/profile_mode.xml: Update.
254
255 2009-11-17  Benjamin Kosnik  <bkoz@redhat.com>
256
257         * include/debug/bitset: Add doxygen markup.
258         * include/debug/deque: Same.
259         * include/debug/list: Same.
260         * include/debug/map.h: Same.
261         * include/debug/multimap.h: Same.
262         * include/debug/set.h: Same.
263         * include/debug/multiset.h: Same.
264         * include/debug/unordered_map: Same.
265         * include/debug/unordered_set: Same.
266         * include/debug/string: Same.
267         * include/debug/vector: Same.
268
269 2009-11-15  Steve Ward  <planet36@gmail.com>
270
271         * libsupc++/cxxabi.h (__cxa_demangle): Fix typo in comment.
272
273 2009-11-13  Paolo Carlini  <paolo.carlini@oracle.com>
274
275         * include/bits/forward_list.h (forward_list<>::erase_after):
276         Change signature per N2988, return void; simplify.
277         (_Fwd_list_base<>::_M_erase_after): Likewise return void.
278         (forward_list<>::~forward_list): Do not call _M_erase_after
279         unnecessarily, the base class destructor already does it.
280         (forward_list<>::splice_after(const_iterator position,
281         forward_list&&, const_iterator i): Check position != i and
282         position != ++i.
283         * include/bits/forward_list.tcc (_Fwd_list_base<>::
284         _M_erase_after(typename _Node_base::_Pointer): Simplify.
285         (_Fwd_list_base<>::_M_erase_after(typename _Node_base::_Pointer,
286         typename _Node_base::_Pointer): Fix (remove the correct range
287         of element) and simplify (update __pos->_M_next at the end).
288         * testsuite/23_containers/forward_list/modifiers/3.cc: Adjust
289         and extend.
290         * testsuite/23_containers/forward_list/ext_pointer/
291         modifiers/3.cc: Likewise.
292         * testsuite/23_containers/forward_list/requirements/dr438/
293         assign_neg.cc: Tweak dg-error line numbers.
294         * testsuite/23_containers/forward_list/requirements/dr438/
295         insert_neg.cc: Likewise.
296         * testsuite/23_containers/forward_list/requirements/dr438/
297         constructor_1_neg.cc: Likewise.
298         * testsuite/23_containers/forward_list/requirements/dr438/
299         constructor_2_neg.cc: Likewise.
300
301 2009-11-13  Paolo Carlini  <paolo.carlini@oracle.com>
302
303         * include/std/algorithm: Include <utility>, per UK-300.
304         * include/bits/stl_algobase.h: Don't do it here.
305
306 2009-11-12  Paolo Carlini  <paolo.carlini@oracle.com>
307
308         * include/std/type_traits (declval): Add, per DR 1255.
309         (__is_convertible_helper, common_type): Use it.
310         * include/bits/move.h: Mention std::declval.
311         * testsuite/20_util/declval/requirements/1.cc: New.
312         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
313         * testsuite/20_util/common_type/requirements/typedefs-2.cc: Likewise.
314         * testsuite/20_util/common_type/requirements/
315         explicit_instantiation.cc: Extend.
316         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
317         dg-error line numbers.
318         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
319         Likewise.
320
321 2009-11-12  Paolo Carlini  <paolo.carlini@oracle.com>
322
323         * include/bits/stl_algobase.h: Include the full <utility>, per
324         UK-300.
325         * include/bits/stl_algo.h: Tweak includes.
326
327 2009-11-11  Jason Merrill  <jason@redhat.com>
328
329         * testsuite/Makefile.am: Remove use of baseline_file.
330         * testsuite/Makefile.in: Likewise.
331
332         PR c++/39131
333         * config/abi/pre/gnu.ver: Add DFP types.
334         * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.4.
335
336 2009-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
337
338         * include/bits/basic_string.h (to_string(int), to_string(unsigned),
339         to_string(long), to_string(unsigned long), to_string(float),
340         to_string(double), to_wstring(int), to_wstring(unsigned),
341         to_wstring(long), to_wstring(unsigned long), to_wstring(float),
342         to_wstring(double)): Add, per resolution of DR 1261.
343         * include/ext/vstring.h: Likewise.
344         * testsuite/21_strings/basic_string/numeric_conversions/char/
345         dr1261.cc: Add.
346         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
347         dr1261.cc: Likewise.
348
349 2009-11-09  Benjamin Kosnik  <bkoz@redhat.com>
350
351         * doc/doxygen/user.cfg.in: Regenerate, add files.
352         * libsupc++/eh_ptr.cc: Format.
353         * libsupc++/exception_ptr.h: Same.
354         * libsupc++/cxxabi.h(recursive_init_error): Move declaration here.
355         * libsupc++/guard.cc: From here.
356         * libsupc++/nested_exception.h: Add markup.
357
358 2009-11-09  Johannes Singler  <singler@kit.edu>
359
360         * include/parallel/multiway_merge.h (multiway_merge_*,
361         __sequential_multiway_merge, parallel_multiway_merge): Replace
362         int by appropriate difference_type (typedef to _SeqNumber) or
363         _ThreadIndex.
364         * include/parallel/multiseq_selection.h (multiseq_partition,
365         multiseq_selection): Replace int by appropriate difference_type
366         (typedef to _SeqNumber)
367         * include/parallel/base.h (__get_max_threads): Replace int by
368         _ThreadIndex.
369         * include/parallel/balanced_quicksort.h
370         (__qsb_local_sort_with_helping, __parallel_sort_qsb): Likewise.
371         * include/parallel/set_operations.h (__parallel_set_operation):
372         Likewise.
373         * include/parallel/unique_copy.h (__parallel_unique_copy): Likewise.
374         * include/parallel/multiway_mergesort.h (_SplitConsistently,
375         parallel_sort_mwms_pu, parallel_sort_mwms): Likewise.
376         * include/parallel/partial_sum.h (__parallel_partial_sum_linear):
377         Likewise.
378         * include/parallel/partition.h (__parallel_partition): Replace int
379         by appropriate difference_type or _ThreadIndex.
380
381 2009-11-08  Jason Merrill  <jason@redhat.com>
382
383         * include/ext/sso_string_base.h (_M_mutate): Remove extra 'const'.
384
385 2009-11-06  Benjamin Kosnik  <bkoz@redhat.com>
386
387         * doc/doxygen/user.cfg.in: Adjust includes.
388
389         * doc/doxygen/doxygroups.cc: Move group markup.
390         * include/tr1_impl/regex: Change " to '. Add group markup.
391         * include/std/utility: Same.
392         * include/std/type_traits: Same.
393         * include/std/streambuf: Same.
394         * include/std/iosfwd: Same.
395         * include/std/limits: Same.
396         * include/std/sstream: Same.
397         * include/profile/impl/profiler_state.h: Same.
398         * include/profile/impl/profiler_hashtable_size.h: Same.
399         * include/bits/stl_algobase.h: Same.
400         * include/bits/stl_iterator_base_types.h: Same.
401         * include/bits/stream_iterator.h: Same.
402         * include/bits/stl_iterator.h: Same.
403         * include/bits/stl_tempbuf.h: Same.
404         * include/bits/streambuf_iterator.h: Same.
405         * libsupc++/exception: Same.
406         * libsupc++/cxxabi.h: Same.
407         * include/tr1_impl/type_traits: Same.
408
409         * include/parallel/multiway_merge.h: Change @__c to @c, @__f to @f.
410         * include/parallel/list_partition.h: Same.
411         * include/parallel/for_each.h: Same.
412         * include/parallel/workstealing.h: Same.
413         * include/parallel/base.h: Same.
414         * include/parallel/equally_split.h: Same.
415         * include/parallel/random_shuffle.h: Same.
416         * include/parallel/balanced_quicksort.h: Same.
417         * include/parallel/merge.h: Same.
418         * include/parallel/multiway_mergesort.h: Same.
419         * include/parallel/compatibility.h: Same.
420         * include/parallel/queue.h: Same.
421         * include/parallel/checkers.h: Same.
422         * include/parallel/random_number.h: Same.
423
424
425         * include/c_global/csignal: Change # to \#.
426         * include/c_global/cstdlib: Same.
427         * include/c_global/cstdio: Same.
428         * include/c_global/cstdarg: Same.
429         * include/c_global/cctype: Same.
430         * include/c_global/cerrno: Same.
431         * include/c_global/cstdatomic: Same.
432         * include/c_global/cmath: Same.
433         * include/c_global/ciso646: Same.
434         * include/c_global/ctime: Same.
435         * include/c_global/clocale: Same.
436         * include/c_global/climits: Same.
437         * include/c_global/cassert: Same.
438         * include/c_global/csetjmp: Same.
439         * include/c_global/cwchar: Same.
440         * include/c_global/cfloat: Same.
441         * include/c_global/cstring: Same.
442         * include/c_global/cstddef: Same.
443         * include/c_global/cwctype: Same.
444
445         * include/std/memory: Only dance around boost_sp_counted_base.h.
446         * include/tr1_impl/boost_sp_counted_base.h: Add markup.
447         * include/tr1/shared_ptr.h: Strip markup.
448         * include/bits/shared_ptr.h: Move base types...
449         * include/bits/shared_ptr_base.h: ...here.
450         * include/Makefile.am: Add.
451         * include/Makefile.in: Regenerate.
452         * configure: Same.
453         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
454         Adjust line numbers.
455         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
456
457 2009-11-06  Paolo Carlini  <paolo.carlini@oracle.com>
458
459         * include/parallel/multiway_merge.h: Simple formatting and
460         uglification fixes.
461         * include/parallel/find_selectors.h: Likewise.
462         * include/parallel/losertree.h: Likewise.
463         * include/parallel/list_partition.h: Likewise.
464         * include/parallel/for_each.h: Likewise.
465         * include/parallel/multiseq_selection.h: Likewise.
466         * include/parallel/workstealing.h: Likewise.
467         * include/parallel/par_loop.h: Likewise.
468         * include/parallel/numeric: Likewise.
469         * include/parallel/quicksort.h: Likewise.
470         * include/parallel/equally_split.h: Likewise.
471         * include/parallel/omp_loop_static.h: Likewise.
472         * include/parallel/random_shuffle.h: Likewise.
473         * include/parallel/balanced_quicksort.h: Likewise.
474         * include/parallel/tags.h: Likewise.
475         * include/parallel/set_operations.h: Likewise.
476         * include/parallel/merge.h: Likewise.
477         * include/parallel/unique_copy.h: Likewise.
478         * include/parallel/multiway_mergesort.h: Likewise.
479         * include/parallel/search.h: Likewise.
480         * include/parallel/partition.h: Likewise.
481         * include/parallel/partial_sum.h: Likewise.
482         * include/parallel/find.h: Likewise.
483         * include/parallel/queue.h: Likewise.
484         * include/parallel/omp_loop.h: Likewise.
485         * include/parallel/checkers.h: Likewise.
486         * include/parallel/sort.h: Likewise.
487
488 2009-11-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
489
490         PR libstdc++/41949
491         * include/std/ostream: Adjust link.
492
493 2009-11-05  Paolo Carlini  <paolo.carlini@oracle.com>
494
495         * include/parallel/multiway_merge.h: Simple formatting and
496         uglification fixes.
497         * include/parallel/losertree.h: Likewise.
498         * include/parallel/base.h: Likewise.
499         * include/parallel/par_loop.h: Likewise.
500         * include/parallel/omp_loop_static.h: Likewise.
501         * include/parallel/multiway_mergesort.h: Likewise.
502         * include/parallel/partial_sum.h: Likewise.
503         * include/parallel/omp_loop.h: Likewise.
504
505 2009-11-04  Benjamin Kosnik  <bkoz@redhat.com>
506
507         * testsuite/25_algorithms/fill/5.cc: Move...
508         * testsuite/25_algorithms/fill_n/1.cc: ...here.
509
510 2009-11-04  Paolo Carlini  <paolo.carlini@oracle.com>
511
512         * include/parallel/multiway_merge.h: Simple formatting and
513         uglification fixes.
514         * include/parallel/losertree.h: Likewise.
515
516 2009-11-03  David Krauss  <potswa@mac.com>
517             Paolo Carlini  <paolo.carlini@oracle.com>
518
519         PR libstdc++/41351
520         * include/bits/stl_algo.h (__rotate(_RandomAccessIterator,
521         _RandomAccessIterator, _RandomAccessIterator,
522         random_access_iterator_tag)): Rewrite to use only std::swap in
523         general and std::copy/std::copy_backward when safe.
524
525 2009-11-02  Benjamin Kosnik  <bkoz@redhat.com>
526
527         * include/std/future: Use base class with nested types.
528         (__future_base): New.
529         (__future_base::_Result_base): From _Future_result_base.
530         (__future_base::_Result): From _Future_result.
531         (__future_base::_Move_result): From _Move_future_result.
532         (__future_base::_Ptr): From _Future_ptr.
533         (__future_base::_State): From _Future_state.
534         (__basic_future): From _Future_impl.
535         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust line
536         numbers.
537         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Same.
538         * testsuite/30_threads/shared_future/cons/assign_neg.cc: Same.
539         * testsuite/30_threads/unique_future/cons/assign_neg.cc: Same.
540         * testsuite/30_threads/unique_future/cons/copy_neg.cc: Same.
541         * testsuite/30_threads/promise/cons/assign_neg.cc: Same.
542         * testsuite/30_threads/promise/cons/copy_neg.cc: Same.
543
544 2009-10-31  Paolo Carlini  <paolo.carlini@oracle.com>
545
546         * include/std/chrono (struct __common_rep_type): New.
547         (duration_cast(const duration<>&),
548         duration<>::duration(const _Rep2&),
549         duration<>::duration(const duration<>&),
550         operator*(const duration<>&, const _Rep2&),
551         operator*(const _Rep1&, const duration<>&),
552         operator/(const duration<>&, const _Rep2&),
553         time_point_cast(const time_point<>&)): Implement resolution of
554         DR 1177 ([Ready] in Santa Cruz), change to not participate to
555         overload resolution if the constraints are not met.
556         * testsuite/20_util/duration/cons/1_neg.cc: Adjust dg-errors.
557         * testsuite/20_util/duration/cons/dr974.cc: Likewise.
558         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust
559         dg-error line numbers.
560         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
561         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
562
563 2009-10-31  Gerald Pfeifer  <gerald@pfeifer.com>
564
565         * doc/xml/manual/intro.xml: Refer to our bugs page instead of
566         Bugzilla directly.
567
568 2009-10-30  Jerry Quinn  <jlquinn@optonline.net>
569
570         * libsupc++/tinfo.cc (operator=(const type_info&)): Reapply 153734.
571         * libsupc++/typeinfo (type_info::name()): Likewise.
572         * libsupc++/tinfo2.cc (before):  Likewise.
573
574 2009-10-30  Paolo Carlini  <paolo.carlini@oracle.com>
575
576         * include/bits/random.h: Fix typo in static_assert text.
577
578 2009-10-30  Paolo Carlini  <paolo.carlini@oracle.com>
579
580         PR libstdc++/41759
581         * include/bits/random.h: Tweak a bit the text of some static_asserts.
582
583 2009-10-30  Paolo Carlini  <paolo.carlini@oracle.com>
584
585         * include/std/type_traits (__is_convertible_simple): Remove.
586         (__is_convertible_helper): Adjust.
587         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
588         dg-error line numbers.
589         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
590         Likewise.
591
592 2009-10-30  Jerry Quinn  <jlquinn@optonline.net>
593
594         * libsupc++/tinfo.cc (operator=(const type_info&)): Revert 153734.
595         * libsupc++/typeinfo (type_info::name()): Likewise.
596         * libsupc++/tinfo2.cc (before):  Likewise.
597
598 2009-10-28  Jerry Quinn  <jlquinn@optonline.net>
599
600         * libsupc++/tinfo.cc (operator=(const type_info&)): Compare by
601         pointer if name begins with '*'.
602         * libsupc++/typeinfo (type_info::name()): Likewise.
603         * libsupc++/tinfo2.cc (before):  Likewise.
604
605 2009-10-29  Paolo Carlini  <paolo.carlini@oracle.com>
606             Douglas Gregor  <doug.gregor@gmail.com>
607
608         PR libstdc++/40925 (again)
609         * include/bits/stl_pair.h (pair<_T1, _T2>::pair(_U1&&, const _T2&),
610         pair<_T1, _T2>::pair(const _T1&, _U2&&)): Add, to deal correctly
611         with move-only types in the presence of "null pointers".
612         * testsuite/20_util/pair/40925.cc: Extend.
613
614 2009-10-29  Paolo Carlini  <paolo.carlini@oracle.com>
615
616         * include/std/type_traits (__is_int_or_cref): Remove.
617         (__is_convertible_helper): Fix per C++0x and simplify (the hack to
618         suppress warnings isn't necessary anymore).
619         * testsuite/20_util/is_convertible/requirements/typedefs.cc: New.
620         * testsuite/20_util/is_convertible/requirements/
621         explicit_instantiation.cc: Likewise.
622         * testsuite/20_util/is_convertible/value.cc: Likewise.
623         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
624         dg-error line numbers.
625         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
626         Likewise.
627
628 2009-10-29  Paolo Carlini  <paolo.carlini@oracle.com>
629
630         * testsuite/20_util/pair/40925.cc: Minor comment fix.
631
632 2009-10-29  Paolo Carlini  <paolo.carlini@oracle.com>
633
634         PR libstdc++/40925
635         * include/bits/stl_pair.h (pair<_T1, _T2>::pair(_U1&&, _U2&&)):
636         Use enable_if to remove it from the overload set when either _U1
637         is not convertible to _T1 or _U2 is not convertible to _T2.
638         (pair<>::pair(_U1&&, _Arg0&&, _Args&&...)): Remove.
639
640 2009-10-29  Douglas Gregor  <doug.gregor@gmail.com>
641
642         PR libstdc++/40925
643         * testsuite/20_util/pair/40925.cc: Add.
644
645 2009-10-29  Paolo Carlini  <paolo.carlini@oracle.com>
646
647         * include/decimal/decimal: Minor formatting and uglification fixes.
648         * include/decimal/decimal.h: Likewise.
649
650 2009-10-28  Paolo Carlini  <paolo.carlini@oracle.com>
651
652         * include/bits/stl_iterator_base_funcs.h: (next): Change
653         template parameter name consistently with the resolution
654         of DR 1011 ([Ready] in Santa Cruz).
655
656 2009-10-28  Johannes Singler  <singler@kit.edu>
657
658         PR libstdc++/40852
659         * include/parallel/multiseq_selection.h
660         (multiseq_partition, multiseq_selection):  Avoid intermediate
661         values exceeding the integer type range for very large inputs.
662
663 2009-10-26  Paolo Carlini  <paolo.carlini@oracle.com>
664
665         * include/std/chrono (duration<>::duration(const duration<>&)): Fix
666         per the straightforward resolution of DR 974.
667         * testsuite/20_util/duration/cons/dr974.cc: Add.
668
669 2009-10-26  Jakub Jelinek  <jakub@redhat.com>
670
671         PR libstdc++/38923
672         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Avoid using too many
673         *s.  Accept ld version without text in ()s.
674         * configure: Regenerated.
675
676 2009-10-26  Jason Merrill  <jason@redhat.com>
677
678         Core issue 906
679         * include/std/future (~Future_result_base): Default outside class
680         body.
681         * include/std/system_error (error_category()): Likewise.
682         * libsupc++/nested_exception.h (nested_exception): Remove
683         exception specifications from defaulted methods.
684
685 009-10-20  Paolo Carlini  <paolo.carlini@oracle.com>
686
687         PR libstdc++/41773
688         Revert:
689         2009-10-20  Paolo Carlini  <paolo.carlini@oracle.com>
690
691         * include/bits/basic_string.h (_S_construct(const _CharT*, size_type,
692         const _Alloc&)): New, declare.
693         (_S_construct(_CharT*, _CharT*, const _Alloc&),
694         _S_construct(const _CharT*, const _CharT*, const _Alloc&),
695         _S_construct(iterator, iterator, const _Alloc&),
696         _S_construct(const_iterator, const_iterator, const _Alloc&)): New,
697         forward to the latter.
698         * include/bits/basic_string.tcc (_S_construct(const _CharT*,
699         size_type, const _Alloc&)): Define.
700         (basic_string(const basic_string&, size_type, size_type),
701         basic_string(const basic_string&, size_type, size_type,
702         const _Alloc&), basic_string(const _CharT*, size_type,
703         const _Alloc&), basic_string(const _CharT*, const _Alloc&),
704         basic_string(initializer_list<>, const _Alloc&)): Call the latter.
705         * config/abi/pre/gnu.ver: Remove recently added exports.
706         * src/string-inst.cc: Remove instantiations.
707
708 2009-10-20  Paolo Carlini  <paolo.carlini@oracle.com>
709
710         PR libstdc++/41763
711         * include/bits/valarray_array.h (__valarray_default_construct,
712         __valarray_fill_construct, __valarray_copy_construct, __valarray_sum
713         __valarray_destroy_elements, __valarray_product): Do not qualify with
714         __restrict__ pointers accessing data also accessed by other pointers.
715
716 2009-10-20  Paolo Carlini  <paolo.carlini@oracle.com>
717
718         * include/bits/basic_string.h (_S_construct(const _CharT*, size_type,
719         const _Alloc&)): New, declare.
720         (_S_construct(_CharT*, _CharT*, const _Alloc&),
721         _S_construct(const _CharT*, const _CharT*, const _Alloc&),
722         _S_construct(iterator, iterator, const _Alloc&),
723         _S_construct(const_iterator, const_iterator, const _Alloc&)): New,
724         forward to the latter.
725         * include/bits/basic_string.tcc (_S_construct(const _CharT*,
726         size_type, const _Alloc&)): Define.
727         (basic_string(const basic_string&, size_type, size_type),
728         basic_string(const basic_string&, size_type, size_type,
729         const _Alloc&), basic_string(const _CharT*, size_type,
730         const _Alloc&), basic_string(const _CharT*, const _Alloc&),
731         basic_string(initializer_list<>, const _Alloc&)): Call the latter.
732         * config/abi/pre/gnu.ver: Remove recently added exports.
733         * src/string-inst.cc: Remove instantiations.
734
735 2009-10-15  Phil Muldoon <pmuldoon@redhat.com>
736
737         * python/libstdcxx/v6/printers.py (StdTuplePrinter): New printer.
738         (build_libstdcxx_dictionary): Add StdTuplePrinter registration.
739
740 2009-10-16  Benjamin Kosnik  <bkoz@redhat.com>
741
742         * include/c_compatibility/stdatomic.h: Include cstdatomic if
743         __cplusplus.
744
745 2009-10-15  Benjamin Kosnik  <bkoz@redhat.com>
746
747         PR libstdc++/40654
748         PR libstdc++/40826
749         * src/atomic.cc (atomic_flag_test_and_set_explicit): Add
750         static_cast from base to derived.
751         (atomic_flag_clear_explicit): Same.
752         * include/bits/atomic_2.h (__atomic2::atomic_flag): Public derivation.
753         Remove value type constructor.
754         * include/bits/atomic_0.h (__atomic0::atomic_flag): Same.
755         * include/std/future (_Future_state): Use ATOMIC_FLAG_INIT to
756         initialized the atomic_flag member.
757
758 2009-10-14  Benjamin Kosnik  <bkoz@redhat.com>
759
760         * doc/xml/authors.xml: Update.
761         * doc/xml/manual/intro.xml: Move test section...
762         * doc/xml/manual/appendix_porting.xml: ...here.
763         * doc/xml/manual/diagnostics.xml: Edit.
764         * doc/xml/manual/using.xml: Break out exception section.
765         * doc/xml/manual/using_exceptions.xml: New.
766         * doc/html: Regenerate.
767
768 2009-10-14  Paolo Carlini  <paolo.carlini@oracle.com>
769
770         * config/abi/pre/gnu.ver: Export the _S_construct<> helpers.
771
772 2009-10-14  Paolo Carlini  <paolo.carlini@oracle.com>
773
774         * include/bits/basic_string.h (operator+=(initializer_list<>),
775         append(initializer_list<>)): Forward to the append overload taking
776         a const CharT* pointer and a size, thus avoiding instantiating
777         unnecessarily in the built library the overload taking a pair of
778         iterators.
779         (operator=(initializer_list<>), assign(initializer_list<>)): Likewise
780         for assign.
781         (insert(iterator, initializer_list<>): Likewise for insert.
782
783 2009-10-14  Paolo Carlini  <paolo.carlini@oracle.com>
784
785         * include/bits/c++config: Do not disable extern templates for string
786         in plain parallel-mode and in profile-mode; add comment explaining
787         _GLIBCXX_EXTERN_TEMPLATE == -1.
788         * testsuite/ext/profile/mutex_extensions.cc: Adjust dg-error line.
789
790 2009-10-14  Jason Merrill  <jason@redhat.com>
791
792         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust expected.
793
794 2009-10-13  Paolo Carlini  <paolo.carlini@oracle.com>
795
796         * include/parallel/for_each_selectors.h: Minor uglification and
797         stylistic fixes.
798
799 2009-10-13  Edward Smith-Rowland  <3dw4rd@verizon.net>
800
801         * include/precompiled/stdc++.h: Include <initializer_list>
802         for completeness.
803
804 2009-10-12  Paolo Carlini  <paolo.carlini@oracle.com>
805
806         * include/bits/random.h (class linear_congruential_engine,
807         class mersenne_twister_engine, class subtract_with_carry_engine,
808         class discard_block_engine, class independent_bits_engine,
809         class shuffle_order_engine, class uniform_int_distribution,
810         class binomial_distribution, class geometric_distribution,
811         class negative_binomial_distribution, class poisson_distribution,
812         class discrete_distribution): Do not use simulated concept checks,
813         tidy startic_asserts on argument types and ranges.
814         (class uniform_real_distribution, class normal_distribution,
815         class lognormal_distribution, class gamma_distribution,
816         class chi_squared_distribution, class cauchy_distribution,
817         class fisher_f_distribution, class student_t_distribution,
818         class exponential_distribution, class weibull_distribution,
819         class extreme_value_distribution, class piecewise_linear_distribution,
820         class piecewise_constant_distribution): Add static_assert on
821         template argument type.
822         * include/std/random: Do not include <bits/concept_check.h>.
823         * testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc:
824         Fix.
825         * testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc:
826         Likewise.
827         * testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc:
828         Likewise.
829         * testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc:
830         Likewise.
831         * testsuite/26_numerics/random/discard_block_engine/cons/default.cc:
832         Likewise.
833         * testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc:
834         Likewise.
835         * testsuite/26_numerics/random/discard_block_engine/requirements/
836         typedefs.cc: Likewise.
837         * testsuite/26_numerics/random/discard_block_engine/operators/
838         equal.cc: Likewise.
839         * testsuite/26_numerics/random/discard_block_engine/operators/
840         serialize.cc: Likewise.
841         * testsuite/26_numerics/random/linear_congruential_engine/
842         requirements/non_uint_neg.cc: Tweak.
843
844 2009-10-10  Gerald Pfeifer  <gerald@pfeifer.com>
845
846         * doc/xml/manual/messages.xml: Update GNU gettext reference.
847
848 2009-10-10  Gerald Pfeifer  <gerald@pfeifer.com>
849
850         * doc/xml/manual/codecvt.xml: Refer to The Open Group Base
851         Specifications, Issue 6 (IEEE Std. 1003.1-2004).
852         Update link to bogus site with reference to unix.org.
853         * doc/xml/manual/ctype.xml: Ditto.
854         * doc/xml/manual/locale.xml: Ditto.
855
856 2009-10-09  Paolo Carlini  <paolo.carlini@oracle.com>
857
858         * include/parallel/numeric (__adjacent_difference_switch): Fix typo.
859         * include/parallel/for_each_selectors.h
860         (__adjacent_difference_selector): Likewise.
861
862 2009-10-08  Paolo Carlini  <paolo.carlini@oracle.com>
863
864         * include/ext/bitmap_allocator.h: Minor clean-ups.
865
866 2009-10-08  Paolo Carlini  <paolo.carlini@oracle.com>
867
868         * config/abi/pre/gnu.ver: Adjust exports.
869
870 2009-10-07  Phil Muldoon <pmuldoon@redhat.com>
871
872         * doc/xml/manual/debug.xml: Rewrite and expand GDB Python
873         pretty-printer section.
874
875 2009-10-07  Chris Jefferson  <chris@bubblescope.net>
876
877         * testsuite/25_algorithms/rotate/moveable2.cc: New.
878
879 2009-10-06  Janis Johnson  <janis187@us.ibm.com>
880
881         * testsuite/decimal/binary-arith.cc: Fix directive to skip test.
882         * testsuite/decimal/cast_neg.cc: Ditto.
883         * testsuite/decimal/comparison.cc: Ditto.
884         * testsuite/decimal/compound-assignment.cc: Ditto.
885         * testsuite/decimal/compound-assignment-memfunc.cc: Ditto.
886         * testsuite/decimal/conversion-from-float.cc: Ditto.
887         * testsuite/decimal/conversion-from-integral.cc: Ditto.
888         * testsuite/decimal/conversion-to-generic-float.cc: Ditto.
889         * testsuite/decimal/conversion-to-integral.cc: Ditto.
890         * testsuite/decimal/ctor.cc: Ditto.
891         * testsuite/decimal/incdec.cc: Ditto.
892         * testsuite/decimal/incdec-memfunc.cc: Ditto.
893         * testsuite/decimal/make-decimal.cc: Ditto.
894         * testsuite/decimal/mixed-mode_neg.cc: Ditto.
895         * testsuite/decimal/operator_neg.cc: Ditto.
896         * testsuite/decimal/unary-arith.cc: Ditto.
897
898 2009-10-05  Benjamin Kosnik  <bkoz@redhat.com>
899
900         * doc/html/*: Regenerate.
901
902 2009-10-05  John Bytheway  <jbytheway@gmail.com>
903
904         PR libstdc++/41530
905         * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&)):
906         Fix to just move.
907         * testsuite/20_util/tuple/cons/41530.cc: New.
908
909 2009-10-05  Phil Muldoon  <pmuldoon@redhat.com>
910
911         * doc/xml/manual/debug.xml: Add narrative for GDB Python pretty
912         printers. Add links to GDB wiki/online manual.
913
914 2009-10-05  Benjamin Kosnik  <bkoz@redhat.com>
915             Edward Smith-Rowland  <3dw4rd@verizon.net>
916
917         * include/decimal/decimal: Warn if decimal floating point types
918         are not available.
919         * acinclude.m4 (GLIBCXX_ENABLE_DECIMAL_FLOAT): New.
920         * configure.ac: Use it.
921         * configure: Regenerate.
922         * config.h.in: Regenerate.
923
924 2009-10-05  Benjamin Kosnik  <bkoz@redhat.com>
925
926         * include/Makefile.am: Remove stray line break.
927
928         * include/decimal/decimal: Brief class doxygen markup.
929         * libsupc++/exception: Whitespace cleanup.
930
931         * testsuite/libstdc++-dg/conformance.exp: Add testsuite directory
932         decimal.
933         * scripts/create_testsuite_files (dlist): Same.
934
935         * doc/xml/manual/using.xml: One column in table. Move after TR1.
936
937         * testsuite/decimal/bad-cast.cc: Move to...
938         * testsuite/decimal/cast_neg.cc: ...here.
939         * testsuite/decimal/bad-mixed-mode.cc: Move to...
940         * testsuite/decimal/mixed-mode_neg.cc: ...here.
941         * testsuite/decimal/bad-operator.cc: Move to...
942         * testsuite/decimal/operator_neg.cc: ...here.
943
944         * doc/doxygen/user.cfg.in (INPUT): Add decimal/decimal.
945
946 2009-10-05  Janis Johnson  <janis187@us.ibm.com>
947
948         * doc/Makefile.am: Process new file.
949         * doc/xml/manual/intro.xml: Ditto.
950         * doc/xml/manual/using.xml: Document new header.
951         * doc/xml/manual/status_cxxdecimal.xml: New file.
952         * include/Makefile.am: Process new headers.
953         * include/decimal/decimal: New file.
954         * include/decimal/decimal.h: New file.
955
956 2009-10-05  Janis Johnson  <janis187@us.ibm.com>
957
958         * testsuite/decimal: New directory.
959         * testsuite/decimal/bad-cast.cc: New test.
960         * testsuite/decimal/bad-mixed-mode.cc: New test.
961         * testsuite/decimal/bad-operator.cc: New test.
962         * testsuite/decimal/binary-arith.cc: New test.
963         * testsuite/decimal/comparison.cc: New test.
964         * testsuite/decimal/compound-assignment.cc: New test.
965         * testsuite/decimal/compound-assignment-memfunc.cc: New test.
966         * testsuite/decimal/conversion-from-float.cc: New test.
967         * testsuite/decimal/conversion-from-integral.cc: New test.
968         * testsuite/decimal/conversion-to-generic-float.cc: New test.
969         * testsuite/decimal/conversion-to-integral.cc: New test.
970         * testsuite/decimal/ctor.cc: New test.
971         * testsuite/decimal/incdec.cc: New test.
972         * testsuite/decimal/incdec-memfunc.cc: New test.
973         * testsuite/decimal/make-decimal.cc: New test.
974         * testsuite/decimal/unary-arith.cc: New test.
975
976 2009-10-05  Paolo Carlini  <paolo.carlini@oracle.com>
977
978         * testsuite/lib/libstdc++.exp (check_v3_target_rvalref): Remove.
979         * testsuite/lib/dg-options.exp (dg-require-rvalref): Likewise.
980
981 2009-10-05  Chris Jefferson  <chris@bubblescope.net>
982
983         * include/bits/stl_algo.h (__stable_partition_adaptive,
984         __rotate_adaptive, __merge_adaptive, __merge_sort_loop):
985         Extend to work with rvalue references in C++0x mode.
986         * testsuite/25_algorithms/inplace_merge/moveable2.cc: New.
987         * testsuite/25_algorithms/inplace_merge/moveable.cc: Likewise.
988         * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
989         * testsuite/25_algorithms/stable_sort/moveable2.cc: Likewise.
990         * testsuite/25_algorithms/stable_sort/moveable.cc: Likewise.
991
992 2009-10-04  Benjamin Kosnik  <bkoz@redhat.com>
993
994         * doc/xml/manual/using.xml: Add profile headers.
995         * testsuite/ext/profile/mh.cc: Restrict to linux.
996
997 2009-10-02  Silvius Rus  <silvius.rus@gmail.com>
998
999         * configure: Add check for execinfo.h.
1000         * config.h.in: Add undef for HAVE_EXECINFO_H.
1001         * include/Makefile.am: Add build support for profile mode.
1002         * include/Makefile.in: Same.
1003         * include/profile/base.h: New file.
1004         * include/profile/bitset: Same.
1005         * include/profile/deque: Same.
1006         * include/profile/hashtable.h: Same.
1007         * include/profile/list: Same.
1008         * include/profile/map: Same.
1009         * include/profile/map.h: Same.
1010         * include/profile/multimap.h: Same.
1011         * include/profile/multiset.h: Same.
1012         * include/profile/set: Same.
1013         * include/profile/set.h: Same.
1014         * include/profile/unordered_map: Same.
1015         * include/profile/unordered_set: Same.
1016         * include/profile/vector: Same.
1017         * include/profile/impl/profiler.h: Same.
1018         * include/profile/impl/profiler_container_size.h: Same.
1019         * include/profile/impl/profiler_hash_func.h: Same.
1020         * include/profile/impl/profiler_hashtable_size.h: Same.
1021         * include/profile/impl/profiler_map_to_unordered_map.h: Same.
1022         * include/profile/impl/profiler_node.h: Same.
1023         * include/profile/impl/profiler_state.h: Same.
1024         * include/profile/impl/profiler_trace.h: Same.
1025         * include/profile/impl/profiler_vector_size.h: Same.
1026         * include/profile/impl/profiler_vector_to_list.h: Same.
1027         * include/std/vector: Include corresponding profile header guarded by
1028         _GLIBCXX_PROFILE.
1029         * include/std/deque: Same.
1030         * include/std/list: Same.
1031         * include/std/map: Same.
1032         * include/std/unordered_map: Same.
1033         * include/std/bitset: Same.
1034         * include/std/set: Same.
1035         * include/std/unordered_set: Same.
1036         * include/backward/hash_map: Same.
1037         * include/backward/hash_set: Same.
1038         * include/tr1_impl/hashtable (_Hashtable): Expose insert_return_type.
1039         * include/bits/c++config: Define profile namespace.
1040         * testsuite/Makefile.in: Add check-profile.
1041         * testsuite/Makefile.am: Same.
1042         * testsuite/ext/profile/all.cc: New file.
1043         * testsuite/ext/profile/mh.cc: Same.
1044         * testsuite/ext/profile/mutex_extensions.cc: Same.
1045         * testsuite/23_containers/unordered_map/profile/hash_map.cc: Same.
1046         * testsuite/23_containers/unordered_map/profile/unordered.cc: Same.
1047         * testsuite/23_containers/vector/profile/vector.cc: Same.
1048         * testsuite/23_containers/vector/resize/moveable.cc: Make it pass
1049         in profile mode.
1050         * testsuite/23_containers/deque/capacity/moveable.cc: Same.
1051         * testsuite/23_containers/list/capacity/29134.cc: Same.
1052         * doc/Makefile.in: Add reference to profile_mode.xml.
1053         * doc/Makefile.am: Same.
1054         * doc/xml/manual/profile_mode.xml: New file.
1055         * doc/xml/manual/debug.xml: Add link to profile mode section.
1056         * doc/xml/manual/extensions.xml: Add profile mode.  Update numbering.
1057         * doc/doxygen/user.cfg.in: Add profile mode files.
1058
1059 2009-10-02  Johannes Singler  <singler@ira.uka.de>
1060
1061         * include/parallel/base.h: Take integer types from <tr1/cstdint>.
1062         * include/parallel/compatibility.h: Likewise.
1063         * include/parallel/multiseq_selection.h: Likewise.
1064         * include/parallel/random_shuffle.h: Likewise.
1065         * include/parallel/random_number.h: Likewise;
1066         use numeric_limits<>::digit instead of sizeof()*8.
1067         * include/parallel/types.h: Likewise.
1068         * doc/html/manual/bk01pt12ch31s03.html:
1069         Document dependency on stdint.h.
1070
1071 2009-10-01  Phil Muldoon <pmuldoon@redhat.com>
1072
1073         * python/libstdcxx/v6/printers.py (StdListPrinter):
1074         Add -D_GLIBCXX_DEBUG implementation changes. Receive typename from
1075         printer registration.
1076         (StdListIteratorPrinter): Likewise.
1077         (StdDebugIteratorPrinter): New printer.
1078         (build_libstdcxx_dictionary): Add -D_GLIBCXX_DEBUG registration
1079         entries.  Always pass a typename where the type can change.
1080         (StdSlistPrinter) Receive typename from printer registration.  Use
1081         in printer output.
1082         (StdBitsetPrinter): Likewise.
1083         (StdDequePrinter): Likewise.
1084
1085 2009-09-29  Paolo Carlini  <paolo.carlini@oracle.com>
1086
1087         * include/bits/random.tcc: Define static const data members.
1088         * include/tr1/random.tcc: Likewise.
1089         * testsuite/26_numerics/random/subtract_with_carry_engine/
1090         requirements/constants.cc: New.
1091         * testsuite/26_numerics/random/mersenne_twister_engine/
1092         requirements/constants.cc: Likewise.
1093         * testsuite/26_numerics/random/linear_congruential_engine/
1094         requirements/constants.cc: Likewise.
1095         * testsuite/26_numerics/random/shuffle_order_engine/requirements/
1096         constants.cc: Likewise.
1097         * testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/
1098         requirements/constants.cc: Likewise.
1099         * testsuite/tr1/5_numerical_facilities/random/
1100         subtract_with_carry_01/requirements/constants.cc: Likewise.
1101         * testsuite/tr1/5_numerical_facilities/random/discard_block/
1102         requirements/constants.cc: Likewise.
1103         * testsuite/tr1/5_numerical_facilities/random/linear_congruential/
1104         requirements/constants.cc: Likewise.
1105         * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
1106         requirements/constants.cc: Likewise.
1107         * testsuite/tr1/5_numerical_facilities/random/xor_combine/
1108         requirements/constants.cc: Likewise.
1109
1110 2009-09-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1111
1112         PR libstdc++/38923
1113         * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Avoid 'head',
1114         use sed script portable to Solaris /bin/sed for extracting ld
1115         version.
1116         * configure: Regenerate.
1117
1118 2009-09-28  Benjamin Kosnik  <bkoz@redhat.com>
1119
1120         * libsupc++/eh_terminate.cc: Fixes for -fno-exceptions.
1121         * libsupc++/vec.cc: Same.
1122         * libsupc++/vterminate.cc: Same.
1123         * libsupc++/new_opnt.cc: Same.
1124
1125 2009-09-28  Johannes Singler  <singler@ira.uka.de>
1126
1127         * include/parallel/for_each_selectors.h:  Remove obsolete comment.
1128
1129 2009-09-26  Paolo Carlini  <paolo.carlini@oracle.com>
1130
1131         * doc/html/ext/lwg-active.html: Update to Revision R66.
1132         * doc/html/ext/lwg-closed.html: Likewise.
1133         * doc/html/ext/lwg-defects: Likewise.
1134
1135         * doc/xml/manual/intro.xml: Update entry for DR 853.
1136
1137 2009-09-26  Gerald Pfeifer  <gerald@pfeifer.com>
1138
1139         * doc/html/ext/lwg-closed.html: Adjust four instances of two URLs
1140         according to upstream redirects.
1141
1142 2009-09-25  Johannes Singler  <singler@ira.uka.de>
1143
1144         * include/parallel/include/parallel/checkers.h
1145         (is_sorted_failure, is_sorted_print_failures):  Remove (unused).
1146         (__is_sorted):  Remove default parameter for _Compare; remove
1147         inappropriate printf.
1148
1149 2009-09-25  Johannes Singler  <singler@ira.uka.de>
1150
1151         * include/parallel/base.h:  Comment on presence of min/max duplicates.
1152
1153 2009-09-25  Johannes Singler  <singler@ira.uka.de>
1154
1155         * include/parallel/partition.h (__parallel_nth_element):
1156         Correct comment.
1157
1158 2009-09-24  Johannes Singler  <singler@ira.uka.de>
1159
1160         * include/parallel/algo.h: Uglify internal identifiers;
1161         correct line breaks.
1162         * include/parallel/for_each.h: Likewise.
1163         * include/parallel/numeric: Likewise.
1164         * include/parallel/omp_loop.h: Likewise.
1165         * include/parallel/omp_loop_static.h: Likewise.
1166         * include/parallel/par_loop.h: Likewise.
1167         * include/parallel/workstealing.h: Likewise.
1168
1169 2009-09-24  Johannes Singler  <singler@ira.uka.de>
1170
1171         * include/parallel/base.h (_EqualFromLess):  Move _Compare template
1172         parameter to the end as of others.
1173         * include/parallel/algobase.h
1174         (__lexicographical_compare_switch): Likewise.
1175
1176 2009-09-23  Johannes Singler  <singler@ira.uka.de>
1177
1178         * include/parallel/algobase.h: Uglify internal identifiers;
1179         correct line breaks.
1180         * include/parallel/algo.h: Likewise.
1181         * include/parallel/base.h: Likewise.
1182         * include/parallel/equally_split.h: Likewise.
1183         * include/parallel/find.h: Likewise.
1184         * include/parallel/find_selectors.h: Likewise.
1185         * include/parallel/for_each_selectors.h: Likewise.
1186         * include/parallel/list_partition.h: Likewise.
1187         * include/parallel/losertree.h: Likewise.
1188         * include/parallel/merge.h: Likewise.
1189         * include/parallel/multiseq_selection.h: Likewise.
1190         * include/parallel/multiway_merge.h: Likewise.
1191         * include/parallel/multiway_mergesort.h: Likewise.
1192         * include/parallel/numeric: Likewise.
1193         * include/parallel/numericfwd.h: Likewise.
1194         * include/parallel/omp_loop.h: Likewise.
1195         * include/parallel/omp_loop_static.h: Likewise.
1196         * include/parallel/par_loop.h: Likewise.
1197         * include/parallel/partition.h: Likewise.
1198         * include/parallel/random_shuffle.h: Likewise.
1199         * include/parallel/search.h: Likewise.
1200         * include/parallel/sort.h: Likewise.
1201         * include/parallel/workstealing.h: Likewise.
1202
1203 2009-09-21  Gerald Pfeifer  <gerald@pfeifer.com>
1204
1205         * doc/xml/manual/appendix_contributing.xml: Adjust link to
1206         coreutils.
1207
1208 2009-09-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
1209
1210         * python/hook.in: Fix prefix trailing slash on 64bit host arches.
1211
1212 2009-09-17  Joseph Myers  <joseph@codesourcery.com>
1213
1214         * testsuite/lib/libstdc++.exp (check_v3_target_binary_io): New.
1215         * testsuite/lib/dg-options.exp (dg-require-binary-io): New.
1216         * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc,
1217         testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc,
1218         testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc,
1219         testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc,
1220         testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc,
1221         testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc,
1222         testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc,
1223         testsuite/27_io/basic_istream/readsome/char/6746-2.cc,
1224         testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc,
1225         testsuite/27_io/objects/char/10.cc: Use dg-require-binary-io.
1226
1227 2009-09-17  Joseph Myers  <joseph@codesourcery.com>
1228
1229         * include/ext/vstring.h (to_wstring(long long),
1230         to_wstring(unsigned long long), to_wstring(long double)): Disable
1231         for _GLIBCXX_HAVE_BROKEN_VSWPRINTF.
1232
1233 2009-09-17  Johannes Singler  <singler@ira.uka.de>
1234
1235         * include/parallel/algobase.h: Replace tabs by spaces;
1236         correct line breaks.
1237         * include/parallel/algorithmfwd.h: Likewise.
1238         * include/parallel/balanced_quicksort.h: Likewise.
1239         * include/parallel/base.h: Likewise.
1240         * include/parallel/checkers.h: Likewise.
1241         * include/parallel/compatibility.h: Likewise.
1242         * include/parallel/equally_split.h: Likewise.
1243         * include/parallel/find.h: Likewise.
1244         * include/parallel/for_each.h: Likewise.
1245         * include/parallel/for_each_selectors.h: Likewise.
1246         * include/parallel/iterator.h: Likewise.
1247         * include/parallel/list_partition.h: Likewise.
1248         * include/parallel/losertree.h: Likewise.
1249         * include/parallel/merge.h: Likewise.
1250         * include/parallel/multiseq_selection.h: Likewise.
1251         * include/parallel/multiway_merge.h: Likewise.
1252         * include/parallel/multiway_mergesort.h: Likewise.
1253         * include/parallel/numeric: Likewise.
1254         * include/parallel/numericfwd.h: Likewise.
1255         * include/parallel/omp_loop.h: Likewise.
1256         * include/parallel/omp_loop_static.h: Likewise.
1257         * include/parallel/par_loop.h: Likewise.
1258         * include/parallel/partial_sum.h: Likewise.
1259         * include/parallel/partition.h: Likewise.
1260         * include/parallel/queue.h: Likewise.
1261         * include/parallel/quicksort.h: Likewise.
1262         * include/parallel/random_number.h: Likewise.
1263         * include/parallel/random_shuffle.h: Likewise.
1264         * include/parallel/search.h: Likewise.
1265         * include/parallel/set_operations.h: Likewise.
1266         * include/parallel/settings.h: Likewise.
1267         * include/parallel/sort.h: Likewise.
1268         * include/parallel/types.h: Likewise.
1269         * include/parallel/unique_copy.h: Likewise.
1270         * include/parallel/workstealing.h: Likewise.
1271         * include/parallel/algo.h: Likewise;
1272         shorten _ForwardIterator to _FIterator.
1273         * include/parallel/find_selectors.h: Likewise.
1274
1275 2009-09-16  Johannes Singler  <singler@ira.uka.de>
1276
1277         * include/parallel/base.h: Correct some comments accidentally changed
1278         during uglification.
1279         * include/parallel/find.h: Likewise.
1280         * include/parallel/find_selectors.h: Likewise.
1281         * include/parallel/multiway_merge.h: Likewise.
1282         * include/parallel/multiway_mergesort.h: Likewise.
1283         * include/parallel/partial_sum.h: Likewise.
1284         * include/parallel/partition.h: Likewise.
1285         * include/parallel/queue.h: Likewise.
1286         * include/parallel/random_shuffle.h: Likewise.
1287         * include/parallel/settings.h: Likewise.
1288         * include/parallel/sort.h: Likewise.
1289         * include/parallel/tags.h: Likewise.
1290         * include/parallel/workstealing.h: Likewise.
1291
1292 2009-09-16  Johannes Singler  <singler@ira.uka.de>
1293
1294         * include/parallel/base.h (_EqualFromLess):
1295         Correct uglification of member variables and method arguments.
1296         * include/parallel/balanced_quicksort.h (_QSBThreadLocal): Likewise.
1297         * include/parallel/find_selectors.h (__find_first_of_selector):
1298         Likewise.
1299         * include/parallel/iterator.h (_IteratorTriple): Likewise.
1300         * include/parallel/multiseq_selection.h
1301         (_Lexicographic, _LexicographicReverse): Likewise.
1302         * include/parallel/multiway_mergesort.h (_Piece, _PMWMSSortingData):
1303         Likewise.
1304         * include/parallel/random_number.h (_RandomNumber): Likewise.
1305         * include/parallel/random_shuffle.h (_DRandomShufflingGlobalData):
1306         Likewise.
1307         * include/parallel/set_operations.h (__symmetric_difference_func,
1308         __difference_func, __intersection_func, __union_func,
1309         parallel_set_union, parallel_set_intersection, parallel_set_difference,
1310         parallel_set_symmetric_difference): Likewise.
1311         * include/parallel/tags.h (parallel_tag): Likewise.
1312         * include/parallel/workstealing.h (_Job): Likewise.
1313         * include/parallel/multiway_merge.h
1314         (__multiway_merge_k_variant_sentinel_switch:operator())
1315         correct uglification of _*LoserTree*.
1316         * include/parallel/losertree.h (_*LoserTree*): Likewise; correct
1317         uglification of member variables and method arguments.
1318         * include/parallel/par_loop.h: Correct uglification of finish_iterator.
1319         * include/parallel/for_each_selectors.h: Likewise.
1320         * include/parallel/omp_loop.h: Likewise.
1321         * include/parallel/algo.h: Likewise; uglify c_rand_number.
1322
1323 2009-09-16  Johannes Singler  <singler@ira.uka.de>
1324
1325         * include/parallel/base.h (_PseudoSequenceIterator, _PseudoSequence):
1326         Replace redundant _Self.
1327         * include/parallel/iterator.h (_IteratorPair, _IteratorTriple):
1328         Replace redundant _Self.
1329         * include/parallel/algo.h: Correct accidental _Self in comments.
1330         * include/parallel/losertree.h: Likewise.
1331         * include/parallel/multiway_merge.h: Likewise.
1332         * include/parallel/random_shuffle.h: Likewise.
1333
1334 2009-09-16  Johannes Singler  <singler@ira.uka.de>
1335
1336         * include/parallel/algobase.h: Uglify internal identifiers.
1337         * include/parallel/algo.h: Likewise.
1338         * include/parallel/algorithm: Likewise.
1339         * include/parallel/algorithmfwd.h: Likewise.
1340         * include/parallel/balanced_quicksort.h: Likewise.
1341         * include/parallel/base.h: Likewise.
1342         * include/parallel/basic_iterator.h: Likewise.
1343         * include/parallel/checkers.h: Likewise.
1344         * include/parallel/compatibility.h: Likewise.
1345         * include/parallel/compiletime_settings.: Likewise.
1346         * include/parallel/equally_split.h: Likewise.
1347         * include/parallel/features.h: Likewise.
1348         * include/parallel/find.h: Likewise.
1349         * include/parallel/find_selectors.h: Likewise.
1350         * include/parallel/for_each.h: Likewise.
1351         * include/parallel/for_each_selectors.h: Likewise.
1352         * include/parallel/iterator.h: Likewise.
1353         * include/parallel/list_partition.h: Likewise.
1354         * include/parallel/losertree.h: Likewise.
1355         * include/parallel/merge.h: Likewise.
1356         * include/parallel/multiseq_selection.h: Likewise.
1357         * include/parallel/multiway_merge.h: Likewise.
1358         * include/parallel/multiway_mergesort.h: Likewise.
1359         * include/parallel/numeric: Likewise.
1360         * include/parallel/numericfwd.h: Likewise.
1361         * include/parallel/omp_loop.h: Likewise.
1362         * include/parallel/omp_loop_static.h: Likewise.
1363         * include/parallel/parallel.h: Likewise.
1364         * include/parallel/par_loop.h: Likewise.
1365         * include/parallel/partial_sum.h: Likewise.
1366         * include/parallel/partition.h: Likewise.
1367         * include/parallel/queue.h: Likewise.
1368         * include/parallel/quicksort.h: Likewise.
1369         * include/parallel/random_number.h: Likewise.
1370         * include/parallel/random_shuffle.h: Likewise.
1371         * include/parallel/search.h: Likewise.
1372         * include/parallel/set_operations.h: Likewise.
1373         * include/parallel/settings.h: Likewise.
1374         * include/parallel/sort.h: Likewise.
1375         * include/parallel/tags.h: Likewise.
1376         * include/parallel/types.h: Likewise.
1377         * include/parallel/unique_copy.h: Likewise.
1378         * include/parallel/workstealing.h: Likewise.
1379
1380 2009-09-14  Paolo Carlini  <paolo.carlini@oracle.com>
1381
1382         PR libstdc++/41037
1383         * src/ios_init.cc (ios_base::Init::Init): Properly initialize cerr
1384         and wcerr flags.
1385         * testsuite/27_io/objects/char/41037.cc: New.
1386         * testsuite/27_io/objects/wchar_t/41037.cc: Likewise.
1387
1388 2009-09-14  Andrew Stubbs  <ams@codesourcery.com>
1389
1390         * config/cpu/sh/atomicity.h (__exchange_and_add): Set earlyclobber
1391         constraint.
1392
1393 2009-09-11  Johannes Singler  <singler@ira.uka.de>
1394
1395         * include/parallel/multiway_merge.h
1396         (multiway_merge_exact_splitting): Deallocate borders correctly.
1397         (parallel_multiway_merge): Remove unnecessarily complicated
1398         allocation, random access iterators are default-constructible;
1399         deallocate ne_seqs correctly.
1400
1401 2009-09-11  Paolo Carlini  <paolo.carlini@oracle.com>
1402
1403         PR libstdc++/41316
1404         * include/bits/forward_list.h (_Fwd_list_node_base<>::_M_sort_after):
1405         Remove.
1406         (forward_list<>::sort(_Comp)): Only declare.
1407         (forward_list<>::sort()): Forward to the latter.
1408         * include/bits/forward_list.tcc (_Fwd_list_node_base<>::_M_sort_after):
1409         Remove definition.
1410         (forward_list<>::sort(_Comp)): Define.
1411         * testsuite/23_containers/forward_list/requirements/dr438/
1412         assign_neg.cc: Adjust dg-error line number.
1413         * testsuite/23_containers/forward_list/requirements/dr438/
1414         insert_neg.cc: Likewise.
1415         * testsuite/23_containers/forward_list/requirements/dr438/
1416         constructor_1_neg.cc: Likewise.
1417         * testsuite/23_containers/forward_list/requirements/dr438/
1418         constructor_2_neg.cc: Likewise.
1419
1420 2009-09-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1421
1422         * src/Makefile.am (libstdc___la_LINK): New.
1423         * src/Makefile.in: Regenerate.
1424
1425 2009-09-09  Loren J. Rittle  <ljrittle@acm.org>
1426
1427         * testsuite/30_threads/thread/native_handle/typesizes.cc: Remove
1428         *-*-freebsd* from both dg-do and dg-options.
1429
1430 2009-09-08  Alexandre Oliva  <aoliva@redhat.com>
1431
1432         * configure: Rebuilt with modified libtool.m4.
1433
1434 2009-09-07  H.J. Lu  <hongjiu.lu@intel.com>
1435             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1436
1437         PR libstdc++/41280
1438         * configure.ac: Run "${multi_basedir}/config-ml.in" to generate
1439         MULTISUBDIR = in subdirectory Makefiles, with ml_norecursion set.
1440         * configure: Regenerate.
1441
1442 2009-09-06  Paolo Carlini  <paolo.carlini@oracle.com>
1443
1444         PR libstdc++/41267
1445         * include/bits/stl_algobase.h (__copy_move::__copy_m,
1446         __copy_move_backward::__copy_move_b): Don't call __builtin_memmove
1447         with a null third argument.
1448
1449 2009-09-04  Benjamin Kosnik  <bkoz@redhat.com>
1450
1451         Revert.
1452         2009-08-06  Benjamin Kosnik  <bkoz@redhat.com>
1453         * src/compatibility.cc: Make C++0x safe, add in explicit casts to
1454         bool for stream sentry objects.
1455         * include/bits/istream.tcc: Same.
1456         * include/bits/ostream.tcc: Same.
1457         * include/bits/basic_string.tcc: Same.
1458         * include/bits/ostream_insert.h: Same.
1459         * src/istream.cc: Same.
1460
1461 2009-09-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1462
1463         * configure.ac: Replace AC_CONFIG_COMMANDS([default])
1464         instantiation with additional commands issued for each Makefile
1465         in glibcxx_SUBDIRS, so `./config.status subdir/Makefile' also
1466         runs these commands.
1467         Add a separate AC_CONFIG_COMMANDS([generate-headers]) for
1468         running `make' in include, passing `pch_build=' to `make'.
1469         * configure: Regenerate.
1470
1471         PR libstdc++/41220
1472         * include/Makefile.am (CLEANFILES): Add stamp-host.
1473         * include/Makefile.in: Regenerate.
1474
1475 2009-09-02  Joseph Myers  <joseph@codesourcery.com>
1476
1477         * testsuite/lib/libstdc++.exp (libstdc++_init): Copy .tcc files
1478         under util/ to remote host.  Copy .h and .hpp files at more levels
1479         under util/ to remote host.
1480
1481 2009-09-02  Paolo Carlini  <paolo.carlini@oracle.com>
1482
1483         * include/bits/stl_uninitialized.h
1484         (__uninitialized_copy::uninitialized_copy): Just call (the now
1485         forwarding) _Construct.
1486
1487 2009-09-01  Chris Jefferson  <chris@bubblescope.net>
1488             Paolo Carlini  <paolo.carlini@oracle.com>
1489
1490         * testsuite/util/testsuite_rvalref.h: Remove obsolete macro using
1491         _GLIBCXX_TESTSUITE_ALLOW_RVALREF_ALIASING.
1492         * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
1493         move_iterators/1.cc: Adjust, do not define
1494         _GLIBCXX_TESTSUITE_ALLOW_RVALREF_ALIASING.
1495         * testsuite/20_util/specialized_algorithms/uninitialized_copy/
1496         move_iterators/1.cc: Likewise.
1497         * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
1498         * testsuite/25_algorithms/move/1.cc: Likewise.
1499         * testsuite/25_algorithms/move_backward/1.cc: Likewise.
1500         * testsuite/25_algorithms/copy_backward/move_iterators/1.cc: Likewise.
1501         * testsuite/25_algorithms/copy/move_iterators/1.cc: Likewise.
1502         * testsuite/25_algorithms/heap/moveable.cc: Likewise.
1503         * testsuite/25_algorithms/partial_sort/moveable.cc: Likewise; add
1504         test for predicated test.
1505         * testsuite/25_algorithms/sort/moveable.cc: Likewise.
1506         * testsuite/25_algorithms/nth_element/moveable.cc: Add test
1507         for predicated version.
1508         * testsuite/25_algorithms/unique/moveable.cc: Likewise.
1509
1510         * testsuite/25_algorithms/inplace_merge/1.cc (S::operator<): Fix,
1511         enable test2 and test3.
1512
1513         * testsuite/util/testsuite_iterators.h (operator=): Fix invalid
1514         moving bug in C++0x mode.
1515
1516         * testsuite/25_algorithms/random_shuffle/moveable.cc: New.
1517         * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
1518         * testsuite/25_algorithms/next_permutation/moveable.cc: Likewise.
1519         * testsuite/25_algorithms/heap/moveable2.cc: Likewise.
1520
1521 2009-08-31  Uros Bizjak  <ubizjak@gmail.com>
1522             Kaz Kojima  <kkojima@gcc.gnu.org>
1523
1524         * testsuite/18_support/numeric_limits/denorm_min.cc: Use
1525         dg-add-options ieee.
1526         * testsuite/18_support/numeric_limits/digits10.cc: Likewise.
1527         * testsuite/18_support/numeric_limits/epsilon.cc: Likewise.
1528         * testsuite/18_support/numeric_limits/infinity.cc: Likewise.
1529         * testsuite/18_support/numeric_limits/is_iec559.cc: Likewise.
1530         * testsuite/18_support/numeric_limits/is_signed.cc: Likewise.
1531         * testsuite/18_support/numeric_limits/min_max.cc: Likewise.
1532         * testsuite/18_support/numeric_limits/quiet_NaN.cc: Likewise.
1533         * testsuite/18_support/numeric_limits/
1534         specialization_default_values.cc: Likewise.
1535         * testsuite/18_support/numeric_limits/traps.cc: Likewise.
1536         * testsuite/26_numerics/complex/pow.cc: Likewise.
1537         * testsuite/tr1/5_numerical_facilities/special_functions/
1538         01_assoc_laguerre/check_nan.cc: Likewise.
1539         * testsuite/tr1/5_numerical_facilities/special_functions/
1540         02_assoc_legendre/check_nan.cc: Likewise.
1541         * testsuite/tr1/5_numerical_facilities/special_functions/
1542         03_beta/check_nan.cc: Likewise.
1543         * testsuite/tr1/5_numerical_facilities/special_functions/
1544         04_comp_ellint_1/check_nan.cc: Likewise.
1545         * testsuite/tr1/5_numerical_facilities/special_functions/
1546         05_comp_ellint_2/check_nan.cc: Likewise.
1547         * testsuite/tr1/5_numerical_facilities/special_functions/
1548         06_comp_ellint_3/check_nan.cc: Likewise.
1549         * testsuite/tr1/5_numerical_facilities/special_functions/
1550         07_conf_hyperg/check_nan.cc: Likewise.
1551         * testsuite/tr1/5_numerical_facilities/special_functions/
1552         08_cyl_bessel_i/check_nan.cc: Likewise.
1553         * testsuite/tr1/5_numerical_facilities/special_functions/
1554         09_cyl_bessel_j/check_nan.cc: Likewise.
1555         * testsuite/tr1/5_numerical_facilities/special_functions/
1556         10_cyl_bessel_k/check_nan.cc: Likewise.
1557         * testsuite/tr1/5_numerical_facilities/special_functions/
1558         11_cyl_neumann/check_nan.cc: Likewise.
1559         * testsuite/tr1/5_numerical_facilities/special_functions/
1560         12_ellint_1/check_nan.cc: Likewise.
1561         * testsuite/tr1/5_numerical_facilities/special_functions/
1562         13_ellint_2/check_nan.cc: Likewise.
1563         * testsuite/tr1/5_numerical_facilities/special_functions/
1564         14_ellint_3/check_nan.cc: Likewise.
1565         * testsuite/tr1/5_numerical_facilities/special_functions/
1566         15_expint/check_nan.cc: Likewise.
1567         * testsuite/tr1/5_numerical_facilities/special_functions/
1568         16_hermite/check_nan.cc: Likewise.
1569         * testsuite/tr1/5_numerical_facilities/special_functions/
1570         17_hyperg/check_nan.cc: Likewise.
1571         * testsuite/tr1/5_numerical_facilities/special_functions/
1572         18_laguerre/check_nan.cc: Likewise.
1573         * testsuite/tr1/5_numerical_facilities/special_functions/
1574         19_legendre/check_nan.cc: Likewise.
1575         * testsuite/tr1/5_numerical_facilities/special_functions/
1576         20_riemann_zeta/check_nan.cc: Likewise.
1577         * testsuite/tr1/5_numerical_facilities/special_functions/
1578         21_sph_bessel/check_nan.cc: Likewise.
1579         * testsuite/tr1/5_numerical_facilities/special_functions/
1580         22_sph_legendre/check_nan.cc: Likewise.
1581         * testsuite/tr1/5_numerical_facilities/special_functions/
1582         23_sph_neumann/check_nan.cc: Likewise.
1583
1584 2009-08-29  Paolo Carlini  <paolo.carlini@oracle.com>
1585
1586         * include/bits/stl_construct.h: Include <bits/move.h>.
1587
1588 2009-08-29  Chris Jefferson  <chris@bubblescope.net>
1589
1590         * include/bits/move.h (_GLIBCXX_FORWARD): Add.
1591         * include/bits/stl_uninitialized.h (__uninitialized_construct_range):
1592         Add.
1593         * include/bits/stl_tempbuf.h (_Temporary_buffer::
1594         _Temporary_buffer(_ForwardIterator, _ForwardIterator)): Use the latter.
1595         * include/bits/stl_construct.h (_Construct(_T1*, _T2&&)): Add in
1596         C++0x mode.
1597         * testsuite/util/testsuite_hooks.h (operator<(const copy_tracker&,
1598         const copy_tracker&)): Add.
1599         * testsuite/25_algorithms/stable_partition/mem_check.cc: New.
1600         * testsuite/25_algorithms/stable_sort/mem_check.cc: Likewise.
1601
1602 2009-08-26  Benjamin Kosnik  <bkoz@redhat.com>
1603
1604         * config/abi/pre/gnu.ver: Fixups for string member functions.
1605
1606 2009-08-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
1607
1608         PR libstdc++/41005
1609         * configure.ac: Bump libtool_VERSION to 6:14:0.
1610         * configure: Regenerate.
1611         * src/Makefile.am: Compile fstream-inst.cc as C++0x.
1612         * src/Makefile.in: Regenerate.
1613         * config/abi/pre/gnu.ver: Add new symbols and disambiguate old ones,
1614         move <future> symbols to 3.4.14 version.
1615         * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.14 version.
1616
1617 2009-08-25  Benjamin Kosnik  <bkoz@redhat.com>
1618
1619         * include/bits/basic_string.h (basic_string): Add cbegin(),
1620         cend(), crbegin(), crend() in C++0x mode.
1621         * config/abi/pre/gnu.ver: Add exports.
1622
1623         * testsuite/util/testsuite_containers.h: New.
1624         * testsuite/util/testsuite_container_traits.h: New.
1625         * testsuite/21_strings/basic_string/requirements/citerators.cc: New.
1626         * testsuite/21_strings/basic_string/requirements/typedefs.cc: New.
1627         * testsuite/ext/vstring/requirements/citerators.cc: Edit.
1628         * testsuite/ext/vstring/requirements/typedefs.cc: New.
1629         * testsuite/23_containers/unordered_map/requirements/
1630         cliterators.cc: Edit.
1631         * testsuite/23_containers/unordered_map/requirements/
1632         citerators.cc: Edit.
1633         * testsuite/23_containers/unordered_map/requirements/
1634         explicit_instantiation/1.cc: New.
1635         * testsuite/23_containers/unordered_map/requirements/
1636         explicit_instantiation/2.cc: New.
1637         * testsuite/23_containers/unordered_map/requirements/
1638         explicit_instantiation/3.cc: New.
1639         * testsuite/23_containers/unordered_map/requirements/typedefs.cc: Edit.
1640         * testsuite/23_containers/unordered_map/requirements/
1641         explicit_instantiation.cc: Move to nested directory.
1642         * testsuite/23_containers/queue/requirements/typedefs.cc: New.
1643         * testsuite/23_containers/priority_queue/requirements/typedefs.cc: New.
1644         * testsuite/23_containers/multimap/requirements/citerators.cc: Edit.
1645         * testsuite/23_containers/multimap/requirements/typedefs.cc: New.
1646         * testsuite/23_containers/set/requirements/citerators.cc: Edit.
1647         * testsuite/23_containers/set/requirements/typedefs.cc: New.
1648         * testsuite/23_containers/unordered_multimap/requirements/
1649         cliterators.cc: Edit.
1650         * testsuite/23_containers/unordered_multimap/requirements/
1651         citerators.cc: Edit.
1652         * testsuite/23_containers/unordered_multimap/requirements/
1653         explicit_instantiation/1.cc: New.
1654         * testsuite/23_containers/unordered_multimap/requirements/
1655         explicit_instantiation/2.cc: Edit.: New.
1656         * testsuite/23_containers/unordered_multimap/requirements/
1657         explicit_instantiation/3.cc: New.
1658         * testsuite/23_containers/unordered_multimap/requirements/
1659         typedefs.cc: Edit.
1660         * testsuite/23_containers/unordered_multimap/requirements/
1661         explicit_instantiation.cc: Move to nested.
1662         * testsuite/23_containers/forward_list/requirements/citerators.cc: New.
1663         * testsuite/23_containers/forward_list/requirements/1.cc: Remove.
1664         * testsuite/23_containers/forward_list/requirements/dr438/
1665         insert_neg.cc: New.
1666         * testsuite/23_containers/forward_list/requirements/dr438/
1667         assign_neg.cc: New.
1668         * testsuite/23_containers/forward_list/requirements/dr438/
1669         constructor_1_neg.cc: New.
1670         * testsuite/23_containers/forward_list/requirements/dr438/
1671         constructor_2_neg.cc: New.
1672         * testsuite/23_containers/forward_list/requirements/dr438/
1673         constructor.cc: New.
1674         * testsuite/23_containers/forward_list/requirements/typedefs.cc: New.
1675         * testsuite/23_containers/unordered_set/requirements/
1676         cliterators.cc: Edit.
1677         * testsuite/23_containers/unordered_set/requirements/
1678         citerators.cc: Edit.
1679         * testsuite/23_containers/unordered_set/requirements/
1680         explicit_instantiation/1.cc: New.
1681         * testsuite/23_containers/unordered_set/requirements/
1682         explicit_instantiation/2.cc: New.
1683         * testsuite/23_containers/unordered_set/requirements/
1684         explicit_instantiation/3.cc: New.
1685         * testsuite/23_containers/unordered_set/requirements/typedefs.cc: Edit.
1686         * testsuite/23_containers/unordered_set/requirements/
1687         explicit_instantiation.cc: Move to nested.
1688         * testsuite/23_containers/vector/requirements/citerators.cc: Edit.
1689         * testsuite/23_containers/vector/requirements/dr438/bool/
1690         constructor.cc: Move.
1691         * testsuite/23_containers/vector/requirements/typedefs.cc: New.
1692         * testsuite/23_containers/vector/bool/requirements/citerators.cc: Edit.
1693         * testsuite/23_containers/vector/bool/requirements/dr438/
1694         constructor.cc: New.
1695         * testsuite/23_containers/deque/requirements/citerators.cc: Edit.
1696         * testsuite/23_containers/deque/requirements/typedefs.cc
1697         * testsuite/23_containers/stack/requirements/typedefs.cc
1698         * testsuite/23_containers/multiset/requirements/citerators.cc: Edit.
1699         * testsuite/23_containers/multiset/requirements/typedefs.cc: New.
1700         * testsuite/23_containers/list/requirements/citerators.cc: Edit.
1701         * testsuite/23_containers/list/requirements/typedefs.cc: New.
1702         * testsuite/23_containers/unordered_multiset/requirements/
1703         cliterators.cc: Edit.
1704         * testsuite/23_containers/unordered_multiset/requirements/
1705         citerators.cc: Edit.
1706         * testsuite/23_containers/unordered_multiset/requirements/
1707         explicit_instantiation.cc: Move.
1708         * testsuite/23_containers/unordered_multiset/requirements/
1709         explicit_instantiation/1.cc: New.
1710         * testsuite/23_containers/unordered_multiset/requirements/
1711         explicit_instantiation/2.cc: New.
1712         * testsuite/23_containers/unordered_multiset/requirements/
1713         explicit_instantiation/3.cc: New.
1714         * testsuite/23_containers/unordered_multiset/requirements/typedefs.cc
1715         * testsuite/23_containers/map/requirements/citerators.cc: Edit.
1716         * testsuite/23_containers/map/requirements/typedefs.cc: New.
1717         * testsuite/23_containers/array/requirements/citerators.cc: Edit.
1718         * testsuite/23_containers/array/requirements/explicit_instantiation.cc:
1719         Move.
1720         * testsuite/23_containers/array/requirements/
1721         explicit_instantiation/1.cc: New.
1722         * testsuite/23_containers/array/requirements/
1723         explicit_instantiation/2.cc: New.
1724         * testsuite/23_containers/array/requirements/typedefs.cc: New.
1725
1726 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1727
1728         * configure.ac (AC_PREREQ): Bump to 2.64.
1729
1730 2009-08-24  Chris Jefferson  <chris@bubblescope.net>
1731
1732         * include/stl_algo.h (__unguarded_partition_pivot,
1733         __move_median_first): New.
1734         (__insertion_sort, __unguarded_insertion_sort): Adjust for move-only
1735         types.
1736         (__unguarded_linear_insert): Assume always inserting value at __last.
1737         (__unguarded_partition): Take pivot by reference.
1738         (__introsort_loop, __introselect): Use __unguarded_partition_pivot.
1739         * testsuite/25_algorithms/nth_element/moveable.cc: Enable.
1740
1741 2009-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1742
1743         * libsupc++/Makefile.am (LTCOMPILE): Expand $(LIBTOOLFLAGS)
1744         before --mode argument.
1745         * libsupc++/Makefile.in: Regenerate.
1746
1747 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1748
1749         * doc/xml/manual/build_hacking.xml: Use tools from Autoconf
1750         2.64 and Automake 1.11 in examples; update link to Autoconf
1751         manual page about quadrigraphs.
1752         * Makefile.am (install-html, install-pdf): Remove.
1753         * Makefile.in: Regenerate.
1754
1755         * Makefile.in: Regenerate.
1756         * acinclude.m4: Regenerate.
1757         * aclocal.m4: Regenerate.
1758         * config.h.in: Regenerate.
1759         * configure: Regenerate.
1760         * doc/Makefile.in: Regenerate.
1761         * include/Makefile.in: Regenerate.
1762         * libsupc++/Makefile.in: Regenerate.
1763         * po/Makefile.in: Regenerate.
1764         * python/Makefile.in: Regenerate.
1765         * src/Makefile.in: Regenerate.
1766         * testsuite/Makefile.in: Regenerate.
1767
1768 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1769
1770         * libsupc++/Makefile.am (LTCOMPILE, LTCXXCOMPILE, CXXLINK): Add
1771         $(LIBTOOLFLAGS).
1772         * libsupc++/Makefile.in: Regenerate.
1773         * src/Makefile.am (LTCXXCOMPILE, CXXLINK): Add $(AM_LIBTOOLFLAGS)
1774         and $(LIBTOOLFLAGS).
1775         * src/Makefile.in: Regenerate.
1776
1777 2009-08-20  Paolo Carlini  <paolo.carlini@oracle.com>
1778
1779         * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Add
1780         missing dg-require directives.
1781
1782 2009-08-20  Edward Smith-Rowland  <3dw4rd@verizon.net>
1783
1784         * include/tr1/gamma.tcc: Change include guard from _TR1_GAMMA_TCC
1785         to _GLIBCXX_TR1_GAMMA_TCC to match the rest of the headers in tr1.
1786         * include/tr1/exp_integral.tcc: Replace _TR1_GAMMA_TCC with
1787         __numeric_constants<_Tp>::__gamma_e().
1788
1789 2009-08-17  Benjamin Kosnik  <bkoz@redhat.com>
1790
1791         * testsuite/30_threads/packaged_task/requirements/typedefs.cc: New.
1792
1793 2009-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1794
1795         * configure.ac: Move guarded checks for CC and CXX ...
1796         * acinclude.m4 (GLIBCXX_CONFIGURE): ... from here.
1797         * configure: Regenerate.
1798
1799 2009-08-14  Edward Smith-Rowland  <3dw4rd@verizon.net>
1800             Paolo Carlini  <paolo.carlini@oracle.com>
1801
1802         PR libstdc++/41061
1803         * include/bits/random.h (operator<<(std::basic_ostream<>&,
1804         const std::lognormal_distribution<>&),
1805         operator>>(std::basic_istream<>&, std::lognormal_distribution<>&),
1806         operator<<(std::basic_ostream<>&, const std::gamma_distribution<>&),
1807         operator>>(std::basic_istream<>&, std::gamma_distribution<>&),
1808         operator<<(std::basic_ostream<>&,
1809         const std::chi_squared_distribution<>&),
1810         operator>>(std::basic_istream<>&, std::chi_squared_distribution<>&),
1811         operator<<(std::basic_ostream<>&,
1812         const std::fisher_f_distribution<>&),
1813         operator>>(std::basic_istream<>&, std::fisher_f_distribution<>&),
1814         operator<<(std::basic_ostream<>&,
1815         const std::student_t_distribution<>&),
1816         operator>>(std::basic_istream<>&, std::student_t_distribution<>&),
1817         operator<<(std::basic_ostream<>&,
1818         const std::negative_binomial_distribution<>&)): Declare friend.
1819         * testsuite/26_numerics/random/uniform_real_distribution/operators/
1820         serialize.cc: New.
1821         * testsuite/26_numerics/random/piecewise_constant_distribution/
1822         operators/serialize.cc: Likewise.
1823         * testsuite/26_numerics/random/chi_squared_distribution/operators/
1824         serialize.cc: Likewise.
1825         * testsuite/26_numerics/random/normal_distribution/operators/
1826         serialize.cc: Likewise.
1827         * testsuite/26_numerics/random/uniform_int_distribution/operators/
1828         serialize.cc: Likewise.
1829         * testsuite/26_numerics/random/poisson_distribution/operators/
1830         serialize.cc: Likewise.
1831         * testsuite/26_numerics/random/bernoulli_distribution/operators/
1832         serialize.cc: Likewise.
1833         * testsuite/26_numerics/random/discrete_distribution/operators/
1834         serialize.cc: Likewise.
1835         * testsuite/26_numerics/random/weibull_distribution/operators/
1836         serialize.cc: Likewise.
1837         * testsuite/26_numerics/random/negative_binomial_distribution/
1838         operators/serialize.cc: Likewise.
1839         * testsuite/26_numerics/random/cauchy_distribution/operators/
1840         serialize.cc: Likewise.
1841         * testsuite/26_numerics/random/gamma_distribution/operators/
1842         serialize.cc: Likewise.
1843         * testsuite/26_numerics/random/fisher_f_distribution/operators/
1844         serialize.cc: Likewise.
1845         * testsuite/26_numerics/random/exponential_distribution/operators/
1846         serialize.cc: Likewise.
1847         * testsuite/26_numerics/random/lognormal_distribution/operators/
1848         serialize.cc: Likewise.
1849         * testsuite/26_numerics/random/binomial_distribution/operators/
1850         serialize.cc: Likewise.
1851         * testsuite/26_numerics/random/extreme_value_distribution/operators/
1852         serialize.cc: Likewise.
1853         * testsuite/26_numerics/random/piecewise_linear_distribution/
1854         operators/serialize.cc
1855         * testsuite/26_numerics/random/student_t_distribution/operators/
1856         serialize.cc: Likewise.
1857         * testsuite/26_numerics/random/geometric_distribution/operators/
1858         serialize.cc: Likewise.
1859
1860 2009-08-14  Edward Smith-Rowland  <3dw4rd@verizon.net>
1861
1862         * include/bits/stl_tree.h: In C++0x mode make erase return
1863         an iterator as per DR 130.
1864         * include/bits/stl_set.h: Same.
1865         * include/bits/stl_multiset.h: Same.
1866         * include/bits/stl_map.h: Same.
1867         * include/bits/stl_multimap.h: Same.
1868         * doc/xml/manual/intro.xml: Document.
1869         * testsuite/23_containers/set/dr130.cc: New.
1870         * testsuite/23_containers/multiset/dr130.cc: New.
1871         * testsuite/23_containers/map/dr130.cc: New.
1872         * testsuite/23_containers/multimap/dr130.cc: New.
1873
1874 2009-08-14  Benjamin Kosnik  <bkoz@redhat.com>
1875
1876         * include/ext/pointer.h: Add pragma system_header, use
1877         _GLIBCXX_USE_LONG_LONG, macro cleanup.
1878
1879 2009-08-14  Uros Bizjak  <ubizjak@gmail.com>
1880
1881         * src/compatibility-ldbl.cc: Include cmath.
1882
1883 2009-08-13  Benjamin Kosnik  <bkoz@redhat.com>
1884
1885         * src/compatibility-ldbl.cc: Include tr1/functional.
1886
1887 2009-08-12  Benjamin Kosnik  <bkoz@redhat.com>
1888
1889         * src/compatibility-ldbl.cc: Add explicit namespace scope.
1890
1891 2009-08-11  Benjamin Kosnik  <bkoz@redhat.com>
1892
1893         * include/precompiled/extc++.h: Don't include TR1 if C++0x.
1894         * include/precompiled/stdc++.h: Don't include cassert if
1895         _GLIBCXX_NO_ASSERT defined.
1896         * include/ext/cast.h (_GLIBCXX_BEGIN_NAMESPACE): Remove extra
1897         semi-colon.
1898         * include/ext/pointer.h (_GCC_CXX_POINTER_COMPARISON_OPERATION_SET):
1899         Same.
1900
1901         * testsuite/17_intro/headers/all.cc: Move into dialect-specific
1902         directory.
1903         * testsuite/17_intro/headers/all_pedantic_errors.cc: Same.
1904         * testsuite/17_intro/headers/all_assert_neg.cc: Same.
1905         * testsuite/17_intro/headers/all_c++200x_compatibility.cc: Same.
1906
1907         * testsuite/17_intro/headers/c++1998/all.cc: Use extc++.h include.
1908         * testsuite/17_intro/headers/c++1998/stdc++.cc: Converted all.cc,
1909         use stdc++.h include.
1910         * testsuite/17_intro/headers/c++1998/all_pedantic_errors.cc: Same.
1911         * testsuite/17_intro/headers/c++1998/stdc++_assert_neg.cc: Same.
1912         * testsuite/17_intro/headers/c++1998/all_c++200x_compatibility.cc: Same.
1913         * testsuite/17_intro/headers/c++1998/all_no_exceptions.cc: New.
1914         * testsuite/17_intro/headers/c++1998/all_multiple_inclusion.cc: To...
1915         * testsuite/17_intro/headers/c++1998/stdc++_multiple_inclusion.cc
1916         ...this.
1917         * testsuite/17_intro/headers/c++200x/all.cc: To...
1918         * testsuite/17_intro/headers/c++200x/stdc++.cc: ..this.
1919         * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: To...
1920         * testsuite/17_intro/headers/c++200x/stdc++_multiple_inclusion.cc:
1921         ...this.
1922         * testsuite/17_intro/headers/c++200x/all_no_exceptions.cc: New.
1923         * testsuite/17_intro/headers/c++200x/all_pedantic_errors.cc: New.
1924
1925 2009-08-10  Benjamin Kosnik  <bkoz@redhat.com>
1926
1927         * include/std/future: Move error handling bits outside macro guard.
1928         * src/future.cc: Adjust.
1929
1930         * include/precompiled/stdc++.h: Add future.
1931         * doc/xml/manual/using.xml: Same.
1932
1933 2009-08-10  Benjamin Kosnik  <bkoz@redhat.com>
1934
1935         * src/hashtable.cc: Just definitions.
1936         * src/hashtable_c++0x.cc: Compile C++0x versions.
1937         * src/hash.cc: Same.
1938         * src/hash_c++0x.cc: Same.
1939         src/hash_tr1.cc: Compile TR1 versions.
1940         src/hashtable_tr1.cc: Same.
1941
1942         * src/limits_c++0x.cc: Sync build error handling.
1943
1944         * src/Makefile.am (sources): Change hash.cc to hash_tr1.cc,
1945         hashtable.cc to hashtable_tr1.cc.
1946         * src/Makefile.in: Regenerate.
1947
1948 2009-08-10  Benjamin Kosnik  <bkoz@redhat.com>
1949
1950         * include/tr1_impl/functional: Doxygen markup.
1951
1952         * doc/html/*: Regenerate.
1953
1954 2009-08-10  Benjamin Kosnik  <bkoz@redhat.com>
1955
1956         * include/std/future: Fixes for -fno-exceptions.
1957         * include/bits/functexcept.h: Same.
1958         * libsupc++/exception_ptr.h: Same.
1959         * src/pool_allocator.cc: Same.
1960         * src/future.cc: Same.
1961         * src/functexcept.cc: Same.
1962         * config/abi/pre/gnu.ver: New exports.
1963         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust.
1964         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Same.
1965         * testsuite/30_threads/unique_future/cons/assign_neg.cc: Same.
1966         * testsuite/30_threads/unique_future/cons/copy_neg.cc: Same.
1967         * testsuite/30_threads/shared_future/cons/assign_neg.cc: Same.
1968         * testsuite/30_threads/promise/cons/assign_neg.cc: Same.
1969         * testsuite/30_threads/promise/cons/copy_neg.cc: Same.
1970
1971         * testsuite/23_containers/deque/operators/1.cc: Separate in two...
1972         * testsuite/23_containers/deque/operators/2.cc: New.
1973
1974 2009-08-07  Paolo Carlini  <paolo.carlini@oracle.com>
1975
1976         * src/hash.cc (hash<string>::operator()(string),
1977         hash<wstring>::operator()(wstring)): Do not decorate as throwing
1978         nothing.
1979         * include/bits/functional_hash.h (hash<error_code>::
1980         operator()(error_code)): Likewise.
1981
1982 2009-08-06  Benjamin Kosnik  <bkoz@redhat.com>
1983
1984         * src/compatibility.cc: Make C++0x safe, add in explicit casts to
1985         bool for stream sentry objects.
1986         * include/bits/istream.tcc: Same.
1987         * include/bits/ostream.tcc: Same.
1988         * include/bits/basic_string.tcc: Same.
1989         * include/bits/ostream_insert.h: Same.
1990         * src/istream.cc: Same.
1991
1992 2009-08-04  Paolo Carlini  <paolo.carlini@oracle.com>
1993
1994         PR libstdc++/15523
1995         * include/debug/safe_iterator.h (_Safe_iterator<>::
1996         _Safe_iterator(const _Safe_iterator&), _Safe_iterator<>::
1997         operator=(const _Safe_iterator&)): Implement resolution of DR 408,
1998         do not error out when the source is a value-initialized iterator.
1999         * testsuite/23_containers/vector/15523.cc: New.
2000         * doc/xml/manual/intro.xml: Add an entry for DR 408.
2001
2002 2009-08-03  Paolo Carlini  <paolo.carlini@oracle.com>
2003
2004         * include/std/istream (operator>>(basic_istream<>&&, _Tp&)): Minor
2005         cosmetic changes, inline.
2006         * include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&)):
2007         Likewise.
2008         * include/bits/move.h: Minor cosmetic changes.
2009
2010 2009-08-02  Paolo Carlini  <paolo.carlini@oracle.com>
2011
2012         PR libstdc++/40912 (final)
2013         * testsuite/26_numerics/random/mt19937.cc: dg-require-cstdint.
2014         * testsuite/26_numerics/random/uniform_real_distribution/cons/
2015         parms_neg.cc: Likewise.
2016         * testsuite/26_numerics/random/uniform_real_distribution/cons/
2017         parms.cc: Likewise.
2018         * testsuite/26_numerics/random/uniform_real_distribution/cons/
2019         default.cc: Likewise.
2020         * testsuite/26_numerics/random/uniform_real_distribution/
2021         requirements/typedefs.cc: Likewise.
2022         * testsuite/26_numerics/random/piecewise_constant_distribution/
2023         cons/range.cc: Likewise.
2024         * testsuite/26_numerics/random/piecewise_constant_distribution/
2025         cons/default.cc: Likewise.
2026         * testsuite/26_numerics/random/piecewise_constant_distribution/
2027         cons/num_xbound_fun.cc: Likewise.
2028         * testsuite/26_numerics/random/piecewise_constant_distribution/
2029         cons/initlist_fun.cc: Likewise.
2030         * testsuite/26_numerics/random/piecewise_constant_distribution/
2031         requirements/typedefs.cc: Likewise.
2032         * testsuite/26_numerics/random/minstd_rand.cc: Likewise.
2033         * testsuite/26_numerics/random/chi_squared_distribution/cons/
2034         parms.cc: Likewise.
2035         * testsuite/26_numerics/random/chi_squared_distribution/cons/
2036         default.cc: Likewise.
2037         * testsuite/26_numerics/random/chi_squared_distribution/
2038         requirements/typedefs.cc: Likewise.
2039         * testsuite/26_numerics/random/normal_distribution/
2040         cons/parms.cc: Likewise.
2041         * testsuite/26_numerics/random/normal_distribution/
2042         cons/default.cc: Likewise.
2043         * testsuite/26_numerics/random/normal_distribution/
2044         requirements/typedefs.cc: Likewise.
2045         * testsuite/26_numerics/random/seed_seq/cons/
2046         range.cc: Likewise.
2047         * testsuite/26_numerics/random/seed_seq/cons/
2048         initlist.cc: Likewise.
2049         * testsuite/26_numerics/random/seed_seq/cons/
2050         default.cc: Likewise.
2051         * testsuite/26_numerics/random/seed_seq/requirements/
2052         typedefs.cc: Likewise.
2053         * testsuite/26_numerics/random/uniform_int_distribution/
2054         cons/parms_neg.cc: Likewise.
2055         * testsuite/26_numerics/random/uniform_int_distribution/
2056         cons/parms.cc: Likewise.
2057         * testsuite/26_numerics/random/uniform_int_distribution/
2058         cons/default.cc: Likewise.
2059         * testsuite/26_numerics/random/uniform_int_distribution/
2060         requirements/typedefs.cc: Likewise.
2061         * testsuite/26_numerics/random/poisson_distribution/cons/
2062         parms.cc: Likewise.
2063         * testsuite/26_numerics/random/poisson_distribution/cons/
2064         default.cc: Likewise.
2065         * testsuite/26_numerics/random/poisson_distribution/
2066         requirements/typedefs.cc: Likewise.
2067         * testsuite/26_numerics/random/bernoulli_distribution/
2068         cons/parms.cc: Likewise.
2069         * testsuite/26_numerics/random/bernoulli_distribution/
2070         cons/default.cc: Likewise.
2071         * testsuite/26_numerics/random/bernoulli_distribution/
2072         requirements/typedefs.cc: Likewise.
2073         * testsuite/26_numerics/random/ranlux24_base.cc: Likewise.
2074         * testsuite/26_numerics/random/
2075         default_random_engine.cc: Likewise.
2076         * testsuite/26_numerics/random/discrete_distribution/
2077         cons/range.cc: Likewise.
2078         * testsuite/26_numerics/random/discrete_distribution/
2079         cons/initlist.cc: Likewise.
2080         * testsuite/26_numerics/random/discrete_distribution/
2081         cons/default.cc: Likewise.
2082         * testsuite/26_numerics/random/discrete_distribution/
2083         cons/num_xbound_fun.cc: Likewise.
2084         * testsuite/26_numerics/random/discrete_distribution/
2085         requirements/typedefs.cc: Likewise.
2086         * testsuite/26_numerics/random/weibull_distribution/
2087         cons/parms.cc: Likewise.
2088         * testsuite/26_numerics/random/weibull_distribution/
2089         cons/default.cc: Likewise.
2090         * testsuite/26_numerics/random/weibull_distribution/
2091         requirements/typedefs.cc: Likewise.
2092         * testsuite/26_numerics/random/independent_bits_engine/
2093         cons/base_move.cc: Likewise.
2094         * testsuite/26_numerics/random/independent_bits_engine/
2095         cons/seed1.cc: Likewise.
2096         * testsuite/26_numerics/random/independent_bits_engine/
2097         cons/seed2.cc: Likewise.
2098         * testsuite/26_numerics/random/independent_bits_engine/
2099         cons/base_copy.cc: Likewise.
2100         * testsuite/26_numerics/random/independent_bits_engine/
2101         cons/default.cc: Likewise.
2102         * testsuite/26_numerics/random/independent_bits_engine/
2103         cons/seed_seq.cc: Likewise.
2104         * testsuite/26_numerics/random/independent_bits_engine/
2105         requirements/typedefs.cc: Likewise.
2106         * testsuite/26_numerics/random/independent_bits_engine/
2107         operators/equal.cc: Likewise.
2108         * testsuite/26_numerics/random/independent_bits_engine/
2109         operators/serialize.cc: Likewise.
2110         * testsuite/26_numerics/random/ranlux48_base.cc: Likewise.
2111         * testsuite/26_numerics/random/minstd_rand0.cc: Likewise.
2112         * testsuite/26_numerics/random/subtract_with_carry_engine/
2113         cons/seed1.cc: Likewise.
2114         * testsuite/26_numerics/random/subtract_with_carry_engine/
2115         cons/seed2.cc: Likewise.
2116         * testsuite/26_numerics/random/subtract_with_carry_engine/
2117         cons/default.cc: Likewise.
2118         * testsuite/26_numerics/random/subtract_with_carry_engine/
2119         requirements/typedefs.cc: Likewise.
2120         * testsuite/26_numerics/random/subtract_with_carry_engine/
2121         operators/equal.cc: Likewise.
2122         * testsuite/26_numerics/random/subtract_with_carry_engine/
2123         operators/serialize.cc: Likewise.
2124         * testsuite/26_numerics/random/discard_block_engine/cons/
2125         base_move.cc: Likewise.
2126         * testsuite/26_numerics/random/discard_block_engine/cons/
2127         seed1.cc: Likewise.
2128         * testsuite/26_numerics/random/discard_block_engine/cons/
2129         seed2.cc: Likewise.
2130         * testsuite/26_numerics/random/discard_block_engine/cons/
2131         base_copy.cc: Likewise.
2132         * testsuite/26_numerics/random/discard_block_engine/cons/
2133         default.cc: Likewise.
2134         * testsuite/26_numerics/random/discard_block_engine/cons/
2135         seed_seq.cc: Likewise.
2136         * testsuite/26_numerics/random/discard_block_engine/
2137         requirements/typedefs.cc: Likewise.
2138         * testsuite/26_numerics/random/discard_block_engine/
2139         operators/equal.cc: Likewise.
2140         * testsuite/26_numerics/random/discard_block_engine/
2141         operators/serialize.cc: Likewise.
2142         * testsuite/26_numerics/random/cauchy_distribution/
2143         cons/parms.cc: Likewise.
2144         * testsuite/26_numerics/random/cauchy_distribution/
2145         cons/default.cc: Likewise.
2146         * testsuite/26_numerics/random/cauchy_distribution/
2147         requirements/typedefs.cc: Likewise.
2148         * testsuite/26_numerics/random/negative_binomial_distribution/
2149         cons/parms.cc: Likewise.
2150         * testsuite/26_numerics/random/negative_binomial_distribution/
2151         cons/default.cc: Likewise.
2152         * testsuite/26_numerics/random/negative_binomial_distribution/
2153         requirements/typedefs.cc: Likewise.
2154         * testsuite/26_numerics/random/gamma_distribution/
2155         cons/parms.cc: Likewise.
2156         * testsuite/26_numerics/random/gamma_distribution/
2157         cons/default.cc: Likewise.
2158         * testsuite/26_numerics/random/gamma_distribution/
2159         requirements/typedefs.cc: Likewise.
2160         * testsuite/26_numerics/random/mersenne_twister_engine/
2161         cons/seed1.cc: Likewise.
2162         * testsuite/26_numerics/random/mersenne_twister_engine/
2163         cons/seed2.cc: Likewise.
2164         * testsuite/26_numerics/random/mersenne_twister_engine/
2165         cons/default.cc: Likewise.
2166         * testsuite/26_numerics/random/mersenne_twister_engine/
2167         requirements/typedefs.cc: Likewise.
2168         * testsuite/26_numerics/random/mersenne_twister_engine/
2169         operators/equal.cc: Likewise.
2170         * testsuite/26_numerics/random/mersenne_twister_engine/
2171         operators/serialize.cc: Likewise.
2172         * testsuite/26_numerics/random/fisher_f_distribution/
2173         cons/parms.cc: Likewise.
2174         * testsuite/26_numerics/random/fisher_f_distribution/
2175         cons/default.cc: Likewise.
2176         * testsuite/26_numerics/random/fisher_f_distribution/
2177         requirements/typedefs.cc: Likewise.
2178         * testsuite/26_numerics/random/exponential_distribution/
2179         cons/parms.cc: Likewise.
2180         * testsuite/26_numerics/random/exponential_distribution/
2181         cons/default.cc: Likewise.
2182         * testsuite/26_numerics/random/exponential_distribution/
2183         requirements/typedefs.cc: Likewise.
2184         * testsuite/26_numerics/random/binomial_distribution/
2185         cons/parms.cc: Likewise.
2186         * testsuite/26_numerics/random/binomial_distribution/
2187         cons/default.cc: Likewise.
2188         * testsuite/26_numerics/random/binomial_distribution/
2189         requirements/typedefs.cc: Likewise.
2190         * testsuite/26_numerics/random/lognormal_distribution/
2191         cons/parms.cc: Likewise.
2192         * testsuite/26_numerics/random/lognormal_distribution/
2193         cons/default.cc: Likewise.
2194         * testsuite/26_numerics/random/lognormal_distribution/
2195         requirements/typedefs.cc: Likewise.
2196         * testsuite/26_numerics/random/mt19937_64.cc: Likewise.
2197         * testsuite/26_numerics/random/random_device/cons/
2198         token.cc: Likewise.
2199         * testsuite/26_numerics/random/random_device/cons/
2200         default.cc: Likewise.
2201         * testsuite/26_numerics/random/random_device/
2202         requirements/typedefs.cc: Likewise.
2203         * testsuite/26_numerics/random/ranlux24.cc: Likewise.
2204         * testsuite/26_numerics/random/extreme_value_distribution/
2205         cons/parms.cc: Likewise.
2206         * testsuite/26_numerics/random/extreme_value_distribution/
2207         cons/default.cc: Likewise.
2208         * testsuite/26_numerics/random/extreme_value_distribution/
2209         requirements/typedefs.cc: Likewise.
2210         * testsuite/26_numerics/random/piecewise_linear_distribution/
2211         cons/range.cc: Likewise.
2212         * testsuite/26_numerics/random/piecewise_linear_distribution/
2213         cons/default.cc: Likewise.
2214         * testsuite/26_numerics/random/piecewise_linear_distribution/
2215         cons/num_xbound_fun.cc: Likewise.
2216         * testsuite/26_numerics/random/piecewise_linear_distribution/
2217         cons/initlist_fun.cc: Likewise.
2218         * testsuite/26_numerics/random/piecewise_linear_distribution/
2219         requirements/typedefs.cc: Likewise.
2220         * testsuite/26_numerics/random/student_t_distribution/
2221         cons/parms.cc: Likewise.
2222         * testsuite/26_numerics/random/student_t_distribution/
2223         cons/default.cc: Likewise.
2224         * testsuite/26_numerics/random/student_t_distribution/
2225         requirements/typedefs.cc: Likewise.
2226         * testsuite/26_numerics/random/linear_congruential_engine/
2227         cons/seed1.cc: Likewise.
2228         * testsuite/26_numerics/random/linear_congruential_engine/
2229         cons/seed2.cc: Likewise.
2230         * testsuite/26_numerics/random/linear_congruential_engine/
2231         cons/default.cc: Likewise.
2232         * testsuite/26_numerics/random/linear_congruential_engine/
2233         requirements/non_uint_neg.cc: Likewise.
2234         * testsuite/26_numerics/random/linear_congruential_engine/
2235         requirements/typedefs.cc: Likewise.
2236         * testsuite/26_numerics/random/linear_congruential_engine/
2237         operators/equal.cc: Likewise.
2238         * testsuite/26_numerics/random/linear_congruential_engine/
2239         operators/serialize.cc: Likewise.
2240         * testsuite/26_numerics/random/ranlux48.cc: Likewise.
2241         * testsuite/26_numerics/random/shuffle_order_engine/cons/
2242         base_move.cc: Likewise.
2243         * testsuite/26_numerics/random/shuffle_order_engine/cons/
2244         seed1.cc: Likewise.
2245         * testsuite/26_numerics/random/shuffle_order_engine/cons/
2246         seed2.cc: Likewise.
2247         * testsuite/26_numerics/random/shuffle_order_engine/cons/
2248         base_copy.cc: Likewise.
2249         * testsuite/26_numerics/random/shuffle_order_engine/cons/
2250         default.cc: Likewise.
2251         * testsuite/26_numerics/random/shuffle_order_engine/cons/
2252         seed_seq.cc: Likewise.
2253         * testsuite/26_numerics/random/shuffle_order_engine/
2254         requirements/typedefs.cc: Likewise.
2255         * testsuite/26_numerics/random/shuffle_order_engine/
2256         operators/equal.cc: Likewise.
2257         * testsuite/26_numerics/random/shuffle_order_engine/
2258         operators/serialize.cc: Likewise.
2259         * testsuite/26_numerics/random/geometric_distribution/
2260         cons/parms.cc: Likewise.
2261         * testsuite/26_numerics/random/geometric_distribution/
2262         cons/default.cc: Likewise.
2263         * testsuite/26_numerics/random/geometric_distribution/
2264         requirements/typedefs.cc: Likewise.
2265         * testsuite/26_numerics/random/knuth_b.cc: Likewise.
2266
2267 2009-07-31  Jason Merrill  <jason@redhat.com>
2268             Douglas Gregor  <doug.gregor@gmail.com>
2269
2270         * include/bits/move.h (forward): Implement as in N2835.
2271         (move): Implement as in N2831.
2272         * include/std/istream (rvalue stream operator>>): New.
2273         * include/std/ostream (rvalue stream operator<<): New.
2274         * testsuite/27_io/rvalue_streams.cc: New.
2275
2276 2009-07-31  Jason Merrill  <jason@redhat.com>
2277
2278         * include/bits/forward_list.h (splice_after): Use forward.
2279         (merge): Likewise.
2280         * include/bits/stl_iterator.h (move_iterator::operator*): Use move.
2281         (move_iterator::operator[]): Use move.
2282         * include/bits/stl_list.h (insert): Use move.
2283         * include/std/thread (_Callable constructor): Use forward.
2284         * include/std/tuple: Don't specify explicit template args to move.
2285
2286         * testsuite/20_util/forward/requirements/explicit_instantiation.cc:
2287         Adjust signature.
2288         * testsuite/20_util/tuple/swap.cc: Swap takes lvalue reference.
2289         * testsuite/30_threads/shared_future/cons/copy.cc: Return rvalue
2290         reference.
2291         * testsuite/20_util/shared_ptr/assign/auto_ptr.cc,
2292         testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc,
2293         testsuite/20_util/shared_ptr/cons/auto_ptr.cc,
2294         testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc,
2295         testsuite/23_containers/forward_list/ext_pointer/operations/1.cc,
2296         testsuite/23_containers/forward_list/ext_pointer/operations/5.cc,
2297         testsuite/23_containers/forward_list/operations/1.cc,
2298         testsuite/23_containers/forward_list/operations/5.cc: Use move.
2299         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc,
2300         testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc,
2301         testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc,
2302         testsuite/23_containers/list/requirements/dr438/insert_neg.cc,
2303         testsuite/30_threads/thread/cons/assign_neg.cc: Adjust line numbers.
2304
2305 2009-07-31  Paolo Carlini  <paolo.carlini@oracle.com>
2306
2307         PR libstdc++/40912 (partial)
2308         * include/std/random: Disable the facility if <stdint.h> is not
2309         available.
2310
2311 2009-07-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2312
2313         PR libstdc++/40919
2314         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
2315         xfail on darwin[3-9]*.
2316
2317 2009-07-30  Paolo Carlini  <paolo.carlini@oracle.com>
2318
2319         PR libstdc++/40917
2320         * testsuite/util/replacement_memory_operators.h: Add missing includes,
2321         tweak qualifications.
2322
2323 2009-07-30  Paolo Carlini  <paolo.carlini@oracle.com>
2324
2325         PR libstdc++/40916
2326         * testsuite/23_containers/list/modifiers/swap/1.cc: Fix include order.
2327         * testsuite/23_containers/list/modifiers/swap/2.cc: Likewise.
2328         * testsuite/23_containers/list/modifiers/swap/2.cc: Likewise.
2329
2330 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2331
2332         * acinclude.m4 (GLIBCXX_CONFIGURE): Use m4_rename_force.
2333
2334 2009-07-30  Paolo Carlini  <paolo.carlini@oracle.com>
2335
2336         PR libstdc++/40915
2337         * testsuite/18_support/headers/exception/synopsis.cc: Fix
2338         std::terminate declaration.
2339
2340 2009-07-29  Paolo Carlini  <paolo.carlini@oracle.com>
2341
2342         PR libstdc++/40908
2343         * config/abi/pre/gnu.ver: Avoid exporting inadvertently std::mutex
2344         symbols at GLIBCXX_3.4.
2345
2346 2009-07-29  Paolo Carlini  <paolo.carlini@oracle.com>
2347
2348         * config/abi/pre/gnu.ver: Add GLIBCXX_3.4.13, move a symbol into it.
2349         * testsuite/util/testsuite_abi.cc: Adjust.
2350         * configure.ac: Bump libtool_VERSION to 6:13:0.
2351         * configure: Regenerate.
2352
2353 2009-07-28  Benjamin Kosnik  <bkoz@redhat.com>
2354             Tyler Earman  <rem.intellegare@gmail.com>
2355
2356         * doc/xml/manual/configure.xml: Consistent placement of
2357         ABI-changing options, clarify --enable-clocale.
2358
2359 2009-07-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2360
2361         * python/Makefile.in: Regenerate.
2362
2363 2009-07-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2364
2365         * python/Makefile.am (install-data-local): Use DESTDIR
2366         correctly.
2367
2368 2009-07-24  Jason Merrill  <jason@redhat.com>
2369
2370         Core issue 901
2371         * libsupc++/vec.cc (__cxa_vec_new2, __cxa_vec_new3): Handle NULL
2372         dealloc.
2373
2374 2009-07-24  Joseph Myers  <joseph@codesourcery.com>
2375
2376         * include/c_global/cwchar (swprintf, vswprintf): Do not use if
2377         _GLIBCXX_HAVE_BROKEN_VSWPRINTF.
2378         * testsuite/lib/libstdc++.exp (check_v3_target_swprintf): New.
2379         * testsuite/lib/dg-options.exp (dg-require-swprintf): New.
2380         * testsuite/21_strings/headers/cwchar/functions_std.cc,
2381         testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc,
2382         testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
2383         Use dg-require-swprintf.
2384
2385 2009-07-24  Paolo Carlini  <paolo.carlini@oracle.com>
2386
2387         * testsuite/26_numerics/valarray/dr630-2.cc: Extend.
2388
2389 2009-07-23  Paolo Carlini  <paolo.carlini@oracle.com>
2390
2391         * include/c_std/cmath (abs(_Tp)): Add.
2392         * include/c_global/cmath (abs(_Tp)): Likewise.
2393         * testsuite/26_numerics/headers/cmath/overloads.cc: Extend.
2394
2395 2009-07-23  Paolo Carlini  <paolo.carlini@oracle.com>
2396
2397         * doc/html/ext/lwg-closed.html: Update to R65.
2398         * doc/html/ext/lwg-defects.html: Likewise.
2399         * doc/html/ext/lwg-active.html: Likewise.
2400         * doc/xml/manual/intro.xml: Update DRs entries.
2401
2402 2009-07-22  Jason Merrill  <jason@redhat.com>
2403
2404         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): Default to 0.
2405
2406 2009-07-22  Paolo Carlini  <paolo.carlini@oracle.com>
2407
2408         * include/std/valarray (valarray<>::operator=(const valarray<>&),
2409         valarray<>::operator=(initializer_list<>)): Implement resolution
2410         of DR 630, [Ready] in Frankfurt.
2411         * testsuite/26_numerics/valarray/dr630-1.cc: New.
2412         * testsuite/26_numerics/valarray/dr630-2.cc: Likewise.
2413         * doc/xml/manual/intro.xml: Add an entry for DR 630.
2414
2415 2009-07-21  Paolo Carlini  <paolo.carlini@oracle.com>
2416
2417         * include/std/chrono (duration<>::operator%=,  operator%):
2418         Add, per DR 934.
2419         * testsuite/20_util/duration/arithmetic/dr934-1.cc: New.
2420         * testsuite/20_util/duration/arithmetic/dr934-2.cc: Likewise.
2421
2422         * include/std/chrono (operator/): Simplify implementation.
2423
2424 2009-07-20  Benjamin Kosnik  <bkoz@redhat.com>
2425
2426         * doc/xml/manual/intro.xml: Escape '&', validate.
2427         * doc/xml/manual/using.xml: Validate, dead link check.
2428         * doc/xml/manual/strings.xml: Same.
2429         * doc/xml/manual/appendix_contributing.xml: Same.
2430         * doc/xml/manual/iterators.xml: Same.
2431         * doc/xml/manual/spine.xml: Same.
2432
2433         * doc/xml/faq.xml: Remove redundant xreflabel entities.
2434         * doc/xml/gnu/gpl-3.0.xml: Same.
2435         * doc/xml/manual/mt_allocator.xml: Same.
2436         * doc/xml/manual/allocator.xml: Same.
2437         * doc/xml/manual/ctype.xml: Same.
2438         * doc/xml/manual/codecvt.xml: Same.
2439         * doc/xml/manual/backwards_compatibility.xml: Same.
2440         * doc/xml/manual/shared_ptr.xml: Same.
2441         * doc/xml/manual/abi.xml: Same.
2442         * doc/xml/manual/auto_ptr.xml: Same.
2443         * doc/xml/manual/internals.xml: Same.
2444         * doc/xml/manual/parallel_mode.xml: Same.
2445         * doc/xml/manual/bitmap_allocator.xml: Same.
2446         * doc/xml/manual/build_hacking.xml: Same.
2447         * doc/xml/manual/evolution.xml: Same.
2448         * doc/xml/manual/debug.xml: Same.
2449         * doc/xml/manual/localization.xml: Same.
2450         * doc/xml/manual/appendix_contributing.xml: Same.
2451         * doc/xml/manual/locale.xml: Same.
2452         * doc/xml/manual/messages.xml: Same.
2453         * doc/xml/manual/spine.xml: Same.
2454         * doc/xml/manual/test.xml: Same.
2455         * doc/xml/book.txml: Same.
2456         * doc/xml/spine.xml: Same.
2457
2458         * doc/xml/api.xml: Clean up ulink targets, convert to link if possible.
2459         * doc/xml/manual/backwards_compatibility.xml: Same.
2460         * doc/xml/manual/concurrency.xml: Same.
2461         * doc/xml/manual/intro.xml: Same.
2462         * doc/xml/manual/parallel_mode.xml: Same.
2463         * doc/xml/manual/status_cxx1998.xml: Same.
2464         * doc/xml/manual/containers.xml: Same.
2465         * doc/xml/manual/io.xml: Same.
2466         * doc/xml/manual/support.xml: Same.
2467         * doc/xml/manual/strings.xml: Same.
2468         * doc/xml/manual/debug_mode.xml: Same.
2469         * doc/xml/manual/extensions.xml: Same.
2470         * doc/xml/manual/appendix_contributing.xml: Same.
2471         * doc/xml/manual/messages.xml: Same.
2472         * doc/xml/manual/test.xml: Same.
2473
2474         * doc/xml/manual/abi.xml: Same.
2475         * doc/xml/manual/auto_ptr.xml: Same.
2476         * doc/xml/manual/parallel_mode.xml: Same.
2477         * doc/xml/manual/build_hacking.xml: Same.
2478         * doc/xml/manual/evolution.xml: Same.
2479         * doc/xml/manual/using.xml: Same.
2480         * doc/xml/manual/debug_mode.xml: Same.
2481         * doc/xml/manual/extensions.xml: Same.
2482         * doc/xml/manual/diagnostics.xml: Same.
2483         * doc/xml/manual/algorithms.xml: Same.
2484
2485         * doc/html: Regenerate.
2486
2487 2009-07-18  Paolo Carlini  <paolo.carlini@oracle.com>
2488
2489         PR libstdc++/40712
2490         * config/locale/gnu/numeric_members.cc (numpunct<>::
2491         _M_initialize_numpunct): Dynamically allocate _M_data->_M_grouping
2492         and copy the langinfo data into it.
2493         (numpunct<>::~numpunct): Free the allocated memory.
2494         * config/locale/gnu/monetary_members.cc (moneypunct<>::
2495         _M_initialize_moneypunct): Dynamically allocate _M_data->_M_grouping,
2496         _M_data->_M_positive_sign, _M_data->_M_negative_sign,
2497         _M_data->_M_curr_symbol.
2498         (moneypunct<>::~moneypunct): Free the allocated memory.
2499         * testsuite/22_locale/moneypunct/40712.cc: New.
2500
2501         * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache):
2502         Do not leak memory if new throws.
2503         * include/bits/locale_facets_nonio.tcc
2504         (__moneypunct_cache<>::_M_cache): Likewise.
2505
2506 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
2507
2508         PR other/40784
2509         * configure: Regenerate.
2510
2511 2009-07-16  Benjamin Kosnik  <bkoz@redhat.com>
2512
2513         * testsuite/util/testsuite_common_types.h (standard_layout): Activate.
2514         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust
2515         line numbers.
2516         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
2517         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
2518         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
2519
2520 2009-07-16  Joseph Myers  <joseph@codesourcery.com>
2521
2522         * configure: Regenerate.
2523
2524 2009-07-16  Jason Merrill  <jason@redhat.com>
2525
2526         PR libstdc++/37907
2527         * include/std/type_traits: Add is_standard_layout, is_trivial.
2528         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc,
2529         testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2530         Update line numbers.
2531
2532 2009-07-16  Phil Muldoon <pmuldoon@redhat.com>
2533             Tom Tromey <tromey@redhat.com>
2534
2535         * python/libstdcxx/v6/printers.py (StdStringPrinter.to_string):
2536         Fetch std::string to the given length.
2537
2538 2009-07-16  Paolo Carlini  <paolo.carlini@oracle.com>
2539
2540         * include/bits/istream.tcc (basic_istream<>::operator>>(short&),
2541         basic_istream<>::operator>>(int&)): Implement resolution of DR 696,
2542         [Ready] in Frankfurt.
2543         * include/tr1_impl/regex (regex_traits<>::value): Adjust.
2544         * testsuite/27_io/basic_istream/extractors_arithmetic/char/dr696.cc:
2545         New.
2546         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/dr696.cc:
2547         Likewise.
2548         * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
2549         Adjust.
2550         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/13.cc:
2551         Likewise.
2552         * doc/xml/manual/intro.xml: Add an entry for DR 696.
2553
2554         * include/bits/istream.tcc: Minor clean-up to the initializers of the
2555         __err locals.
2556         * include/bits/ostream.tcc: Likewise.
2557         * src/compatibility.cc: Likewise.
2558         * src/istream.cc: Likewise.
2559
2560 2009-07-12  Paolo Carlini  <paolo.carlini@oracle.com>
2561
2562         * include/std/type_traits (common_type): Remove workaround for
2563         PR36628, now fixed.
2564
2565 2009-07-11  Richard Sandiford  <rdsandiford@googlemail.com>
2566
2567         PR testsuite/40699
2568         PR testsuite/40707
2569         PR testsuite/40709
2570         * testsuite/lib/libstdc++.exp: Revert 2009-06-30 commit.
2571
2572 2009-07-08  Janis Johnson  <janis187@us.ibm.com>
2573
2574         PR libstdc++/40691
2575         * include/bits/valarray_after.h (_Expr::operator!): Fix return type.
2576         * testsuite/26_numerics/valarray/40691.cc: New test.
2577
2578 2009-07-06  Benjamin Kosnik  <bkoz@redhat.com>
2579
2580         * testsuite/21_strings/c_strings/wchar_t/3.cc: Add copyright.
2581         * testsuite/21_strings/c_strings/char/3.cc: Same.
2582
2583 2009-07-06  Jason Merrill  <jason@redhat.com>
2584
2585         * libsupc++/vmi_class_type_info.cc (__do_dyncast): Use src2dst hint
2586         to defer searching bases that don't overlap the desired address.
2587
2588 2009-07-05  Joseph Myers  <joseph@codesourcery.com>
2589
2590         * testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stod.cc,
2591         testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stof.cc,
2592         testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoi.cc,
2593         testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stol.cc,
2594         testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stold.cc,
2595         testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoll.cc,
2596         testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoul.cc,
2597         testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoull.cc,
2598         testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
2599         to_wstring.cc, testsuite/ext/vstring/element_access/char/front_back.cc,
2600         testsuite/ext/vstring/element_access/wchar_t/front_back.cc,
2601         testsuite/ext/vstring/init-list.cc,
2602         testsuite/ext/vstring/moveable.cc,
2603         testsuite/ext/vstring/requirements/citerators.cc,
2604         testsuite/ext/vstring/requirements/explicit_instantiation/char16_t/1.cc,
2605         testsuite/ext/vstring/requirements/explicit_instantiation/char32_t/1.cc:
2606         Use dg-require-string-conversions.
2607
2608 2009-06-30  Richard Sandiford  <r.sandiford@uk.ibm.com>
2609
2610         * testsuite/lib/libstdc++.exp (libstdc++_init): Don't add "."
2611         to ld_library_path.  Use add_path.  Add just find_libgcc_s to
2612         ld_library_path, not every libgcc multilib directory.
2613
2614 2009-06-30  Paolo Carlini  <paolo.carlini@oracle.com>
2615
2616         PR libstdc++/40600
2617         * testsuite/25_algorithms/minmax/2.cc: Fix consistently with
2618         std::minmax return type.
2619         * testsuite/25_algorithms/minmax/3.cc: Likewise.
2620
2621 2009-06-30  Paolo Carlini  <paolo.carlini@oracle.com>
2622
2623         PR libstdc++/40511
2624         * config/locale/gnu/c_locale.cc: Don't use LC_CTYPE_MASK together
2625         with glibc2.2.x.
2626
2627 2009-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
2628
2629         * include/bits/random.tcc
2630         (linear_congruential_engine<>::seed(seed_seq&)): Use uint_least32_t
2631         as array type.
2632
2633 2009-06-29  Paolo Carlini  <paolo.carlini@oracle.com>
2634
2635         * include/bits/random.h (__mod(_Tp)): Use defaults.
2636         (struct _Mod): Adjust template parameters.
2637         (linear_congruential_engine<>::operator()()): Adjust.
2638         (typedef _UInt32Type): Remove.
2639         (mersenne_twister_engine<>::initialization_multiplier): Fix type.
2640         * include/bits/random.tcc (struct _Mod): Adjust template parameters.
2641         (linear_congruential_engine<>::seed(result_type)): Adjust __mod
2642         calls.
2643         (mersenne_twister_engine<>::seed(result_type)): Likewise.
2644         (mersenne_twister_engine<>::seed(seed_seq&)): Likewise.
2645         (subtract_with_carry_engine<>::seed(result_type)): Likewise.
2646         (subtract_with_carry_engine<>::seed(seed_seq&)): Likewise.
2647         (seed_seq::seed_seq(std::initializer_list<>)): Likewise.
2648         (seed_seq::seed_seq(_InputIterator, _InputIterator)): Likewise.
2649         (seed_seq::generate(_RandomAccessIterator, _RandomAccessIterator)):
2650         Likewise.
2651
2652         * include/bits/random.tcc
2653         (mersenne_twister_engine<>::seed(result_type)): Fix i usage in the
2654         formula (i mod n).
2655         (mersenne_twister_engine<>::seed(seed_seq&)): Use uint_least32_t
2656         as array type.
2657         (subtract_with_carry_engine<>::seed(seed_seq&)): Likewise; fix array
2658         size.
2659         (subtract_with_carry_engine<>::seed(result_type)): Fix; also use
2660         uint_least32_t.
2661
2662 2009-06-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
2663
2664         * include/std/future (shared_future): Adjust doxygen comment.
2665
2666 2009-06-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
2667
2668         PR libstdc++/40297
2669         * include/bits/atomic_0.h: Reverse debug assertions.
2670         * include/bits/atomic_2.h: Likewise.
2671
2672 2009-06-23  DJ Delorie  <dj@redhat.com>
2673
2674         Add MeP port.
2675         * configure.host: Add mep support.
2676
2677 2009-06-23  Benjamin Kosnik  <bkoz@redhat.com>
2678
2679         * doc/doxygen/user.cfg.in (PREDEFINED): Add _GLIBCXX_ATOMIC_BUILTINS_*.
2680         (INPUT): Add future.
2681         * include/std/future: Adjust markup.
2682         * testsuite/30_threads/shared_future/cons/assign_neg.cc: Adjust
2683         line numbers.
2684         * testsuite/30_threads/unique_future/cons/assign_neg.cc: Same.
2685         * testsuite/30_threads/unique_future/cons/copy_neg.cc: Same.
2686         * testsuite/30_threads/promise/cons/assign_neg.cc: Same.
2687         * testsuite/30_threads/promise/cons/copy_neg.cc: Same.
2688
2689 2009-06-23  Jonathan Wakely  <jwakely.gcc@gmail.com>
2690
2691         * include/bits/shared_ptr.h: Do not swap rvalues.
2692         * testsuite/20_util/owner_less/cmp.cc: Add missing test variables.
2693         * testsuite/20_util/shared_ptr/comparison/cmp.cc: Likewise.
2694         * testsuite/20_util/shared_ptr/comparison/less.cc: Likewise.
2695         * testsuite/20_util/weak_ptr/observers/owner_before.cc: Likewise.
2696         * testsuite/20_util/tuple/swap.cc: Likewise.
2697
2698 2009-06-23  Jonathan Wakely  <jwakely.gcc@gmail.com>
2699
2700         * include/debug/macros.h: Replace @tbd with valid doxygen tag @todo.
2701         * include/std/ratio: Typo in comment.
2702
2703 2009-06-23  Paolo Carlini  <paolo.carlini@oracle.com>
2704
2705         PR libstdc++/40518
2706         * include/bits/basic_string.h (basic_string<>::_Rep::
2707         _M_set_length_and_sharable): Do not write the empty rep.
2708         (basic_string<>::erase(iterator, iterator)): Likewise,
2709         move out of line...
2710         * include/bits/basic_string.tcc: ... here.
2711
2712 2009-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
2713
2714         * testsuite/util/testsuite_common_types.h (bitwise_operators,
2715         bitwise_assignment_operators): Initialize a and b.
2716         (struct has_bitwise_operators): Do not call the latter.
2717         * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust
2718         dg-error line numbers.
2719         * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
2720         * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
2721         * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
2722
2723 2009-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
2724
2725         * testsuite/23_containers/list/invalidation/1.cc: Mark test as
2726         possibly unused.
2727         * testsuite/23_containers/list/invalidation/2.cc: Likewise.
2728         * testsuite/23_containers/list/invalidation/3.cc: Likewise.
2729         * testsuite/23_containers/list/invalidation/4.cc: Likewise.
2730
2731 2009-06-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
2732
2733         * include/std/future: New.
2734         * include/Makefile.am: Add.
2735         * include/Makefile.in: Regenerate.
2736         * src/future.cc: New.
2737         * src/Makefile.am: Add.
2738         * src/Makefile.in: Regenerate.
2739         * config/abi/pre/gnu.ver: Add export.
2740         * testsuite/30_threads/headers/future/std_c++0x_neg.cc: New.
2741         * testsuite/30_threads/headers/future/types_std_c++0x.cc: New.
2742         * testsuite/30_threads/packaged_task/cons/1.cc: New.
2743         * testsuite/30_threads/packaged_task/cons/2.cc: New.
2744         * testsuite/30_threads/packaged_task/cons/assign_neg.cc: New.
2745         * testsuite/30_threads/packaged_task/cons/copy_neg.cc: New.
2746         * testsuite/30_threads/packaged_task/cons/move_assign.cc: New.
2747         * testsuite/30_threads/packaged_task/cons/move.cc: New.
2748         * testsuite/30_threads/packaged_task/members/boolconv.cc: New.
2749         * testsuite/30_threads/packaged_task/members/get_future.cc: New.
2750         * testsuite/30_threads/packaged_task/members/get_future2.cc: New.
2751         * testsuite/30_threads/packaged_task/members/invoke.cc: New.
2752         * testsuite/30_threads/packaged_task/members/invoke2.cc: New.
2753         * testsuite/30_threads/packaged_task/members/invoke3.cc: New.
2754         * testsuite/30_threads/packaged_task/members/invoke4.cc: New.
2755         * testsuite/30_threads/packaged_task/members/invoke5.cc: New.
2756         * testsuite/30_threads/packaged_task/members/reset.cc: New.
2757         * testsuite/30_threads/packaged_task/members/reset2.cc: New.
2758         * testsuite/30_threads/packaged_task/members/swap.cc: New.
2759         * testsuite/30_threads/packaged_task/requirements/
2760         explicit_instantiation.cc: New.
2761         * testsuite/30_threads/promise/cons/1.cc: New.
2762         * testsuite/30_threads/promise/cons/assign_neg.cc: New.
2763         * testsuite/30_threads/promise/cons/copy_neg.cc: New.
2764         * testsuite/30_threads/promise/cons/move_assign.cc: New.
2765         * testsuite/30_threads/promise/cons/move.cc: New.
2766         * testsuite/30_threads/promise/members/get_future.cc: New.
2767         * testsuite/30_threads/promise/members/get_future2.cc: New.
2768         * testsuite/30_threads/promise/members/set_exception.cc: New.
2769         * testsuite/30_threads/promise/members/set_exception2.cc: New.
2770         * testsuite/30_threads/promise/members/set_value.cc: New.
2771         * testsuite/30_threads/promise/members/set_value2.cc: New.
2772         * testsuite/30_threads/promise/members/set_value3.cc: New.
2773         * testsuite/30_threads/promise/members/swap.cc: New.
2774         * testsuite/30_threads/promise/requirements/
2775         explicit_instantiation.cc: New.
2776         * testsuite/30_threads/shared_future/cons/assign_neg.cc: New.
2777         * testsuite/30_threads/shared_future/cons/copy.cc: New.
2778         * testsuite/30_threads/shared_future/cons/default_neg.cc: New.
2779         * testsuite/30_threads/shared_future/cons/move.cc: New.
2780         * testsuite/30_threads/shared_future/members/get.cc: New.
2781         * testsuite/30_threads/shared_future/members/get2.cc: New.
2782         * testsuite/30_threads/shared_future/members/has_exception.cc: New.
2783         * testsuite/30_threads/shared_future/members/has_value.cc: New.
2784         * testsuite/30_threads/shared_future/members/is_ready.cc: New.
2785         * testsuite/30_threads/shared_future/members/wait.cc: New.
2786         * testsuite/30_threads/shared_future/members/wait_for.cc: New.
2787         * testsuite/30_threads/shared_future/members/wait_until.cc: New.
2788         * testsuite/30_threads/shared_future/requirements/
2789         explicit_instantiation.cc: New.
2790         * testsuite/30_threads/unique_future/cons/assign_neg.cc: New.
2791         * testsuite/30_threads/unique_future/cons/copy_neg.cc: New.
2792         * testsuite/30_threads/unique_future/cons/default_neg.cc: New.
2793         * testsuite/30_threads/unique_future/cons/move.cc: New.
2794         * testsuite/30_threads/unique_future/members/get.cc: New.
2795         * testsuite/30_threads/unique_future/members/get2.cc: New.
2796         * testsuite/30_threads/unique_future/members/has_exception.cc: New.
2797         * testsuite/30_threads/unique_future/members/has_value.cc: New.
2798         * testsuite/30_threads/unique_future/members/is_ready.cc: New.
2799         * testsuite/30_threads/unique_future/members/wait.cc: New.
2800         * testsuite/30_threads/unique_future/members/wait_for.cc: New.
2801         * testsuite/30_threads/unique_future/members/wait_until.cc: New.
2802         * testsuite/30_threads/unique_future/requirements/
2803         explicit_instantiation.cc: New.
2804         * testsuite/performance/30_threads/future/polling.cc: New.
2805
2806 2009-06-20  Paolo Carlini  <paolo.carlini@oracle.com>
2807
2808         * Revert last Change.
2809
2810 2009-06-20  Paolo Carlini  <paolo.carlini@oracle.com>
2811
2812         PR libstdc++/40497
2813         * include/bits/stl_iterator_base_funcs.h (next, prev): Fix the
2814         signature per the current C++1x draft (N2857).
2815         * testsuite/24_iterators/operations/40497.cc: Add.
2816
2817 2009-06-19  Paolo Carlini  <paolo.carlini@oracle.com>
2818
2819         * include/bits/random.h (_Adaptor): Simplify for _DInputType always
2820         a floating point type.
2821         (uniform_int_distribution<>::uniform_int_distribution(_IntType,
2822         _IntType)): Fix second default argument.
2823         (uniform_int_distribution<>::_M_call): Remove.
2824         (uniform_int_distribution<>::operator()(_UniformRandomNumberGenerator&,
2825         const param_type&)): Only declare.
2826         * include/bits/random.tcc (uniform_int_distribution<>::_M_call(
2827         _UniformRandomNumberGenerator&, result_type, result_type, true_type):
2828         Remove.
2829         uniform_int_distribution<>::operator()(_UniformRandomNumberGenerator&,
2830         const param_type&): Define here.
2831         (geometric_distribution<>::operator()(_UniformRandomNumberGenerator&,
2832         const param_type&), discrete_distribution<>::operator()
2833         (_UniformRandomNumberGenerator&, const param_type&),
2834         piecewise_constant_distribution<>::operator()
2835         (_UniformRandomNumberGenerator&, const param_type&),
2836         piecewise_linear_distribution<>::operator()
2837         (_UniformRandomNumberGenerator&, const param_type&)): Use double as
2838         the second template argument of _Adaptor.
2839         * testsuite/26_numerics/random/uniform_int_distribution/cons/
2840         default.cc: Adjust.
2841
2842 2009-06-19  Paolo Carlini  <paolo.carlini@oracle.com>
2843
2844         * include/bits/random.tcc (discrete_distribution<>::param_type::
2845         param_type(size_t, double, double, _Func),
2846         discrete_distribution<>::operator()(_UniformRandomNumberGenerator&,
2847         const param_type&)): Tidy.
2848         (piecewise_constant_distribution<>::param_type::_M_initialize):
2849         Use reserve, fix.
2850         (piecewise_constant_distribution<>::param_type::
2851         param_type(initializer_list<>, _Func),
2852         piecewise_constant_distribution<>::param_type::
2853         param_type(size_t, _RealType, _RealType, _Func),
2854         piecewise_linear_distribution<>::param_type::
2855         param_type(initializer_list<>, _Func),
2856         piecewise_linear_distribution<>::param_type::
2857         param_type(size_t, _RealType, _RealType, _Func)): Use reserve, tidy.
2858         (piecewise_constant_distribution<>::param_type::
2859         param_type(_InputIteratorB, _InputIteratorB, _InputIteratorW),
2860         piecewise_constant_distribution<>::
2861         operator()(_UniformRandomNumberGenerator&, const param_type&),
2862         piecewise_linear_distribution<>::
2863         operator()(_UniformRandomNumberGenerator&, const param_type&)): Fix.
2864         (operator>>(std::basic_istream<>&,
2865         piecewise_constant_distribution<>&),
2866         operator>>(std::basic_istream<>&, piecewise_linear_distribution<>&)):
2867         Use reserve.
2868         * include/bits/random.h: Minor cosmetic changes.
2869
2870 2009-06-17  Benjamin Kosnik  <bkoz@redhat.com>
2871
2872         * testsuite/23_containers/list/check_construct_destroy.h: New.
2873         Move test logic here.
2874         * testsuite/23_containers/list/moveable.h: Same.
2875         * testsuite/23_containers/list/modifiers/insert/25288.h: Same.
2876         * testsuite/23_containers/list/modifiers/1.h: Same.
2877         * testsuite/23_containers/list/modifiers/2.h: Same.
2878         * testsuite/23_containers/list/modifiers/3.h: Same.
2879         * testsuite/23_containers/list/modifiers/swap/1.h: Same.
2880         * testsuite/23_containers/list/modifiers/swap/2.h: Same.
2881         * testsuite/23_containers/list/modifiers/swap/3.h: Same.
2882         * testsuite/23_containers/list/operations/1.h: Same.
2883         * testsuite/23_containers/list/operations/2.h: Same.
2884         * testsuite/23_containers/list/operations/3.h: Same.
2885         * testsuite/23_containers/list/operations/4.h: Same.
2886         * testsuite/23_containers/list/operations/5.h: Same.
2887         * testsuite/23_containers/list/capacity/1.h: Same.
2888         * testsuite/23_containers/list/init-list.h: Same.
2889         * testsuite/23_containers/list/cons/1.h: Same.
2890         * testsuite/23_containers/list/cons/2.h: Same.
2891         * testsuite/23_containers/list/cons/3.h: Same.
2892         * testsuite/23_containers/list/cons/4.h: Same.
2893         * testsuite/23_containers/list/cons/5.h: Same.
2894         * testsuite/23_containers/list/cons/6.h: Same.
2895         * testsuite/23_containers/list/cons/7.h: Same.
2896         * testsuite/23_containers/list/cons/8.h: Same.
2897         * testsuite/23_containers/list/cons/9.h: Same.
2898         * testsuite/23_containers/list/cons/clear_allocator.h: Same.
2899         * testsuite/23_containers/list/modifiers/insert/25288.cc: Include test
2900         header.
2901         * testsuite/23_containers/list/modifiers/1.cc: Same.
2902         * testsuite/23_containers/list/modifiers/2.cc: Same.
2903         * testsuite/23_containers/list/modifiers/3.cc: Same.
2904         * testsuite/23_containers/list/modifiers/swap/1.cc: Same.
2905         * testsuite/23_containers/list/modifiers/swap/2.cc: Same.
2906         * testsuite/23_containers/list/modifiers/swap/3.cc: Same.
2907         * testsuite/23_containers/list/operations/1.cc: Same.
2908         * testsuite/23_containers/list/operations/2.cc: Same.
2909         * testsuite/23_containers/list/operations/3.cc: Same.
2910         * testsuite/23_containers/list/operations/4.cc: Same.
2911         * testsuite/23_containers/list/operations/5.cc: Same.
2912         * testsuite/23_containers/list/capacity/1.cc: Same.
2913         * testsuite/23_containers/list/init-list.cc: Same.
2914         * testsuite/23_containers/list/cons/1.cc: Same.
2915         * testsuite/23_containers/list/cons/2.cc: Same.
2916         * testsuite/23_containers/list/cons/3.cc: Same.
2917         * testsuite/23_containers/list/cons/4.cc: Same.
2918         * testsuite/23_containers/list/cons/5.cc: Same.
2919         * testsuite/23_containers/list/cons/6.cc: Same.
2920         * testsuite/23_containers/list/cons/7.cc: Same.
2921         * testsuite/23_containers/list/cons/8.cc: Same.
2922         * testsuite/23_containers/list/cons/9.cc: Same.
2923         * testsuite/23_containers/list/cons/clear_allocator.cc: Same.
2924         * testsuite/23_containers/list/check_construct_destroy.cc: Same.
2925         * testsuite/23_containers/list/moveable.cc: Same.
2926
2927 2009-06-17  Tom Tromey  <tromey@redhat.com>
2928
2929         * python/hook.in: Do not fail when there is no current objfile.
2930         Use os.path.normpath.
2931
2932 2009-06-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
2933
2934         * libsupc++/exception_ptr.h (exception_ptr::swap(exception_ptr&&)):
2935         Remove.
2936         (exception_ptr::operator=(exception_ptr&&)): Cast source to
2937         rvalue-reference so that move constructor is called.
2938         * testsuite/18_support/exception_ptr/move.cc: New.
2939
2940 2009-06-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
2941
2942         * include/std/thread (~thread(), operator=(thread&&)): Call terminate
2943         if joinable.
2944
2945 2009-06-15  Tom Tromey  <tromey@redhat.com>
2946
2947         * python/libstdcxx/v6/printers.py (StdMapPrinter.__init__): Don't
2948         set self.iter.
2949         (StdMapPrinter.to_string): Make a new iterator.
2950         (StdMapPrinter.children): Likewise.
2951         (StdSetPrinter.__init__): Don't set self.iter.
2952         (StdSetPrinter.to_string): Make a new iterator.
2953         (StdSetPrinter.children): Likewise.
2954
2955 2009-06-11  Paolo Carlini  <paolo.carlini@oracle.com>
2956
2957         * include/bits/random.tcc
2958         (negative_binomial_distribution<>::operator()
2959         (_UniformRandomNumberGenerator&, const param_type&): Tweak to use a
2960         class member gamma_distribution.
2961         (negative_binomial_distribution<>::operator()
2962         (_UniformRandomNumberGenerator&)): Implement out of line here.
2963         (operator<<(basic_ostream<>&, negative_binomial_distribution<>),
2964         operator>>(basic_ostream<>&, negative_binomial_distribution<>): Adjust.
2965         (student_t_distribution<>::operator()
2966         (_UniformRandomNumberGenerator&, const param_type&): Move inline,
2967         simplify.
2968         (operator<<(basic_ostream<>&, student_t_distribution<>),
2969         operator>>(basic_ostream<>&, student_t_distribution<>): Adjust.
2970         (chi_squared_distribution<>::operator()
2971         (_UniformRandomNumberGenerator&, const param_type&): Move inline,
2972         tweak to use a class member gamma_distribution.
2973         (operator<<(basic_ostream<>&, chi_squared_distribution<>),
2974         operator>>(basic_ostream<>&, chi_squared_distribution<>): Adjust.
2975         (fisher_f_distribution<>::operator() (_UniformRandomNumberGenerator&,
2976         const param_type&): Move inline, tweak to use class member
2977         gamma_distributions.
2978         (operator<<(basic_ostream<>&, fisher_f_distribution<>),
2979         operator>>(basic_ostream<>&, fisher_f_distribution<>): Adjust.
2980         * include/bits/random.h: Adjust, minor tweaks.
2981
2982 2009-06-10  Tom Tromey  <tromey@redhat.com>
2983
2984         * python/libstdcxx/v6/printers.py (lookup_function): Remove extra ';'.
2985         (build_libstdcxx_dictionary): Accept shortened form of
2986         basic_string names.
2987         (StdStringPrinter.to_string): Remove reference to WideEncoding.
2988
2989 2009-06-10  Tom Tromey  <tromey@redhat.com>
2990
2991         PR libstdc++/40289:
2992         * python/Makefile.in: Rebuild.
2993         * python/hook.in: Compute module path relative to objfile.
2994         * python/Makefile.am (pythondir): Redefine.
2995         (gdb.py): Subst toolexeclibdir.
2996         (install-data-local): Rewrite.
2997
2998 2009-06-09  Benjamin Kosnik  <bkoz@redhat.com>
2999
3000         * include/bits/move.h: Doxygen group fixes.
3001
3002 2009-06-08  Paolo Carlini  <paolo.carlini@oracle.com>
3003
3004         * include/bits/random.tcc (gamma_distribution<>::operator()
3005         (_UniformRandomNumberGenerator&, const param_type&): Redo, using
3006         the Marsaglia/Tsang algorithm.
3007         (gamma_distribution<>::param_type::_M_initialize): Adjust.
3008         (operator<<(basic_ostream<>&, gamma_distribution<>),
3009         operator>>(basic_ostream<>&, gamma_distribution<>): Likewise.
3010
3011         * include/bits/random.tcc(student_t_distribution<>::_M_gaussian):
3012         Remove, just use normal_distribution.
3013         (operator<<(basic_ostream<>&, student_t_distribution<>),
3014         operator>>(basic_ostream<>&, student_t_distribution<>): Adjust.
3015         (linear_congruential_engine<>::operator()()): Move inline.
3016         (lognormal_distribution<>::operator()(_UniformRandomNumberGenerator&,
3017         const param_type&)): Move inline, just use normal_distribution.
3018         (operator<<(basic_ostream<>&, lognormal_distribution<>),
3019         operator>>(basic_ostream<>&, lognormal_distribution<>): Adjust.
3020         (weibull_distribution<>::operator()(_UniformRandomNumberGenerator&,
3021         const param_type&)): Move here, out of line.
3022         (piecewise_constant_distribution<>::param_type::param_type()): Move
3023         inline.
3024         * include/bits/random.h: Adjust, minor tweaks.
3025
3026 2009-06-05  Benjamin Kosnik  <bkoz@redhat.com>
3027
3028         * testsuite/29_atomics/atomic_address/cons/aggregate.cc: Remove xfail.
3029
3030 2009-06-04  Benjamin Kosnik  <bkoz@redhat.com>
3031
3032         * include/ext/throw_allocator.h: Rework.
3033         * include/ext/pb_ds/detail/debug_map_base.hpp: Adjust usage.
3034         * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
3035         * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
3036         * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
3037         * testsuite/23_containers/list/modifiers/insert/25288.cc: Same.
3038         * testsuite/util/regression/rand/priority_queue/
3039         container_rand_regression_test.tcc: Inline functions.
3040         * testsuite/util/regression/rand/assoc/
3041         container_rand_regression_test.tcc: Same.
3042
3043 2009-06-03  Benjamin Kosnik  <bkoz@redhat.com>
3044
3045         * testsuite/23_containers/list/cons/6.cc: Adjust test name.
3046
3047 2009-06-02  Richard Sandiford  <r.sandiford@uk.ibm.com>
3048
3049         * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Handle AIX targets.
3050         * configure: Regenerate.
3051
3052 2009-06-03  Paolo Carlini  <paolo.carlini@oracle.com>
3053
3054         PR libstdc++/40299
3055         * include/ext/memory: Fully qualify calls with __gnu_cxx.
3056         * testsuite/ext/rope/40299.cc: New.
3057
3058 2009-05-28  Tom Tromey  <tromey@redhat.com>
3059             Phil Muldoon  <pmuldoon@redhat.com>
3060             Jonathan Wakely  <jwakely.gcc@gmail.com>
3061
3062         * python/Makefile.in, , python/libstdcxx/__init__.py,
3063         python/libstdcxx/v6/__init__.py, python/libstdcxx/v6/printers.py,
3064         python/hook.in, python/Makefile.am: New files.
3065         * configure, Makefile.in: Rebuild.
3066         * acinclude.m4 (glibcxx_SUBDIRS): Add python.
3067         * Makefile.am (SUBDIRS): Add python.
3068
3069 2009-05-28  Benjamin Kosnik  <bkoz@redhat.com>
3070
3071         * testsuite/util/testsuite_allocator.h (check_new, check_delete): Move
3072         to ...
3073         * testsuite/util/replacement_memory_operators.h: ...here. New.
3074         * testsuite/util/testsuite_hooks.h (counter): To object_counter.
3075         * testsuite/util/testsuite_hooks.cc: Same.
3076
3077         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Use
3078         replacement_memory_operators.h.
3079         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
3080         * testsuite/ext/mt_allocator/check_delete.cc: Same.
3081         * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Same.
3082         * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Same.
3083         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
3084         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
3085         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
3086         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
3087         * testsuite/ext/mt_allocator/deallocate_local-6.cc: Same.
3088         * testsuite/ext/mt_allocator/deallocate_local-8.cc: Same.
3089         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
3090         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
3091         * testsuite/ext/mt_allocator/check_new.cc: Same.
3092         * testsuite/ext/debug_allocator/check_delete.cc: Same.
3093         * testsuite/ext/debug_allocator/check_new.cc: Same.
3094         * testsuite/ext/new_allocator/deallocate_global.cc: Same.
3095         * testsuite/ext/new_allocator/check_delete.cc: Same.
3096         * testsuite/ext/new_allocator/check_new.cc: Same.
3097         * testsuite/ext/new_allocator/deallocate_local.cc: Same.
3098         * testsuite/ext/throw_allocator/deallocate_global.cc: Same.
3099         * testsuite/ext/throw_allocator/check_delete.cc: Same.
3100         * testsuite/ext/throw_allocator/check_new.cc: Same.
3101         * testsuite/ext/throw_allocator/deallocate_local.cc: Same.
3102         * testsuite/ext/malloc_allocator/deallocate_global.cc: Same.
3103         * testsuite/ext/malloc_allocator/check_delete.cc: Same.
3104         * testsuite/ext/malloc_allocator/check_new.cc: Same.
3105         * testsuite/ext/malloc_allocator/deallocate_local.cc: Same.
3106         * testsuite/ext/pool_allocator/check_delete.cc: Same.
3107         * testsuite/ext/pool_allocator/check_new.cc: Same.
3108         * testsuite/ext/bitmap_allocator/check_delete.cc: Same.
3109         * testsuite/ext/bitmap_allocator/check_new.cc: Same.
3110         * testsuite/ext/array_allocator/check_delete.cc: Same.
3111         * testsuite/ext/array_allocator/check_new.cc: Same.
3112         * testsuite/23_containers/deque/cons/1.cc: Same.
3113         * testsuite/23_containers/deque/cons/2.cc: Same.
3114
3115 2009-05-27  Benjamin Kosnik  <bkoz@redhat.com>
3116
3117         * libsupc++/initializer_list: Format.
3118         * testsuite/18_support/initializer_list/requirements/typedefs.cc: New.
3119         * testsuite/18_support/initializer_list/requirements/
3120         explicit_instantiation.cc: New.
3121
3122 2009-05-27  Benjamin Kosnik  <bkoz@redhat.com>
3123
3124         PR libstdc++/40273
3125         * include/tr1_impl/functional: Add explicit casts.
3126         * testsuite/20_util/function/requirements/
3127         explicit_instantiation.cc: New.
3128         * testsuite/20_util/function/null_pointer_comparisons.cc: New.
3129
3130 2009-05-24  Eelis van der Weegen  <eelis@eelis.net>
3131
3132         * libsupc++/initializer_list (initializer_list): Add missing typedefs.
3133
3134 2009-05-21  Benjamin Kosnik  <bkoz@redhat.com>
3135
3136         PR libstdc++/40221
3137         * include/tr1_impl/functional: Add explicit cast.
3138
3139 2009-05-21  Paolo Carlini  <paolo.carlini@oracle.com>
3140
3141         PR libstdc++/40094
3142         Revert:
3143         2009-05-07  Paolo Carlini  <paolo.carlini@oracle.com>
3144         * include/ext/throw_allocator.h (throw_allocator_base): Avoid
3145         out of line member functions definitions.
3146         (throw_allocator_base::_S_g, _S_map, _S_throw_prob, _S_label):
3147         Remove, use static locals instead.
3148         (throw_allocator_base::do_check_allocated, print_to_string): Declare.
3149         * src/throw_allocator.cc: New.
3150         * src/Makefile.am: Add.
3151         * config/abi/pre/gnu.ver: Add exports.
3152         * src/Makefile.in: Regenerate.
3153
3154 2009-05-20  Benjamin Kosnik  <bkoz@redhat.com>
3155
3156         * include/tr1_impl/functional (function): Use explicit operator bool.
3157         * include/bits/shared_ptr.h (__shared_ptr): Same.
3158         * include/bits/unique_ptr.h (unique_ptr): Same.
3159         * include/std/mutex (unique_lock): Same.
3160         * include/std/system_error (error_code): Same.
3161         (error_condition): Same.
3162         * include/std/ostream (sentry): Same.
3163         * include/std/istream (sentry): Same.
3164         * testsuite/19_diagnostics/error_condition/operators/bool.cc: Adjust.
3165         * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc: Same.
3166         * testsuite/19_diagnostics/error_code/operators/bool.cc: Same.
3167         * testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Same.
3168         * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Same.
3169         * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Same.
3170         * testsuite/20_util/shared_ptr/observers/bool_conv.cc: Same.
3171
3172 2009-05-19  Benjamin Kosnik  <bkoz@redhat.com>
3173
3174         * testsuite/23_containers/list/14340.cc: Abstract list type.
3175         * testsuite/23_containers/list/init-list.cc: Same.
3176         * testsuite/23_containers/list/pthread5.cc: Same.
3177         * testsuite/23_containers/list/invalidation/1.cc: Same.
3178         * testsuite/23_containers/list/invalidation/2.cc: Same.
3179         * testsuite/23_containers/list/invalidation/3.cc: Same.
3180         * testsuite/23_containers/list/invalidation/4.cc: Same.
3181         * testsuite/23_containers/list/modifiers/insert/25288.cc: Same.
3182         * testsuite/23_containers/list/modifiers/1.cc: Same.
3183         * testsuite/23_containers/list/modifiers/2.cc: Same.
3184         * testsuite/23_containers/list/modifiers/3.cc: Same.
3185         * testsuite/23_containers/list/modifiers/swap/1.cc: Same.
3186         * testsuite/23_containers/list/modifiers/swap/2.cc: Same.
3187         * testsuite/23_containers/list/modifiers/swap/3.cc: Same.
3188         * testsuite/23_containers/list/cons/1.cc: Same.
3189         * testsuite/23_containers/list/cons/2.cc: Same.
3190         * testsuite/23_containers/list/cons/3.cc: Same.
3191         * testsuite/23_containers/list/cons/4.cc: Same.
3192         * testsuite/23_containers/list/cons/5.cc: Same.
3193         * testsuite/23_containers/list/cons/6.cc: Same.
3194         * testsuite/23_containers/list/cons/7.cc: Same.
3195         * testsuite/23_containers/list/cons/clear_allocator.cc: Same.
3196         * testsuite/23_containers/list/cons/8.cc: Same.
3197         * testsuite/23_containers/list/cons/9.cc: Same.
3198         * testsuite/23_containers/list/operations/1.cc: Same.
3199         * testsuite/23_containers/list/operations/2.cc: Same.
3200         * testsuite/23_containers/list/operations/3.cc: Same.
3201         * testsuite/23_containers/list/operations/4.cc: Same.
3202         * testsuite/23_containers/list/operations/5.cc: Same.
3203         * testsuite/23_containers/list/requirements/citerators.cc: Same.
3204         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
3205         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
3206         * testsuite/23_containers/list/requirements/dr438/
3207         constructor_1_neg.cc: Same.
3208         * testsuite/23_containers/list/requirements/dr438/
3209         constructor_2_neg.cc: Same.
3210         * testsuite/23_containers/list/requirements/dr438/constructor.cc: Same.
3211         * testsuite/23_containers/list/requirements/
3212         partial_specialization/1.cc: Same.
3213         * testsuite/23_containers/list/23781.cc: Same.
3214         * testsuite/23_containers/list/pthread1.cc: Same.
3215         * testsuite/23_containers/list/capacity/1.cc: Same.
3216         * testsuite/23_containers/list/capacity/29134.cc: Same.
3217         * testsuite/23_containers/list/check_construct_destroy.cc: Same.
3218         * testsuite/23_containers/list/moveable.cc: Same.
3219
3220         * testsuite/util/common_type/assoc/common_type.hpp: Re-break lines.
3221
3222 2009-05-19  Paolo Carlini  <paolo.carlini@oracle.com>
3223
3224         PR libstdc++/40184
3225         * include/bits/locale_classes.h (locale::facet::_S_lc_ctype_c_locale):
3226         Declare...
3227         * config/locale/gnu/c_locale.cc: ... and define.
3228         * config/locale/generic/c_locale.cc: Define.
3229         * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
3230         Use it.
3231         * testsuite/22_locale/locale/cons/40184.cc: New.
3232
3233 2009-05-18  Paolo Carlini  <paolo.carlini@oracle.com>
3234
3235         PR libstdc++/40192
3236         * include/bits/stl_construct.h (struct _Destroy_aux): Add.
3237         (_Destroy(_ForwardIterator, _ForwardIterator)): Use the latter.
3238         * testsuite/23_containers/vector/40192.cc: New.
3239
3240 2009-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
3241
3242         * include/bits/stl_pair.h (swap): Do not swap rvalues.
3243         * include/bits/stl_deque.h (swap): Likewise.
3244         * include/bits/stl_list.h (swap): Likewise.
3245         * include/bits/stl_vector.h (swap): Likewise.
3246         * include/bits/stl_bvector.h (swap): Likewise.
3247         * include/bits/stl_queue.h (swap): Likewise.
3248         * include/bits/stl_stack.h (swap): Likewise.
3249         * include/bits/stl_tree.h (swap): Likewise.
3250         * include/bits/stl_map.h (swap): Likewise.
3251         * include/bits/stl_multimap.h (swap): Likewise.
3252         * include/bits/stl_set.h (swap): Likewise.
3253         * include/bits/stl_multiset.h (swap): Likewise.
3254         * include/bits/forward_list.h (swap): Likewise.
3255         * include/bits/unique_ptr.h (swap): Likewise.
3256         * include/debug/deque (swap): Likewise.
3257         * include/debug/list (swap): Likewise.
3258         * include/debug/vector (swap): Likewise.
3259         * include/debug/map.h (swap): Likewise.
3260         * include/debug/multimap.h (swap): Likewise.
3261         * include/debug/set.h (swap): Likewise.
3262         * include/debug/multiset.h (swap): Likewise.
3263         * include/debug/unordered_map (swap): Likewise.
3264         * include/debug/unordered_set (swap): Likewise.
3265         * include/ext/vstring.h (swap): Likewise.
3266         * include/tr1_impl/unordered_map (swap): Likewise.
3267         * include/tr1_impl/hashtable (swap): Likewise.
3268         * include/tr1_impl/unordered_set (swap): Likewise.
3269         * include/std/tuple (swap): Likewise.
3270         * include/std/mutex (swap): Likewise.
3271         * include/std/thread (swap): Likewise.
3272         (operator<<): Only output to lvalue streams.
3273         * testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: Remove.
3274         * testsuite/23_containers/headers/forward_list/synopsis.cc: Adjust.
3275         * testsuite/23_containers/deque/requirements/dr438/
3276         assign_neg.cc: Adjust line numbers.
3277         * testsuite/23_containers/deque/requirements/dr438/