OSDN Git Service

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