OSDN Git Service

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