OSDN Git Service

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